Skip to content

Releases: clay/handlebars

Add `try/catch` to `read` helper

15 Jul 14:33
6a8283a
Compare
Choose a tag to compare

Add a try/catch to the read helper. Previously, if a component template tried to read an asset that did not exist, the entire page would fail. Now, a log is sent to clay-log but the page will render as expected.

fix dependency

02 Jun 14:58
b91c0a7
Compare
Choose a tag to compare

moving date-fns to be a dependency (rather than dev-dependency) to fix compatibility issues with other modules such as amphora-html

Upgrading handlebars

01 Jun 18:26
fdf7adc
Compare
Choose a tag to compare

This upgrades handlebars. For some reason, v4.3 of handlebars is special. When the backend (amphora) uses a version > 4.3 and the frontend (kiln) uses a version < 4.3, it goes crazy. This breaking change is to hopefully normalize handlebars at v4.7.6 across all dependencies.

NOTE This was constructed off of v3.3.1 and not off of v4.0.0, so when upgrading from 4.0.0, we might need to do additional testing.

Dependency bump

13 Sep 15:36
Compare
Choose a tag to compare

Bump dependencies for security fix.

Security Patch

08 Aug 17:24
Compare
Choose a tag to compare
v3.2.6

3.2.6

sustainable-sourcing

01 Aug 20:29
Compare
Choose a tag to compare
  • prevent handlebars-template-loader from trying to apply magic to <img src="">

NaNny-State

25 Apr 20:53
Compare
Choose a tag to compare
  • instead of erroring, pass NaN as a string from num #49 (thanks, @byronhulcher!)
  • instead of erroring, return falsy for undefined / null includes

inclusivity

17 Jan 21:25
Compare
Choose a tag to compare
  • BREAKING - includes helper will not throw errors anymore when passed null/undefined/other falsy values. This allows you to use includes against more kinds of user-generated data safely.

clayreadme

08 Nov 22:20
Compare
Choose a tag to compare
  • update readme to reflect new name

clayhandlebars

08 Nov 22:18
Compare
Choose a tag to compare
  • renames nymag-handlebars to clayhandlebars
  • migrates repo from nymag/nymag-handlebars to clay/handlebars