Skip to content

Releases: harttle/liquidjs

v10.4.0

02 Jan 17:42
Compare
Choose a tag to compare

10.4.0 (2023-01-02)

Features

v10.3.3

18 Dec 04:58
Compare
Choose a tag to compare

10.3.3 (2022-12-18)

Bug Fixes

  • type compatible with v9 tag definition, support Context as scope in various render APIs, #570 (fb6a9f8)

v10.3.2

13 Dec 18:17
Compare
Choose a tag to compare

10.3.2 (2022-12-13)

Bug Fixes

v10.3.1

12 Dec 11:49
Compare
Choose a tag to compare

10.3.1 (2022-12-12)

Bug Fixes

  • support Context as evalValue parameter, #568 (0f4916b)

v10.3.0

11 Dec 18:36
Compare
Choose a tag to compare

10.3.0 (2022-12-11)

Features

  • support disable outputEscape for specific filters, #565 (e6db371)

v10.2.0

02 Dec 16:18
Compare
Choose a tag to compare

10.2.0 (2022-12-02)

Bug Fixes

  • case should render multiple when statements (d17813e)

Features

v10.1.0

29 Nov 16:25
Compare
Choose a tag to compare

10.1.0 (2022-11-29)

Features

  • timezone name for opts.timezoneOffset and date argument, fixes #553 (89c6c76)

v10.0.0

27 Nov 09:51
Compare
Choose a tag to compare

10.0.0 (2022-11-27)

chore

Code Refactoring

  • _evalToken renamed to evalToken (4e1a30a)
  • change ownPropertyOnly default value to true (7eb6216)
  • delay creation of operatorsTrie and hide this implementation (bb58d3e)
  • remove toThenable export (ffefd91)
  • remove use of internal Context class in evalValue argument (b115077)

Performance Improvements

  • target Node.js 14 for cjs bundle (main entry) (1f6ce7c)

BREAKING CHANGES

  • evalToken now returns a generator (LiquidJS async), which is different from evalToken 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 to true
  • <liquidjs>.toThenable is removed, use <liquidjs>.toPromise instead
  • evalValue won't support Context as second argument anymore.
  • use operators instead of operatorsTrie as Tokenizer constructor argument, #500
  • keys in <liquidjs>.filters are now in snake case (instead of camel case), identical to that in Liquid template.

v9.43.0

27 Nov 05:50
Compare
Choose a tag to compare

9.43.0 (2022-11-27)

Features

  • support timezone offset argument for date filter, #553 (7a71485)

v9.42.1

21 Oct 16:58
Compare
Choose a tag to compare

9.42.1 (2022-10-21)

Bug Fixes

  • truncatewords should use at least one word, #537 (32f613f)