v0.8.0
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 moduleRequestScopeModule
, 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"