Releases: ArcBees/GWTP
Releases · ArcBees/GWTP
Release 1.6
Release 1.5.1
Release 1.5
MVP
- Add name token configuration to DefaultModule builder
Deprecations
In this release, a new system for the slot mechanism was implemented. Please make sure to read the documentation to learn how it works. This old mechanism should be removed from the release 1.8.
Rest-Dispatch
- Rename 'getEntries
->
getEncodedEntries' - Added support of
@MatrixParam
- Added ability to configure core bindings.
- Move action metadata to
RestAction
. - Create a serialization generator extension point and migrate current classes.
- Added serialization strategy based on Content-Type.
Bugfixes
- Added
fireEvent(Event<?>)
overload to address issue #668 - Fixing Crawler's DAO
Various
- The project now uses Arcbees' checkstyle configuration
Thanks to our contributors!
@Chris-V
@christiangoudreau
@meriouma
@Pacane
@Elrhino
@nmorel
@timeu
@rdwallis
@joelhandwell
@olafleur
@jasonlemay
@jclariviere
Release 1.4
Dispatch
- Split out REST and RPC hooks.
- Introduction of Interceptors. Interceptors can be used to change request and response payloads.
REST
- Explicitly set empty request body to null. Fixes an issue with IE.
- Introduction of a
gwtp-dispatch-rest-shared
artifact to have a better control over classes that can be accessed by a server. - Complete rewrite of the code generators. The new structure support the registration of third-party extensions.
- Using this extension mechanisms, we introduced our first official extension: Resource Delegates
- This extension will allow you to get rid of
RestAction<>
as a return type. More details on the wiki.
- This extension will allow you to get rid of
- Correctly format
@QueryParam
,@FormParam
and@HeaderParam
when a collection is passed.
MVP
- Rewrite of the slot mechanism. The usage is the same, but the API should be more stable and predictive.
- PopupPresenter now accept a PopupPositioner to set their initial position.
- Add registerVisibleHandler to PresenterWidget.
- Make PlaceManagerImpl use Historian instead of History.
- Changed the signature of ViewImpl.initWidget() to accept the more generic IsWidget.
- Added onAttach() and onDetach() methods that can be overridden in ViewImpl to reduce common boilerplate.
- Introduction of a
@CustomProvider
annotation for proxies. This annotation can be used to customize how presenters are created and handed to a proxy.
Various
- Improve stability of version checker when used in SDM or tests
- Fixed various resource leak in generators.
- Removed Guava from most artifacts, except for Dispatch-REST.
Deprecations
- Analytics: the recommended replacement is located in a different artifact at https://github.com/ArcBees/universal-analytics
- Client Action Handlers: You are recommended to use the more flexible Interceptors.
- Removed GinUiBinder from the project. The library has been moved here https://github.com/ArcBees/gwtp-extensions/tree/master/ginuibinder.
PresenterWidget.addToPopupSlot(child, center)
: center has no effect anymore, callPresenterWidget.addToPopupSlot(child)
PopupView.setPosition()
andPopupView.center()
: Use aPopupPositioner
instead.
Thanks to our contributors!
Release 1.3.1
Dispatch REST
- Don't add null parameters to REST dispatch payload
MVP
- Fixed an issue with setCloseHandler in PopupPresenter
Various
- Improve stability of version checker
Release 1.3
GWTP
- Improved Javadoc site
- #14 : ActionException & ServiceException now implement IsSerializable
- #282 : LazyActionHandlerValidatorRegistryImpl is now threadsafe
- #467 : Allow REST and RPC dispatchers to be used at the same time
- #517 : Updated to GWT 2.6.1 and updated DTDs (Thanks rdwallis)
MVP
- Improved form-factor detection (Thanks rdwallis)
- #184 : DefaultModule now has the Builder pattern
- #284 : Add toString() to PlaceRequest
- #346 : Map more than one name token to presenter
- #489 : Added
.without()
to PlaceRequest.Builder to remove parameter from PlaceRequest - #492 : PlaceRequest.Builder(PlaceRequest request) now creates a deep copy
- #499 : Decode embedded paramaters of RouteTokenFormatter (Thanks rdwallis)
RPC
REST Dispatcher
- Updated gwt-jackson to 0.6.1
- #468 : Generate REST services based on the presence of @path. Deprecate RestService interface
- #498 : De/Serializing null/empty should result to null
Release 1.2.1
GWTP
- Display a warning at compilation if there is a newer version of GWTP available
MVP
- This is not backward compatible..
PlaceRequest
,TokenFormatter
,ParameterTokenFormatter
andRouteTokenFormatter
have moved fromcom.gwtplatform.mvp.client.proxy
tocom.gwtplatform.mvp.shared.proxy
. - PresenterWidget methods are no longer final, making it easier to test
- Allow "#!" as delimiter for crawlable route-like place tokens.
- Fixed a bug in encoding of query parameters in route-like place tokens.
- Fixed Analytics' logged URL when using.
- Enabled Analytics in Dev Mode.
REST Dispatcher
- Added a
@NoXsrfHeader
annotation to disable CSRF protection on specific calls. - Added a configuration method to the Gin Module Builder to change the requests timeout.
- Added a configuration methods to the Gin Module Builder to automatically add parameters.
- Added a configuration method to the Gin Module Builder to set a date format for Query, Form and Header parameters.
- Parameters can be configured for specific HTTP methods (POST, GET, etc.)
- Added a
@DateFormat
annotation to set the date format of specific fields in your service interface. - Fixed an issue with composition of service interface.
Release 1.1.1
REST Dispatcher
- Fix mapper provider imports when there are no mappers (#393)
- Added support for @consumes and absolute REST url (#396)
- Updated gwt-jackson to 0.4.0
Release 1.1
REST Dispatcher
gwtp-dispatch-rest
- Replaced Piriti by gwt-jackson
- Removed missing jax-rs annotation from the compile report
- Added extension points and interfaces
- Moved some code from the
RestDispatch
implementation toRestDispatchCall
gwtp-dispatch-client
- Renamed artifact to gwtp-dispatch-rpc-client
- Moved classes to
com.gwtplatform.dispatch.rpc.client.*
- The old classes are still there but are deprecated. If you wish to stay up to date and prevent future migration issues, make sure you use the classes available in
com.gwtplatform.dispatch.rpc.client.*
- Added extension points and interfaces
- Moved some code from the
DispatchAsync
implementation toRpcDispatchExecuteCall
andRpcDispatchUndoCall
. They have the same extensions pointsDispatchAsync
previously had
gwtp-dispatch-server
- Renamed artifact to gwtp-dispatch-rpc-server
- Moved classes to
com.gwtplatform.dispatch.rpc.server.*
- The old classes are still there but are deprecated. If you wish to stay up to date and prevent future migration issues, make sure you use the classes available in
com.gwtplatform.dispatch.rpc.server.*
gwtp-dispatch-server-guice
- Renamed artifact to gwtp-dispatch-rpc-server-guice
- Moved classes to
com.gwtplatform.dispatch.rpc.server.guice.*
- The old classes are still there but are deprecated. If you wish to stay up to date and prevent future migration issues, make sure you use the classes available in
com.gwtplatform.dispatch.rpc.server.guice.*
gwtp-dispatch-server-spring
- Renamed artifact to gwtp-dispatch-rpc-server-spring
- Moved classes to
com.gwtplatform.dispatch.rpc.server.spring.*
- The old classes are still there but are deprecated. If you wish to stay up to date and prevent future migration issues, make sure you use the classes available in
com.gwtplatform.dispatch.rpc.server.spring.*
gwtp-dispatch-shared
- Renamed artifact to gwtp-dispatch-rpc-shared
- Moved classes to
com.gwtplatform.dispatch.rpc.shared.*
- The old classes are still there but are deprecated. If you wish to stay up to date and prevent future migration issues, make sure you use the classes available in
com.gwtplatform.dispatch.rpc.shared.*
Additions
- Created 2 new artifacts gwtp-dispatch-common-shared and gwtp-dispatch-common-client. They contain code (ie:
DispatchCall
abstraction) shared by both the REST and RPC dispatch projects.