Skip to content

Releases: bigcommerce/paper

v3.0.0-rc.3

08 May 21:44
7245502
Compare
Choose a tag to compare
v3.0.0-rc.3 Pre-release
Pre-release
  • Major refactor, moving rendering functionality into paper-handlebars #130 to
    allow for alternate template engines.

v3.0 Contains several breaking changes:

  • Removed the direct access of contentServiceContext for setting page content. From now on, use setContent()
    and getContent().
  • Removed direct access of siteSettings and themeSettings. From now on, use getSiteSettings(), setSiteSettings(),
    getThemeSettings(), and setThemeSettings() if you need to get/set these values after calling the constructor.
  • Removed getTemplateProcessor(). This is an internal concern of paper-handlebars and is used by loadTemplates.
  • Removed loadTemplatesSync(). This was only used by helper tests and is no longer needed.
  • Removed handlebars instance variable. Hopefully nobody is accessing that directly. Any helpers that were accessing
    it have been updated in paper-handlebars to use the global context they are given rather than accessing Paper
    directly at all.
  • The translator attribute has been moved to paper-handlebars and is no longer accessible directly on Paper.
  • The decorators attribute has been moved to paper-handlebars and is no longer accessible directly on Paper.
  • The settings attribute has been renamed to siteSettings. This should only be accessed by paper-handlebars.
  • The cdnify() function has been moved into a helper library in paper-handlebars.
  • The inject attribute has been removed. This is storage used by two of the helpers, and the implementation has
    moved to paper-handlebars.

3.0.0-rc.1

24 Jan 20:27
5c374b9
Compare
Choose a tag to compare
3.0.0-rc.1 Pre-release
Pre-release

Refactor rendering functionality into paper-handlebars #130 to allow for alternate template engines.

v3.0 Contains several breaking changes:

  • Removed the direct access of contentServiceContext for setting page content. From now on, use addContent() and getContent().
  • Removed getTemplateProcessor(). This is an internal concern of paper-handlebars and is used by loadTemplates.
  • Removed loadTemplatesSync(). This was only used by helper tests and is no longer needed.
  • Removed handlebars instance variable. Hopefully nobody is accessing that directly. Any helpers that were accessing it have been updated in paper-handlebars to use the global context they are given rather than accessing Paper directly at all.
  • The translator attribute has been moved to paper-handlebars and is no longer accessible directly on Paper.
  • The decorators attribute has been moved to paper-handlebars and is no longer accessible directly on Paper.
  • The settings attribute has been renamed to siteSettings. This should only be accessed by paper-handlebars.
  • The cdnify() function has been moved into a helper library in paper-handlebars.
  • The inject attribute has been removed. This is storage used by two of the helpers, and the implementation has moved to paper-handlebars.

v2.0.7

22 Dec 01:02
Compare
Choose a tag to compare
  • Always render region wrapper even if no content is present #128

v2.0.6

22 Dec 01:01
Compare
Choose a tag to compare
  • Fix a bug in the replace helper #127

v2.0.5

22 Dec 01:00
Compare
Choose a tag to compare
  • Added support to use operators in the unless helper #126
  • Fix a bug in the replace helper #125

v2.0.4

22 Dec 00:59
Compare
Choose a tag to compare
  • Lodash deprecated method replaced #121
  • Added a test to first helper #120

v2.0.3

22 Dec 00:58
Compare
Choose a tag to compare
  • Add region helper to render content blocks #118

v2.0.2

22 Dec 00:57
Compare
Choose a tag to compare
  • Bug fix in the stylesheet helper #116

v2.0.1

22 Dec 00:54
Compare
Choose a tag to compare
  • Adds the {{thumbnailImage}} helper and removes the non-existent {{thumbnail}} helper #114

v2.0.0

22 Dec 00:52
Compare
Choose a tag to compare
  • Remove configId from cdn/assets urls for preventing busting the cached assets when configId changes #112
  • Update docs to describe the interface required by paper for assembler and callbacks #111
  • Adds and exposes the helpers we've selected from the handlebars-helpers library #110