Skip to content

v0.8.0

Compare
Choose a tag to compare
@schleichardt schleichardt released this 20 Jul 07:39
· 410 commits to master since this release

Technical

  • Rework of most of the factories, now they are easier to override without losing the setting from the base class (breaking changes)
  • support of view components which "know" their template, see also https://github.com/commercetools/commercetools-sunrise-theme/pull/420/files
  • HandlebarsFactory can be overridden to attach new helpers or other Handlebars settings
  • by default SphereClient is request scoped, if you need it outside (should rarely happen) use
@Inject
@Named("global")
private SphereClient client;
  • FutureUtils has been removed, use CompletableFutureUtils instead
  • RequestScoped DI scope is now bound in the module RequestScopeModule, so in order to be able to use it you'll need to add to application.conf:
play.modules.enabled += "com.commercetools.sunrise.common.contexts.RequestScopeModule"