Skip to content

v1.0.0-M9

Compare
Choose a tag to compare
@lauraluiz lauraluiz released this 04 Dec 11:30
· 18 commits to master since this release
  • [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.