Skip to content

v0.13.0

Compare
Choose a tag to compare
@lauraluiz lauraluiz released this 04 Nov 11:34
· 163 commits to master since this release

Features

  • Fixed bug that prevented the application from providing a CSRF Token on empty session data.

Technical

  • Deprecated method getCsrfToken from SunriseFrameworkController in favor of CSRF.getToken from Play Framework's CSRFFilter.
  • MoneyContext used in bean factories are easier to override. They are always used by calling a protected method getMoneyContext, which can be overridden as needed. This is a temporary solution before the injected version is available.
  • PageMetaFactory class is adapted to the standard bean factory structure.
  • PageMetaFactory is no longer injected via field injection to SunriseFrameworkController, but injected under demand. This makes testing easier with less required bindings.
  • HTTP Context is now kept when triggering PageDataReadyHook in SunriseFrameworkController and when rendering the template in SunriseHomeController. This could have raised under certain circumstances a No HTTP Context available error when implementing new features.