2
Migrate to 9
Francois edited this page 2019-10-16 09:31:55 +02:00

LiquidJS 9.0.0 has some fundamental improvements, including bugfixes, new features and performance improvement due to higher target(see #137). There're also some breaking changes.

Features:

  • Sync rendering: renderSync, parseAndRenderSync, renderFileSync
  • New utils: Expression

Fixes:

  • Rewrite boolean expression evaluation order, #130
  • break and continue tags omitting output before them, #123
  • Fixes errors in reactjs demo during yarn install, #145
  • promise typed Drops are not await-ed some times

BREAKING CHANGE:

  • Liquid is no longer a default export, use import {Liquid} from 'liquidjs' instead, Liquid in the UMD bundle is also changed to window.liquidjs.Liquid
  • The duplicate Liquid.evalValue is removed, use liquid.evalValue instead
  • Shipped 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)