Skip to content

Latest commit

 

History

History
531 lines (287 loc) · 22.4 KB

CHANGELOG.md

File metadata and controls

531 lines (287 loc) · 22.4 KB

6.0.2 (2024-10-08)

Bug Fixes

  • STRF-12532 Set Access has been denied to resolve the property message to info level (#333) (17ad67d)

6.0.1 (2024-09-26)

Bug Fixes

  • STRF-12234 Make moment.js to warn instead of error (#331) (bd1a333)

6.0.0 (2024-08-19)

Features

  • STRF-11900 Drop node 18, add node 20, 22 (#324) (26341d2)

BREAKING CHANGES

  • Drop Node 16, 18 Support

5.11.3 (2024-08-06)

Bug Fixes

  • add precompile error for renderString (#322) (06d3580)

5.11.2 (2024-07-30)

Bug Fixes

  • STRF-12276 Remove compile method from hbs renderer (#320) (241747a)

5.11.1 (2024-07-24)

Bug Fixes

  • storefront: STRF-12281 Noop commit (#318) (d5fdee5)
  • storefront: STRF-12281 Prevent block and partial helpers from being named prototype methods (#317) (acb33f7)

5.11.0 (2024-07-22)

Features

  • STRF-12284 Add dependabot (8f0b95e)

5.10.4 (2024-06-10)

Bug Fixes

  • storefront: STRF-11941 Remove quotes from nonce (#309) (8554933)

5.10.3 (2024-05-30)

Bug Fixes

  • storefront: STRF-11941 Empty commit for release (84e9221)

5.10.2 (2024-04-15)

Bug Fixes

5.10.1 (2024-03-14)

Bug Fixes

  • strf-11673 Wrap nonce into SafeString (#301) (2580ddd)

5.10.0 (2024-03-12)

Features

5.9.6 (2023-12-01)

Bug Fixes

  • make fallback case explicit in unit tests (#296) (2cacbed)

5.9.5 (2023-09-18)

Bug Fixes

  • STRF-11164 bump handlebars v4 to 4.7.8 (#293) (3ddaec0)

5.9.4 (2023-08-25)

Bug Fixes

  • STRF-9936 Replaced outdated date.js with chrono (#289) (9675357)

5.9.3 (2023-08-15)

Bug Fixes

  • merc: REVERT MERC-9364 Use CDN Original images (be4dfdb)

5.9.2 (2023-08-15)

Bug Fixes

5.9.1 (2023-08-11)

Bug Fixes

  • STRF-11050 Fix pipeline by forking semantic-release-github-pullrequest (#283) (769c7ad)

5.9.0 (2023-07-20)

Features

  • Support Cache control for webdav images (d76be48)

5.8.0 (2023-07-20)

Features

5.7.8 (2023-06-15)

Bug Fixes

  • STRF-10878 Fix money symbol position when setting is capitalized (#271) (413aba1)

5.7.7 (2023-05-09)

Bug Fixes

  • fixes cdn helper early hint construction (#269) (9955e92)

5.7.6 (2023-04-07)

Bug Fixes

  • STRF-10493 Address markdown helper messy logs (#266) (b12710a)

5.7.5 (2023-03-29)

Bug Fixes

5.7.4 (2023-03-17)

Bug Fixes

  • Improve strReplace to remove characters (#259) (95ae182)

5.7.3 (2023-03-17)

Bug Fixes

5.7.2 (2023-03-15)

Bug Fixes

  • STRF-10494 last and first helpers works with strings (#254) (51f341e)

5.7.1 (2023-03-15)

Bug Fixes

  • STRF-10494 last and first helpers works with strings (#252) (67fe238)

5.7.0 (2023-03-14)

Features

5.6.0 (2023-03-14)

Features

  • STRF-10408 Categorize validaiton error as ValidationError (#249) (9917efe)

5.5.0 (2023-02-09)

Features

5.4.3 (2023-02-08)

Bug Fixes

5.4.2 (2023-02-07)

Bug Fixes

  • STRF-9673 Lodash removal fixes, part 2 (#242) (2c8e201)

5.4.1 (2023-02-03)

Bug Fixes

  • STRF-9673 Fix null params passed to helpers (#240) (a79c648)

5.4.0 (2023-02-02)

Features

5.3.0 (2023-02-01)

Features

  • strf-9673 Remove lodash from paper-handlebars deps (#237) (1df2eef)

5.2.9 (2022-12-02)

Bug Fixes

  • STRF-10188 adds logs at early hint generation calls (#232) (59bdcf4)

5.2.8 (2022-11-17)

Bug Fixes

  • STRF-10180 Improve titleize and length helpers edge cases (#230) (c454907)

5.2.7 (2022-11-04)

Bug Fixes

  • STRF-10198 Accept only strings for lang helper output (#228) (a73ff5a)

5.2.6 (2022-10-27)

Bug Fixes

  • STRF-10175 Allow only strings passed to partial and block helpers (#226) (3e2d147)

5.2.5 (2022-10-21)

Bug Fixes

  • STRF-10120 getFontsCollection helper hint should be of type style not font (#224) (b59c475)

5.2.4 (2022-10-21)

Bug Fixes

  • STRF-10157 Ignore case in sentence case rule (#222) (2e3a02b)

5.2.3 (2022-10-20)

Bug Fixes

  • STRF-10157 Fix sending event data to paper repo (#220) (d416c0b)

Changelog

Unreleased

5.1.7

  • fix: preload hints nested templates returning undefined paths ([#212])[#212]
  • feat: bundle library to js file ([#211])[#211]

5.1.6

  • ref: STRF-10124 Clean up handlebars dependencies ([#209])[#209]

5.1.5

  • feat: preload hints generation, as attribute properly implemented

5.1.4

  • fix: STRF-10122 Fix forEach, withFirst helpers makeIterator utils([#203])[#203]

5.1.3

  • fix: STRF-10122 Fix inArray helper, when array is undefined ([#201])[#201]

5.1.2

  • investigate google fonts css uri encoding issue ([#197])[#197]
  • Add original stack trace to render error ([#198])[#198]
  • Import 3rd part handlebars helpers and utiliy function to support them ([#195])[#195]

5.1.1

  • removes type attribute of earlyHint helper (#193)

5.1.0

  • enable optional resource hint generation in stylesheet helper(#187)
  • enable optional resource hint generation in getFontsCollection helper (#188)
  • enable optional resource hint generation in cdn helper(#189)
  • introduce new earlyHint helper (#190)

5.0.6

  • bugfix for edge case affecting get, getObject, and option (#185)

5.0.5

  • setup to replace get & getObject helpers (#183)

5.0.4

  • patch for helper-date 0.2.3 compatibility (#180)

5.0.3

  • bugfix & setup to replace 3p helpers incrementally: moment and option (#178)

5.0.2

  • Fix replacement get and option helpers for backwards-compatibility (#173)
  • get now fully supports property paths constructed using concat

5.0.1

  • fix: STRF-9873 use modified implementations of get, getObject, moment, option 3p helpers (#171)

5.0.0

  • feat: STRF-9791 drop node 12 support (#169)

5.0.0

  • feat: STRF-9791 drop node 12 support (#169)

4.6.0

  • fix: STRF-9835 Reduce proto usage (#167)

4.5.5

  • feat: STRF-9707 Improve money helper to support input params (#164)

4.5.4

  • String replace helper with more options (#156)

4.5.3

  • Bump lodash version to 4.17.21 (#161)

4.5.2

  • Add log level variable to control log helper (#158)

4.5.1

  • Support floats for assignVar/getVar (#152)
  • Stop testing on node 10, start testing on node 14, release on 14 (#151)

4.5.0

  • Add getImageSrcset1x2x helper (#149)

4.4.9

  • Fix concat helper to have consistency with cdn helper (#144)
  • Release stencil paper handlebars through github release (#145)
  • SafeString object is taken only from global handlebars object (#146)

4.4.8

  • Add support for region translations data attribute

4.4.7

  • Replaced URL constructor with url.parse

4.4.6

  • Removed path and fs modules from helpers.js, so it can be run on non-Nodejs environment

4.4.5

  • Reverted escaping injected values
  • Fix concat function to return SafeString object

4.4.4

  • Escape injected values

4.4.3

  • Lift occurrences helper from handlebars-helpers

4.4.2

  • Rollback loadash removal PR's to have a clean pipeline

4.4.1

  • Update handlebars 3.x and 4.x to latest

4.4.0

  • Add "assignVar", "getVar", "incrementVar", "decrementVar" helpers
  • Add "getContentImage, "getContentImageSrcset", "getImageManagerImage", "getImageManagerImageSrcset" helpers

4.3.2

  • Allow replace helper to accept a SafeString as an argument

4.3.1

  • Add support for arguments on encodeHtmlEntities helper

4.3.0

  • Add encodeHtmlEntities helper

4.2.3

  • Add ability to pass logger. Will be used for library as well as handlebars. Must conform to console interface (info, error, log, etc). Defaults to console object.

4.2.2

  • Fix addTemplates logic in order to not lose templates on renderTheme function for Stencil CLI

4.2.1

  • Allow json helper to accept a SafeString as an argument
  • Move SafeString unwrapping to common module

4.2.0

  • 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

4.1.2

  • Allow stripQuerystring to accept a Safestring as an argument
  • Refactor getImage helper to return image URL as SafeString instead of string

4.1.1

  • Revert usage of SafeString on getImage

4.1.0

  • 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

4.0.9

  • 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

4.0.8

  • Update handlebars v4 to latest
  • Update handlebars v3 to latest

4.0.7

  • 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

4.0.6

  • Change default behavior of {{getFontsCollection}} to use font-display: swap for Google Fonts and allow configuration

4.0.5

  • Fix regex performance to match precompiled templates.

4.0.4

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

4.0.3

  • Fix resourceHints to use https for font providers

4.0.2

  • Fix region helper not rendering with an empty page content

4.0.1

  • Fix cdnify to avoid double slash in the genrated url.

4.0.0

  • Change render and renderString to return Promises instead of synchronous results.

3.0.3

  • Add support for gtnum in if helper.

3.0.2

  • Add getFontLoaderConfig and resourceHints helpers.

3.0.1

  • Fix cdn and stylesheet helpers to pull latest siteSettings and themeSettings

3.0.0

  • Change addContent() to setContent() for consistency with other setters.
  • Add getter and setter for siteSettings and themeSettings, and change helper context to use a bound function for accessing these data to allow for deferred setting. Callers should no longer access siteSettings and themeSettings directly.

2.0.0

  • Change error handling to throw custom errors instead of swallowing the error and logging. This gives the caller the opportunity to take action based on the error condition.
  • Remove logging interface since we don't use it anymore.

1.0.0

  • Initial extraction from stencil-paper