- Support floats for assignVar/getVar (#152)
- Stop testing on node 10, start testing on node 14, release on 14 (#151)
- Add getImageSrcset1x2x helper (#149)
- 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)
- Add support for region translations data attribute
- Replaced URL constructor with url.parse
- Removed path and fs modules from helpers.js, so it can be run on non-Nodejs environment
- Reverted escaping injected values
- Fix concat function to return SafeString object
- Escape injected values
- Lift
occurrences
helper from handlebars-helpers
- Rollback loadash removal PR's to have a clean pipeline
- Update handlebars 3.x and 4.x to latest
- Add "assignVar", "getVar", "incrementVar", "decrementVar" helpers
- Add "getContentImage, "getContentImageSrcset", "getImageManagerImage", "getImageManagerImageSrcset" helpers
- Allow replace helper to accept a SafeString as an argument
- Add support for arguments on encodeHtmlEntities helper
- Add encodeHtmlEntities helper
- 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.
- Fix addTemplates logic in order to not lose templates on renderTheme function for Stencil CLI
- Allow json helper to accept a SafeString as an argument
- Move SafeString unwrapping to common module
- 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
- Allow stripQuerystring to accept a Safestring as an argument
- Refactor getImage helper to return image URL as SafeString instead of string
- Revert usage of SafeString on getImage
- 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
- 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
- Update handlebars v4 to latest
- Update handlebars v3 to latest
- 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
- Change default behavior of {{getFontsCollection}} to use font-display: swap for Google Fonts and allow configuration
- Fix regex performance to match precompiled templates.
- Added trimming of all '.' and '/' from begginig of cdn path (not full paths)
- Fix resourceHints to use https for font providers
- Fix region helper not rendering with an empty page content
- Fix cdnify to avoid double slash in the genrated url.
- Change render and renderString to return Promises instead of synchronous results.
- Add support for gtnum in if helper.
- Add getFontLoaderConfig and resourceHints helpers.
- Fix cdn and stylesheet helpers to pull latest siteSettings and themeSettings
- 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.
- 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.
- Initial extraction from stencil-paper