9.0.0 released with sync API support!
Published on September 14, 2019 by Jun Yang
Sync rendering is now supported for all builtin tags, we released v9.0.0 with some other features and bugfixes, as well as better TypeScript support. New features including renderFileSync, parseAndRenderSync, parseFileSync, renderSync, bugfixes including #123, #145 are all published in v9.
Bug Fixes
- break/continue omitting output before them, #123 (ae45c46)
- reactjs demo during yarn install, fixes #145 (b65df44)
Code Refactoring
- return value of Tag#render is no longer used (8028f82)
Features
Performance Improvements
BREAKING CHANGES
- Tag#render now returns void, use emitter argument to write rendered html.
- ship to Node.js 8, the dist/liquid.cjs.js (main) nolonger supports Node.js 6, other bundles are also provided via dist/liquid.esm.js, dist/liquid.js (ES5 umd) and liquid.min.js (minified ES5 umd)
- remove default export, now should be used like import {Liquid} from 'liquidjs'