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
final
fromHttpAuthenticationFilter
to allow overriding
v0.24.2
v0.24.1
v1.0.0-M9.2
- [FIX] Removed
final
fromnewViewModelInstance()
method inPageHeaderFactory
class 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
saveMessage
method toSunriseController
andextractMessages
toViewModelFactory
to allow saving and displaying a message of a certain type to the user. - [NEW]
Project
instance can be injected. - [CHANGE] Some bindings have been moved to injection modules that are enabled by default:
SphereClient
,SphereClientConfig
->SphereClientModule
CmsService
,TemplateEngine
,I18nResolver
->ThemeModule
Locale
,CountryCode
,CurrencyUnit
->LocalizationModule
- [CHANGE]
ProjectContext
has been moved to packagecom.commercetools.sunrise.ctp.project
. - [CHANGE] Countries, currencies and languages are configured now in path
sunrise.ctp.project
instead ofapplication
. - [FIX] Selectable attribute value is now properly encoded (#649).
- [FIX] Current
Http.Context
getting lost on rendering the template.
v0.24.0
- [CHANGE]
ErrorFormatter#format
method accepts a list of named arguments. - [CHANGE] Constraint errors from Play Framework can be translated using the default bundle (e.g.
@Constraints.Required
uses "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]
SunriseConfiguration
is nowfinal
, as it is not meant to be extended. - [FIX]
SunriseConfiguration
is 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.