This repository was archived by the owner on Jun 20, 2025. It is now read-only.
Releases: commercetools/commercetools-sunrise-java
Releases · commercetools/commercetools-sunrise-java
v1.0.0-M10
- Update JVM SDK to v1.37.0
v0.25.0
v1.0.0-M9.3
- Remove
finalfromHttpAuthenticationFilterto allow overriding
v0.24.2
v0.24.1
v1.0.0-M9.2
- [FIX] Removed
finalfromnewViewModelInstance()method inPageHeaderFactoryclass to allow extending it.
v1.0.0-M9.1
- [FIX] Corrected pagination calculation of total pages, which skipped last page on certain cases (#695).
v1.0.0-M9
- [NEW] Implemented "Discount Code" functionality, with controllers
AddDiscountCodeController,RemoveDiscountCodeController, - [NEW] Added
saveMessagemethod toSunriseControllerandextractMessagestoViewModelFactoryto allow saving and displaying a message of a certain type to the user. - [NEW]
Projectinstance can be injected. - [CHANGE] Some bindings have been moved to injection modules that are enabled by default:
SphereClient,SphereClientConfig->SphereClientModuleCmsService,TemplateEngine,I18nResolver->ThemeModuleLocale,CountryCode,CurrencyUnit->LocalizationModule
- [CHANGE]
ProjectContexthas been moved to packagecom.commercetools.sunrise.ctp.project. - [CHANGE] Countries, currencies and languages are configured now in path
sunrise.ctp.projectinstead ofapplication. - [FIX] Selectable attribute value is now properly encoded (#649).
- [FIX] Current
Http.Contextgetting lost on rendering the template.
v0.24.0
- [CHANGE]
ErrorFormatter#formatmethod accepts a list of named arguments. - [CHANGE] Constraint errors from Play Framework can be translated using the default bundle (e.g.
@Constraints.Requireduses "error.required" message key, which is then transformed to "main:error.required"). The complete list of errors generated in Play Framework can be found inmessages.default. - [FIX] Form errors and messages generated in Sunrise are now a i18n message key instead of the previous English version. The complete list of message keys can be found in
messages.yaml.
v1.0.0-M8
- [CHANGE]
SunriseConfigurationis nowfinal, as it is not meant to be extended. - [FIX]
SunriseConfigurationis keeping an instance of the same class when getting a nested configuration, instead of returning a simpleConfiguration. - [FIX] Some bugs of both slider and bucket range facets have been fixed.