Skip to content

v0.4.0

Compare
Choose a tag to compare
@lauraluiz lauraluiz released this 05 Feb 15:47
· 1067 commits to master since this release

Features

Configuration

  • Enabled all configurable options when deploying Sunrise as a Heroku application.
  • Provided possibility to enable HTTP basic access authentication via configuration.
  • Forces to set application secret and auto-generates it for Heroku.
  • Documented:
    • Explanation of template structure
    • How to do basic modifications on template's HTML and web assets
    • How to do advanced modifications on template and i18n source loaders
  • Provides SBT task to copy template files (i.e. template sources and i18n YAML files) into /conf, so that it is easier to override them.

Technical

  • Improved performance thanks to:
    • Introducing configuration to enable/disable metrics
    • Not using random suggestions, instead fetch exactly the amount it is shown
    • Updating to Sunrise Template v0.51.0, which introduces many performance improvements
    • Updating to Handlebars Java 4.0.3, with cache improvements, and other Handlebars related work
    • Cleaning up code and some small (in size, not necessarily in impact) optimizations.
  • Tests with a running Play's application or with test servers are easier to build using WithSunriseApplication test class.
  • Injects custom configuration class that allows to parse some comma-separated text as a list. This allows an easy configuration from Heroku without forcing to change the way the app provides lists.
  • Done rebranding from SPHERE.IO to commercetools