Skip to content

Release 1.4

Compare
Choose a tag to compare
@Chris-V Chris-V released this 20 Jan 20:41
· 271 commits to master since this release

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.
  • 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

Thanks to our contributors!