10.3.2 (2022-12-13)
10.3.1 (2022-12-12)
10.3.0 (2022-12-11)
10.2.0 (2022-12-02)
case
should render multiplewhen
statements (d17813e)
10.1.0 (2022-11-29)
10.0.0 (2022-11-27)
- rename filters to snake style, #487 (ff112a4)
_evalToken
renamed toevalToken
(4e1a30a)- change
ownPropertyOnly
default value totrue
(7eb6216) - delay creation of
operatorsTrie
and hide this implementation (bb58d3e) - remove
toThenable
export (ffefd91) - remove use of internal
Context
class inevalValue
argument (b115077)
- target Node.js 14 for cjs bundle (main entry) (1f6ce7c)
evalToken
now returns a generator (LiquidJS async), which is different fromevalToken
in previous LiquidJS versions.- main entry need Node.js>=14 to run, you can build LiquidJS by your own by using ESM entry.
ownPropertyOnly
default value changed totrue
<liquidjs>.toThenable
is removed, use<liquidjs>.toPromise
insteadevalValue
won't supportContext
as second argument anymore.- use
operators
instead ofoperatorsTrie
as Tokenizer constructor argument, #500 - keys in
<liquidjs>.filters
are now in snake case (instead of camel case), identical to that in Liquid template.
9.43.0 (2022-11-27)
9.42.1 (2022-10-21)
9.42.0 (2022-08-27)
9.41.0 (2022-08-24)
9.40.0 (2022-08-14)
9.39.2 (2022-07-21)
9.39.1 (2022-07-14)
9.39.0 (2022-07-09)
- iteration protocols (a19feea)
9.38.0 (2022-07-07)
9.37.0 (2022-04-21)
9.36.2 (2022-04-19)
9.36.1 (2022-04-17)
- contains operator does not support Drop, fixes #492 (9e024ff)
- responsive header (a56af6b)
- use
createRequire
for ESM, fixes #334 (eec381e)
9.36.0 (2022-03-05)
- Access array item by negative index, closes #486 (049685b)
- allow strip filter with specified char, closes #390 (c503cb2)
- appropriate error for malformed filters, fixes #271 (01014ed)
9.35.2 (2022-03-02)
- corner case for concat filter without argument, #481 (aa95517)
- export all builtin tags from LiquidJS, #464 (33009bb)
9.35.1 (2022-02-26)
9.35.0 (2022-02-23)
9.34.1 (2022-02-20)
- array output now join with "" instead of "," (ab5e245)
- sort filter unexpectedly modifies original array, #475 (dbc0497)
9.34.0 (2022-01-28)
9.33.1 (2022-01-19)
- liquidjs.version on npm package (53824a2)
9.33.0 (2022-01-19)
9.32.1 (2022-01-12)
- remove limit on operator char length (7677f84)
9.32.0 (2022-01-02)
9.31.0 (2021-12-19)
9.30.0 (2021-12-18)
9.29.0 (2021-12-11)
9.28.6 (2021-12-07)
- size filter does not respect Objects, fixes #385 (6c11426)
- throws when using
preserveTimezones
on Node.js, fixes #431 (e2ef236)
9.28.5 (2021-11-05)
- always allow './' and '../' to be relative, even on windows (44f6b52)
9.28.4 (2021-10-31)
9.28.3 (2021-10-27)
9.28.2 (2021-10-16)
9.28.1 (2021-10-16)
9.28.0 (2021-10-06)
- skip root check for renderFile() (822ba0b)
- support timezoneOffset for date from scope, #401 (fd5ef47)
relativeReference
for render/include/layout, #395 (a3455eb)- implement
forloop.name
as found in ruby shopify/liquid (6dc7fad)
9.27.1 (2021-10-04)
9.27.0 (2021-10-03)
- remove "stream" dependency in browser bundles, #396 (3b5eb66)
- renderToNodeStream() now emit 'error' event instead of throw (afeef1d)
- add
layouts
,partials
apart fromroot
, #395 (b9ae479) - renderFileToNodeStream(filepath, scope) (68c4cfc)
- make the most of streamed rendering (aea3441)
9.26.0 (2021-09-30)
- orderedFilterParameters, closes #312 (10e8c8f)
- stream rendering, closed #361 fixes #360 (9012133)
- timezoneOffset option to specify output timezone, see #375 (6b9f872)
- improve performance by 4x by simplified parseFile (24f5346)
- parse filenames in parse() insteadof render() (8273c17)
9.25.1 (2021-06-20)
- add cross-engines benchmark (cdceb25)
9.25.0 (2021-05-07)
- when tag with multiple values (8f9639f)
9.24.2 (2021-05-04)
9.24.1 (2021-05-01)
- make LiquidError context property public (1fd76ac)
9.24.0 (2021-05-01)
- add context as a property on the LiquidError error (9c7cb57)
- export errors for better error handling in user-land (4e394b9)
9.23.4 (2021-04-17)
9.23.3 (2021-03-21)
- expose TokenKind (dbc23e8)
9.23.2 (2021-03-13)
- comparison for empty/nil, fixes #321 (99d14e7)
- newline_to_br filter should output
instead of
, fixes #320 (9a9b792)
9.23.1 (2021-02-19)
9.23.0 (2021-02-12)
- support filters in if/unless/case, see #287 (2f059f6)
- support function calls, closes #222 (e37824f)
- support layout none, closes #299 (81e11bb)
9.22.1 (2021-02-05)
- default to precedence 1 for custom operators (20f559e)
9.22.0 (2021-02-04)
- compact filter (f42c217)
9.21.0 (2021-02-04)
- add
operators
option for custom operators (75591cd) - create trie programmatically in options (befc33c)
- export OperatorMap type (bc87e19)
- export Operators from operator.ts (6a7c280)
- rename to defaultOperators and Operators (8734e2e)
9.20.1 (2021-01-24)
9.20.0 (2021-01-23)
9.19.0 (2020-12-18)
- lint (de32259)
- move offset adding complexity inside TimezoneDate (26b2175)
- simpler timezone regex and non-null offset (e3ecfe3)
9.18.0 (2020-12-17)
- address refactor comments (6a0ad10)
- add option for keeping variable type in output (cd92e77)
9.17.0 (2020-12-07)
- elsif is not supported for unless, fixes #268 (2bbf501)
- enforce string-type pattern in
replace
, fixes #243 (c8afa39) - raw block not ignoring {% characters, fixes #263 (a492d8e)
9.16.1 (2020-10-09)
- braced property access (18a807e)
9.16.0 (2020-10-08)
9.15.1 (2020-10-03)
9.15.0 (2020-08-04)
9.14.1 (2020-07-08)
9.14.0 (2020-06-25)
- setup universal browser and node builds (6cf6ffa)
9.13.0 (2020-06-25)
9.12.0 (2020-05-15)
9.11.11 (2020-05-01)
9.11.10 (2020-04-03)
- respect cache render options (a93f11d)
9.11.9 (2020-03-31)
- coerce to Array in
map
andwhere
filter (c923598)
9.11.8 (2020-03-31)
9.11.7 (2020-03-28)
- try fix travis (b3db412)
9.11.6 (2020-03-25)
- default filter not applied for empty array (c371762)
9.11.5 (2020-03-24)
9.11.4 (2020-03-23)
- return variable name in include error (93433a8)
9.11.3 (2020-03-14)
9.11.2 (2020-03-14)
- remove transient strings to reduce memory (3dfdf98)
9.11.1 (2020-03-09)
9.11.0 (2020-03-04)
Buffer not defined
for browser bundles, fixes #197 (65b849c)- stable sort for undefined keys, fixes #191 (f57156b)
- async cache.read()/write(), remove .has() (61dac49)
9.10.0 (2020-03-03)
9.9.0 (2020-03-02)
9.8.0 (2020-02-20)
9.7.2 (2020-02-20)
- add funding entry to show up in npm fund command (40095a8)
9.7.1 (2020-02-19)
- update index.html (22386b0)
9.7.0 (2020-02-07)
9.6.2 (2020-01-10)
- prevent multiple case evaluations (807e840)
9.6.1 (2020-01-04)
- add
this
to fs references in parseFile (4b079c5)
9.6.0 (2019-12-15)
9.5.0 (2019-12-12)
9.4.2 (2019-11-15)
9.4.1 (2019-11-15)
9.4.0 (2019-11-14)
- add ability to pass JSON context to CLI (9504e4e)
9.3.1 (2019-11-09)
9.3.0 (2019-11-07)
9.1.1 (2019-10-10)
- add string flattening to reduce retained memory (node only) (3ad512c)
9.1.0 (2019-10-07)
- alias getTemplate() to parseFile() (6b83788)
9.0.1 (2019-10-02)
9.0.0 (2019-08-26)
- break/continue omitting output before them, #123 (ae45c46)
- reactjs demo during yarn install, fixes #145 (b65df44)
- return value of Tag#render is no longer used (8028f82)
- 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'
8.5.3 (2019-08-25)
- escape filter when input is undefined (a00945c)
8.5.2 (2019-08-09)
8.5.1 (2019-08-05)
8.5.0 (2019-08-01)
- CLI support (fc045b5)
8.4.1 (2019-07-22)
8.4.0 (2019-07-06)
8.3.0 (2019-06-27)
8.2.4 (2019-06-17)
- improve getTemplate() when cache is enabled (1ffba2b)
8.2.3 (2019-05-19)
8.2.2 (2019-05-12)
8.2.1 (2019-04-26)
8.2.0 (2019-04-17)
- pass context to filters (00bc1ef)
8.1.0 (2019-04-02)
8.0.3 (2019-04-01)
8.0.2 (2019-03-25)
- use polymophism instead duck test (82d7673)
8.0.1 (2019-03-22)
8.0.0 (2019-03-10)
- use camelCase for JavaScript APIs (64e0c87)
- Options and method names in JavaScript API are now renamed to cammelCase, for a complete list see #109
7.5.1 (2019-03-05)
7.5.0 (2019-03-01)
- tablerowloop object (3647305)
7.4.0 (2019-02-28)
7.3.1 (2019-02-25)
7.3.0 (2019-02-24)
7.2.2 (2019-02-23)
7.2.1 (2019-02-22)
- default length for truncate and truncatewords (56c7992)
7.2.0 (2019-02-20)
trim_value_left
option renamed totrim_output_left
,trim_value_right
option renamed totrim_output_right
7.1.0 (2019-02-20)
- throw an Error if delimiter not matched (c33d8f6)
7.0.0 (2019-02-14)
- TypeScript: ship Liquid to class (1cc7249)
- TypeScript: calling
Liquid()
withoutnew
now becomes invalid
6.4.3 (2019-02-13)
6.4.2 (2019-01-28)
- CI: e2e not building cjs (dde7b3b)
6.4.1 (2019-01-28)
- regenerator undefined (a2caeb5)