Skip to content

Releases: commercetools/commercetools-sunrise-java

v1.0.0-M10

06 Dec 10:37
8840dd8
Compare
Choose a tag to compare
  • Update JVM SDK to v1.37.0

v0.25.0

06 Dec 11:30
Compare
Choose a tag to compare
  • Update JVM SDK to v1.37.0

v1.0.0-M9.3

01 Aug 14:25
Compare
Choose a tag to compare
  • Remove final from HttpAuthenticationFilter to allow overriding

v0.24.2

12 Apr 13:00
Compare
Choose a tag to compare
  • [CHANGE] The default implementations of UserContext and ProjectContext are now public and extendable, to enable modifying their behaviour.

v0.24.1

20 Mar 12:26
Compare
Choose a tag to compare
  • [CHANGE] RequestContext is now an interface.
  • [FIX] RequestContext#buildUrl method encodes the query string parameters.

v1.0.0-M9.2

22 Feb 09:25
Compare
Choose a tag to compare
  • [FIX] Removed final from newViewModelInstance() method in PageHeaderFactory class to allow extending it.

v1.0.0-M9.1

08 Dec 17:22
Compare
Choose a tag to compare
  • [FIX] Corrected pagination calculation of total pages, which skipped last page on certain cases (#695).

v1.0.0-M9

04 Dec 11:30
Compare
Choose a tag to compare
  • [NEW] Implemented "Discount Code" functionality, with controllers AddDiscountCodeController, RemoveDiscountCodeController,
  • [NEW] Added saveMessage method toSunriseController and extractMessages to ViewModelFactory 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 package com.commercetools.sunrise.ctp.project.
  • [CHANGE] Countries, currencies and languages are configured now in path sunrise.ctp.project instead of application.
  • [FIX] Selectable attribute value is now properly encoded (#649).
  • [FIX] Current Http.Context getting lost on rendering the template.

v0.24.0

25 Oct 16:54
Compare
Choose a tag to compare
  • [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 in messages.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

19 Oct 09:35
Compare
Choose a tag to compare
  • [CHANGE] SunriseConfiguration is now final, 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 simple Configuration.
  • [FIX] Some bugs of both slider and bucket range facets have been fixed.