Skip to content

Releases: bigcommerce/paper-handlebars

v4.0.4

05 Feb 01:16
ad71134
Compare
Choose a tag to compare

Added trimming of all '.' and '/' from beginning of cdn path (not full paths)

v4.0.1

30 Oct 20:03
a4b5e30
Compare
Choose a tag to compare

Fix cdnify to avoid double slash in the genrated url.

v4.0.0

30 Oct 22:57
720c6ea
Compare
Choose a tag to compare

Update interface for render and renderString to return Promises rather than synchronous results.

v3.0.3

14 Aug 18:01
52185c8
Compare
Choose a tag to compare
v3.0.3 Pre-release
Pre-release

v3.0.3

  • added under if helpers comparison of number string(#19)

v3.0.0

31 Jan 15:19
734a577
Compare
Choose a tag to compare
  • Add getSiteSettings(), setSiteSettings(), getThemeSettings(), and setThemeSettings() for updating these attributes after constructing the HandlebarsRenderer object
  • Change helpers to access these data using getSiteSettings() and getThemeSettings() which are bound to the parent object's accessors, rather than direct access, which allows callers to defer setting them after the constructor is called.

Breaking Changes

  • Callers should no longer access siteSettings and themeSettings directly.
  • Change addContent() to setContent() for consistency with other setters.

v2.0.0

24 Jan 01:14
e49a7f7
Compare
Choose a tag to compare
  • Instead of swallow and log, throw custom exceptions to the caller so they can take action based on the error condition
  • Remove logging interface since we no longer use it

Initial Release

11 Jan 21:21
b3a13db
Compare
Choose a tag to compare

Initial Release

  • Supports renderer plugin interface for Paper 3.0
  • Supports both Handlebars v3 and v4.
  • Contains helpers extracted from Paper, with code improvements and new helper registration mechanism
  • Numerous code improvements and added test coverage