Skip to content

Releases: bigcommerce/paper-handlebars

v4.2.1

06 Aug 19:28
e1c22a5
Compare
Choose a tag to compare
Merge pull request #74 from bookernath/bump-4.2.1

Bump paper-handlebars to 4.2.1

v4.2.0

30 Jul 19:18
e37e149
Compare
Choose a tag to compare
  • Add setURLQueryParam helper
  • Make getImageSrcset not generate default srcsets larger than the original image when the dimensions are known
  • Make getImage not generate an image larger than the dimensions of the original image if the dimensions are known

v4.1.2

26 Jul 23:36
cd30ddc
Compare
Choose a tag to compare
Merge pull request #68 from bookernath/safestring-getimage

Put getImage safestring back, release 4.1.2

v4.1.1

12 Jul 15:45
3ae6a85
Compare
Choose a tag to compare
  • Revert usage of SafeString on getImage

v4.1.0

10 Jul 21:31
4c73e84
Compare
Choose a tag to compare
  • Upgrade Lodash to 4.17.13
  • Reduce arguments usage where possible
  • Refactor helper functions to use Handlebars utils type checks instead of Lodash type checks
  • Add getImageSrcset helper
  • Refactor getImage helper to return image URL as SafeString instead of string

v4.0.9

30 Jun 22:42
3b27a22
Compare
Choose a tag to compare
  • Revert "Refactor functions away from arguments pattern for better performance" from 4.0.7
  • Revert "Reduce usage of Lodash to improve performance" from 4.0.7

v4.0.8

30 Jun 17:46
1cbc20b
Compare
Choose a tag to compare

Update to latest handlebars (v4 and v3)

v4.0.7

29 Jun 05:12
10706ef
Compare
Choose a tag to compare
  • Remove regex in cdnify.js to improve performance
  • Remove regex in fonts.js for better performance
  • Refactor functions away from arguments pattern for better performance
  • Fix for helper to allow for one iteration
  • Reduce usage of Lodash to improve performance

v4.0.6

29 Jun 05:21
Compare
Choose a tag to compare
  • Change default behavior of getFontsCollection to use font-display: swap for Google Fonts and allow configuration

v4.0.5

14 Feb 23:34
f70d667
Compare
Choose a tag to compare
  • Fix regex performance to match precompiled templates.