semantic-release-bot
964e5e8961
chore(release): 10.3.3 [skip ci]
...
## [10.3.3](https://github.com/harttle/liquidjs/compare/v10.3.2...v10.3.3 ) (2022-12-18)
### Bug Fixes
* type compatible with v9 tag definition, support `Context` as scope in various render APIs, [#570 ](https://github.com/harttle/liquidjs/issues/570 ) ([fb6a9f8 ](https://github.com/harttle/liquidjs/commit/fb6a9f8717cd57522d53687da7e4718b28a7f68a ))
2022-12-18 04:58:05 +00:00
Jun Yang
fb6a9f8717
fix: type compatible with v9 tag definition, support Context as scope in various render APIs, #570
2022-12-18 12:48:06 +08:00
semantic-release-bot
7526d4062d
chore(release): 10.3.2 [skip ci]
...
## [10.3.2](https://github.com/harttle/liquidjs/compare/v10.3.1...v10.3.2 ) (2022-12-13)
### Bug Fixes
* re-export error classes, [#569 ](https://github.com/harttle/liquidjs/issues/569 ) ([2663ee1 ](https://github.com/harttle/liquidjs/commit/2663ee16a066c74cbd387fe40154fdeb2136f35a ))
2022-12-13 18:16:48 +00:00
Harttle and Harttle
2663ee16a0
fix: re-export error classes, #569
2022-12-14 02:14:03 +08:00
Harttle and Harttle
d24655887f
docs: update docs and demo for Value usage, fixes #568
2022-12-14 02:14:03 +08:00
semantic-release-bot
a9f93d7235
chore(release): 10.3.1 [skip ci]
...
## [10.3.1](https://github.com/harttle/liquidjs/compare/v10.3.0...v10.3.1 ) (2022-12-12)
### Bug Fixes
* support `Context` as `evalValue` parameter, [#568 ](https://github.com/harttle/liquidjs/issues/568 ) ([0f4916b ](https://github.com/harttle/liquidjs/commit/0f4916bc5a93f5e744e4246336c68f2e89774272 ))
2022-12-12 11:48:42 +00:00
Harttle and Harttle
0f4916bc5a
fix: support Context as evalValue parameter, #568
2022-12-12 19:41:29 +08:00
semantic-release-bot
f4a033ecea
chore(release): 10.3.0 [skip ci]
...
# [10.3.0](https://github.com/harttle/liquidjs/compare/v10.2.0...v10.3.0 ) (2022-12-11)
### Features
* support disable outputEscape for specific filters, [#565 ](https://github.com/harttle/liquidjs/issues/565 ) ([e6db371 ](https://github.com/harttle/liquidjs/commit/e6db371519f0fb3b0068347cfb2016aed386c8fa ))
2022-12-11 18:35:51 +00:00
Jun Yang
5ac3765612
chore: update liquid options to match raw filters
2022-12-12 02:32:50 +08:00
Jun Yang
e6db371519
feat: support disable outputEscape for specific filters, #565
2022-12-12 02:17:18 +08:00
Jun Yang
a2d949209d
docs: doc for timezone parameter of date filter, #553
2022-12-12 01:35:40 +08:00
dependabot[bot] and Jun Yang
08a0c1322c
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /docs
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-12-03 00:20:10 +08:00
semantic-release-bot
dad75ee877
chore(release): 10.2.0 [skip ci]
...
# [10.2.0](https://github.com/harttle/liquidjs/compare/v10.1.0...v10.2.0 ) (2022-12-02)
### Bug Fixes
* `case` should render multiple `when` statements ([d17813e ](https://github.com/harttle/liquidjs/commit/d17813ef5217264bd08f741b0e1f713bedf2d464 ))
### Features
* add remove_last filter ([6c3f1c1 ](https://github.com/harttle/liquidjs/commit/6c3f1c1e0c0c5d30ef77eaf20df65e149e51e693 ))
* add replace_last filter ([b4d1e27 ](https://github.com/harttle/liquidjs/commit/b4d1e27420fcf36ae6d5dbc92cfe4a26299690f2 ))
2022-12-02 16:18:42 +00:00
Jun Yang
d17813ef52
fix: case should render multiple when statements
2022-12-03 00:14:47 +08:00
Jun Yang
46ffe036a8
docs: zh-cn translation for replace_last, remove_last
2022-12-02 23:54:58 +08:00
dependabot[bot] and Jun Yang
f47d91a9a6
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-12-02 23:50:08 +08:00
James Prior and Jun Yang
8a1efc0f2e
docs: fix remove_first example output
2022-12-02 23:49:59 +08:00
James Prior and Jun Yang
ff4fd44666
docs: remove_last and replace_last
2022-12-02 23:48:50 +08:00
James Prior and Jun Yang
6c3f1c1e0c
feat: add remove_last filter
2022-12-02 23:48:50 +08:00
James Prior and Jun Yang
b4d1e27420
feat: add replace_last filter
2022-12-02 23:48:50 +08:00
semantic-release-bot
6f0a68080c
chore(release): 10.1.0 [skip ci]
...
# [10.1.0](https://github.com/harttle/liquidjs/compare/v10.0.0...v10.1.0 ) (2022-11-29)
### Features
* timezone name for `opts.timezoneOffset` and `date` argument, fixes [#553 ](https://github.com/harttle/liquidjs/issues/553 ) ([89c6c76 ](https://github.com/harttle/liquidjs/commit/89c6c7676d40f23090472a28cbf2fb22f93daad3 ))
2022-11-29 16:25:22 +00:00
Harttle and Harttle
89c6c7676d
feat: timezone name for opts.timezoneOffset and date argument, fixes #553
2022-11-30 00:20:12 +08:00
Jun Yang
b7ab357964
docs: update CHANGELOG
2022-11-27 18:02:07 +08:00
semantic-release-bot
9b9ef374a8
chore(release): 10.0.0 [skip ci]
...
# [10.0.0](https://github.com/harttle/liquidjs/compare/v9.43.0...v10.0.0 ) (2022-11-27)
### chore
* rename filters to snake style, [#487 ](https://github.com/harttle/liquidjs/issues/487 ) ([ff112a4 ](https://github.com/harttle/liquidjs/commit/ff112a4750f91475e9eccdb301d7a468e895f6ca ))
### Code Refactoring
* `_evalToken` renamed to `evalToken` ([4e1a30a ](https://github.com/harttle/liquidjs/commit/4e1a30a20c579408c87f2d28b9b6ec8e1dda65cc ))
* change `ownPropertyOnly` default value to `true` ([7eb6216 ](https://github.com/harttle/liquidjs/commit/7eb621601c2b05d6e379e5ce42219f2b1f556208 ))
* delay creation of `operatorsTrie` and hide this implementation ([bb58d3e ](https://github.com/harttle/liquidjs/commit/bb58d3e549dc5a5e067895ec4a0b3257b434f225 ))
* remove `toThenable` export ([ffefd91 ](https://github.com/harttle/liquidjs/commit/ffefd91fbc0195c589c8c34ae80f2017acfe557c ))
* remove use of internal `Context` class in `evalValue` argument ([b115077 ](https://github.com/harttle/liquidjs/commit/b115077e122a7b90e7972d58174d68aea8edd7bf ))
### Performance Improvements
* target Node.js 14 for cjs bundle (main entry) ([1f6ce7c ](https://github.com/harttle/liquidjs/commit/1f6ce7c8224123cea318d1aa6c12aa091d6e0518 ))
### 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.
2022-11-27 09:51:43 +00:00
dependabot[bot] and Jun Yang
5bbdc08eff
chore(deps): bump minimatch from 3.0.4 to 3.1.2
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-11-27 17:47:55 +08:00
Jun Yang
1380ac931a
refactor: more consistent tags to make it easier to iterate over, #524
2022-11-27 17:29:44 +08:00
Jun Yang
4e1a30a20c
refactor: _evalToken renamed to evalToken
...
BREAKING CHANGE: `evalToken` now returns a generator (LiquidJS async), which is different from `evalToken` in previous LiquidJS versions.
2022-11-27 14:04:02 +08:00
Jun Yang
92992689cd
refactor: Tag class support in registerTag()
2022-11-27 14:04:01 +08:00
Jun Yang
1f6ce7c822
perf: target Node.js 14 for cjs bundle (main entry)
...
BREAKING CHANGE: main entry need Node.js>=14 to run, you can build LiquidJS by your own by using ESM entry.
2022-11-27 14:04:01 +08:00
Jun Yang
7eb621601c
refactor: change ownPropertyOnly default value to true
...
BREAKING CHANGE: `ownPropertyOnly` default value changed to `true`
2022-11-27 14:04:01 +08:00
Jun Yang
ffefd91fbc
refactor: remove toThenable export
...
BREAKING CHANGE: `<liquidjs>.toThenable` is removed, use `<liquidjs>.toPromise` instead
2022-11-27 14:04:01 +08:00
Jun Yang
b115077e12
refactor: remove use of internal Context class in evalValue argument
...
BREAKING CHANGE: `evalValue` won't support `Context` as second argument anymore.
2022-11-27 14:04:01 +08:00
Jun Yang
bb58d3e549
refactor: delay creation of operatorsTrie and hide this implementation
...
BREAKING CHANGE: use `operators` instead of `operatorsTrie` as Tokenizer constructor argument, #500
2022-11-27 14:04:01 +08:00
Jun Yang
ff112a4750
chore: rename filters to snake style, #487
...
BREAKING CHANGE: keys in `<liquidjs>.filters` are now in snake case (instead of camel case), identical to that in Liquid template.
2022-11-27 14:04:00 +08:00
semantic-release-bot
907c4dea06
chore(release): 9.43.0 [skip ci]
...
# [9.43.0](https://github.com/harttle/liquidjs/compare/v9.42.1...v9.43.0 ) (2022-11-27)
### Features
* support timezone offset argument for date filter, [#553 ](https://github.com/harttle/liquidjs/issues/553 ) ([7a71485 ](https://github.com/harttle/liquidjs/commit/7a714855df9ba188e2e82839d248f6623ce94a87 ))
2022-11-27 05:50:17 +00:00
Jun Yang
7a714855df
feat: support timezone offset argument for date filter, #553
2022-11-27 13:46:51 +08:00
dependabot[bot] and Jun Yang
cd918ccb85
chore(deps): bump minimatch from 3.0.4 to 3.1.2 in /docs
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-11-14 17:24:50 +08:00
Harttle and Harttle
8061e559ac
docs: fix tags sidebar translation
2022-10-23 18:16:55 +08:00
allcontributors[bot] and Jun Yang
33e97db903
docs: update .all-contributorsrc [skip ci]
2022-10-22 23:59:12 +08:00
allcontributors[bot] and Jun Yang
9cfc8fd2df
docs: update README.md [skip ci]
2022-10-22 23:59:12 +08:00
f62b2109f2
docs: add echo and liquid tags Chinese translation ( #549 )
...
* docs: add echo and liquid tags chinese translation
* Update docs/source/zh-cn/tags/echo.md
Co-authored-by: Jun Yang <[email protected] >
* Update docs/source/zh-cn/tags/echo.md
Co-authored-by: Jun Yang <[email protected] >
* Update docs/source/zh-cn/tags/echo.md
Co-authored-by: Jun Yang <[email protected] >
* Update Liquid.md
* Update Liquid.md
Co-authored-by: Jun Yang <[email protected] >
2022-10-22 23:56:31 +08:00
semantic-release-bot
bf6b5c7da1
chore(release): 9.42.1 [skip ci]
...
## [9.42.1](https://github.com/harttle/liquidjs/compare/v9.42.0...v9.42.1 ) (2022-10-21)
### Bug Fixes
* truncatewords should use at least one word, [#537 ](https://github.com/harttle/liquidjs/issues/537 ) ([32f613f ](https://github.com/harttle/liquidjs/commit/32f613fb43e90f97364ee6a020589992dbb553cf ))
2022-10-21 16:58:08 +00:00
dependabot[bot] and Jun Yang
a58fe449e3
chore(deps): bump minimist and hexo-renderer-swig in /docs
...
Bumps [minimist](https://github.com/minimistjs/minimist ) to 1.2.7 and updates ancestor dependency [hexo-renderer-swig](https://github.com/hexojs/hexo-renderer-swig ). These dependencies need to be updated together.
Updates `minimist` from 1.2.5 to 1.2.7
- [Release notes](https://github.com/minimistjs/minimist/releases )
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.7 )
Updates `hexo-renderer-swig` from 1.1.0 to 2.0.0
- [Release notes](https://github.com/hexojs/hexo-renderer-swig/releases )
- [Commits](https://github.com/hexojs/hexo-renderer-swig/commits )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
- dependency-name: hexo-renderer-swig
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-10-22 00:55:15 +08:00
dependabot[bot] and Jun Yang
99516cb75f
chore(deps): bump semver-regex from 2.0.0 to 3.1.4
...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex ) from 2.0.0 to 3.1.4.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases )
- [Commits](https://github.com/sindresorhus/semver-regex/compare/v2.0.0...v3.1.4 )
---
updated-dependencies:
- dependency-name: semver-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-10-22 00:53:04 +08:00
dependabot[bot] and Jun Yang
850ab0c749
chore(deps): bump ansi-regex from 3.0.0 to 3.0.1
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-10-22 00:52:53 +08:00
Harttle and Harttle
33c7c8f301
docs: demo for using LiquidJS with webpack
2022-10-22 00:39:18 +08:00
Harttle and Harttle
32f613fb43
fix: truncatewords should use at least one word, #537
2022-10-21 14:40:25 +08:00
Jun Yang and GitHub
71a1dc6e72
docs: update README
2022-10-18 03:06:14 +08:00
Jun Yang and GitHub
375a19b0fd
chore: update funding.yml
2022-10-18 03:01:12 +08:00
Jun Yang and GitHub
4e17fdc3b1
docs: update README.md
2022-10-18 02:41:14 +08:00
allcontributors[bot] and Jun Yang
01c25044ac
docs: update .all-contributorsrc [skip ci]
2022-10-08 23:04:19 +08:00
allcontributors[bot] and Jun Yang
4a9b467c1b
docs: update README.md [skip ci]
2022-10-08 23:04:19 +08:00
hongl and Jun Yang
78f2120a85
Update intro-to-liquid.md
2022-10-08 23:02:56 +08:00
dependabot[bot] and Jun Yang
adfc27c480
chore(deps): bump moment-timezone from 0.5.28 to 0.5.37 in /docs
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.28 to 0.5.37.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.28...0.5.37 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-09-02 23:30:27 +08:00
semantic-release-bot
0075be9e6e
chore(release): 9.42.0 [skip ci]
...
# [9.42.0](https://github.com/harttle/liquidjs/compare/v9.41.0...v9.42.0 ) (2022-08-27)
### Features
* promise in expression & nested property, [#533 ](https://github.com/harttle/liquidjs/issues/533 ) [#276 ](https://github.com/harttle/liquidjs/issues/276 ) ([bbf00f3 ](https://github.com/harttle/liquidjs/commit/bbf00f37bf6080d38ebc258d1921d3ff0d504186 ))
2022-08-27 15:23:22 +00:00
Harttle and Harttle
bbf00f37bf
feat: promise in expression & nested property, #533 #276
2022-08-27 23:19:16 +08:00
semantic-release-bot
0997530bab
chore(release): 9.41.0 [skip ci]
...
# [9.41.0](https://github.com/harttle/liquidjs/compare/v9.40.0...v9.41.0 ) (2022-08-24)
### Features
* use evalValue to parse & render expression, [#527 ](https://github.com/harttle/liquidjs/issues/527 ) ([071368a ](https://github.com/harttle/liquidjs/commit/071368afe1c4fd36ebdb0e1d300c367db1766f7f ))
2022-08-24 12:59:20 +00:00
Harttle and Harttle
071368afe1
feat: use evalValue to parse & render expression, #527
2022-08-24 20:46:22 +08:00
dependabot[bot] and Jun Yang
2089b9bb6c
chore(deps): bump path-parse and path-parse
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) and [path-parse](https://github.com/jbgutierrez/path-parse ). These dependencies needed to be updated together.
Updates `path-parse` from 1.0.7 to 1.0.7
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/compare/v1.0.7...v1.0.7 )
Updates `path-parse` from 1.0.6 to 1.0.7
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/compare/v1.0.7...v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-08-20 23:58:19 +08:00
semantic-release-bot
fd7002f6bb
chore(release): 9.40.0 [skip ci]
...
# [9.40.0](https://github.com/harttle/liquidjs/compare/v9.39.2...v9.40.0 ) (2022-08-14)
### Bug Fixes
* target ES6 for ESM bundles, fixes [#526 ](https://github.com/harttle/liquidjs/issues/526 ) ([905a6dd ](https://github.com/harttle/liquidjs/commit/905a6dd1491705c1154b6679a67c1eb1ffe7eef5 ))
### Features
* export toValueSync & defaultOptions to evaluate expression, see [#527 ](https://github.com/harttle/liquidjs/issues/527 ) ([e874b40 ](https://github.com/harttle/liquidjs/commit/e874b4060b46195e05a5cc6690626bdaa532154c ))
2022-08-14 18:43:29 +00:00
Harttle and Harttle
905a6dd149
fix: target ES6 for ESM bundles, fixes #526
2022-08-15 02:34:23 +08:00
Harttle and Harttle
e874b4060b
feat: export toValueSync & defaultOptions to evaluate expression, see #527
2022-08-15 01:53:48 +08:00
semantic-release-bot
753e8f94c0
chore(release): 9.39.2 [skip ci]
...
## [9.39.2](https://github.com/harttle/liquidjs/compare/v9.39.1...v9.39.2 ) (2022-07-21)
### Bug Fixes
* expression support Drop.valueOf, fixes [#522 ](https://github.com/harttle/liquidjs/issues/522 ) ([4ad383d ](https://github.com/harttle/liquidjs/commit/4ad383d9beb57f5683805decc1851778db64aea4 ))
2022-07-21 15:04:28 +00:00
dependabot[bot] and Jun Yang
0a1d60453e
chore(deps): bump terser from 4.6.7 to 4.8.1 in /docs
...
Bumps [terser](https://github.com/terser/terser ) from 4.6.7 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-21 23:01:24 +08:00
Harttle and Harttle
4ad383d9be
fix: expression support Drop.valueOf, fixes #522
2022-07-21 01:21:58 +08:00
semantic-release-bot
66eb3b842a
chore(release): 9.39.1 [skip ci]
...
## [9.39.1](https://github.com/harttle/liquidjs/compare/v9.39.0...v9.39.1 ) (2022-07-14)
### Bug Fixes
* throw ParseError instead of RenderError for invalid assign expression, closes [#519 ](https://github.com/harttle/liquidjs/issues/519 ) ([c41a5d5 ](https://github.com/harttle/liquidjs/commit/c41a5d5babf85ccedbcb3b6f9a3cf5c326f72ae1 ))
2022-07-14 16:45:29 +00:00
Harttle
c41a5d5bab
fix: throw ParseError instead of RenderError for invalid assign expression, closes #519
2022-07-15 00:41:51 +08:00
semantic-release-bot
0aca2dd8c1
chore(release): 9.39.0 [skip ci]
...
# [9.39.0](https://github.com/harttle/liquidjs/compare/v9.38.0...v9.39.0 ) (2022-07-09)
### Bug Fixes
* for tag not respecting Drop#valueOf(), fixes [#515 ](https://github.com/harttle/liquidjs/issues/515 ) ([c3e51ca ](https://github.com/harttle/liquidjs/commit/c3e51caa701fd4449ed5257e23569a37ef12dea2 ))
### Features
* iteration protocols ([a19feea ](https://github.com/harttle/liquidjs/commit/a19feea7c46fc476139a150bda051f485328afe8 ))
2022-07-09 16:31:12 +00:00
Harttle
4289b4e804
refactor: rename toValue to toValueSync
2022-07-10 00:24:00 +08:00
Harttle
c3e51caa70
fix: for tag not respecting Drop#valueOf(), fixes #515
2022-07-09 22:21:51 +08:00
James Prior and Jun Yang
a19feea7c4
feat: iteration protocols
2022-07-09 18:21:54 +08:00
semantic-release-bot
e87f068067
chore(release): 9.38.0 [skip ci]
...
# [9.38.0](https://github.com/harttle/liquidjs/compare/v9.37.0...v9.38.0 ) (2022-07-07)
### Bug Fixes
* stack overflow on large number of templates, [#513 ](https://github.com/harttle/liquidjs/issues/513 ) ([3dc4290 ](https://github.com/harttle/liquidjs/commit/3dc4290b56265cfafbee8d9836e912d9b8492f90 ))
### Features
* inline comment tag ([#514 ](https://github.com/harttle/liquidjs/issues/514 )) ([2f87708 ](https://github.com/harttle/liquidjs/commit/2f8770898963e35ac4491f6975a8abd03dc09067 ))
2022-07-07 19:06:27 +00:00
dependabot[bot] and Jun Yang
392b859381
chore(deps): bump moment from 2.29.2 to 2.29.4 in /docs
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-08 03:00:36 +08:00
Harttle
ed95d9a760
chore: update to node 16
2022-07-08 02:56:39 +08:00
Harttle
0f824355fa
docs: zh-cn doc for inline comment
2022-07-08 01:59:09 +08:00
Harttle
3dc4290b56
fix: stack overflow on large number of templates, #513
2022-07-08 01:46:51 +08:00
jg-rp and GitHub
2f87708989
feat: inline comment tag ( #514 )
...
* style: remove unnecessary intermediate constant
* feat: add inline comment tag
* refactor: use readIdentifier when reading tag names
* docs: add inline comment tag
2022-07-08 01:46:15 +08:00
dependabot[bot] and Jun Yang
4a0186d62a
chore(deps-dev): bump jsdom from 13.2.0 to 16.5.0
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 13.2.0 to 16.5.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/13.2.0...16.5.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-02 20:59:55 +08:00
dependabot[bot] and Jun Yang
c9e4220c88
chore(deps-dev): bump semantic-release from 17.2.3 to 19.0.3
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.2.3 to 19.0.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.3...v19.0.3 )
---
updated-dependencies:
- dependency-name: semantic-release
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-10 23:49:21 +08:00
Jun Yang and GitHub
bb8f8f569d
docs: update security policy
2022-05-17 23:53:20 +08:00
Harttle and Harttle
2f6d84befc
test: cases for async variables
2022-05-03 13:31:25 +08:00
semantic-release-bot
463a165e5e
chore(release): 9.37.0 [skip ci]
...
# [9.37.0](https://github.com/harttle/liquidjs/compare/v9.36.2...v9.37.0 ) (2022-04-21)
### Bug Fixes
* support integer arithmetic for `divided_by`, closes [#465 ](https://github.com/harttle/liquidjs/issues/465 ) ([e69a510 ](https://github.com/harttle/liquidjs/commit/e69a51025efa7dec7d60d0067200a1466988ebbc ))
### Features
* automatic output escaping, closes [#500 ](https://github.com/harttle/liquidjs/issues/500 ) ([f88490c ](https://github.com/harttle/liquidjs/commit/f88490cd3cd0b5316c43c3ca76837544d99ce0b0 ))
2022-04-21 18:23:02 +00:00
Harttle
f88490cd3c
feat: automatic output escaping, closes #500
2022-04-22 02:19:36 +08:00
Harttle
e69a51025e
fix: support integer arithmetic for divided_by, closes #465
2022-04-22 02:19:36 +08:00
allcontributors[bot] and Jun Yang
ace5309c08
docs: update .all-contributorsrc [skip ci]
2022-04-19 23:55:10 +08:00
allcontributors[bot] and Jun Yang
5a90c5bf74
docs: update README.md [skip ci]
2022-04-19 23:55:10 +08:00
semantic-release-bot
f6e047867e
chore(release): 9.36.2 [skip ci]
...
## [9.36.2](https://github.com/harttle/liquidjs/compare/v9.36.1...v9.36.2 ) (2022-04-19)
### Bug Fixes
* lazy createRequire to allow exceptions being catched, fixes [#497 ](https://github.com/harttle/liquidjs/issues/497 ) ([b377dad ](https://github.com/harttle/liquidjs/commit/b377dad9e34c3de3e0eedc1ee6f17a0e9d919669 ))
2022-04-19 15:51:00 +00:00
Yahang Wu and GitHub
c467630e0b
docs: fix a broken link for abstract file interface ( #498 )
2022-04-19 23:48:25 +08:00
Harttle
b377dad9e3
fix: lazy createRequire to allow exceptions being catched, fixes #497
2022-04-19 23:44:14 +08:00
semantic-release-bot
ecc04c99c5
chore(release): 9.36.1 [skip ci]
...
## [9.36.1](https://github.com/harttle/liquidjs/compare/v9.36.0...v9.36.1 ) (2022-04-17)
### Bug Fixes
* contains operator does not support Drop, fixes [#492 ](https://github.com/harttle/liquidjs/issues/492 ) ([9e024ff ](https://github.com/harttle/liquidjs/commit/9e024ff2bcf17e7ac19c718389d4cef39b8a51f7 ))
* responsive header ([a56af6b ](https://github.com/harttle/liquidjs/commit/a56af6bbfb5b698db55fbeb87e8e0872688fbe19 ))
* use `createRequire` for ESM, fixes [#334 ](https://github.com/harttle/liquidjs/issues/334 ) ([eec381e ](https://github.com/harttle/liquidjs/commit/eec381ec72db3858452799b7a3264e240be3044d ))
2022-04-17 16:45:54 +00:00
Harttle
9e024ff2bc
fix: contains operator does not support Drop, fixes #492
2022-04-18 00:43:18 +08:00
Harttle
eec381ec72
fix: use createRequire for ESM, fixes #334
2022-04-18 00:43:17 +08:00
dependabot[bot] and Jun Yang
c7216c6358
chore(deps): bump ansi-regex from 4.1.0 to 4.1.1 in /docs
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-18 00:43:02 +08:00
dependabot[bot] and Jun Yang
fe78890d35
chore(deps): bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-17 23:54:16 +08:00
dependabot[bot] and Jun Yang
d5771ba42c
chore(deps): bump moment from 2.24.0 to 2.29.2 in /docs
...
Bumps [moment](https://github.com/moment/moment ) from 2.24.0 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.2 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-17 22:02:49 +08:00
dependabot[bot] and Jun Yang
776d235fca
chore(deps): bump async from 3.1.0 to 3.2.3
...
Bumps [async](https://github.com/caolan/async ) from 3.1.0 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v3.1.0...v3.2.3 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-17 21:55:18 +08:00
Harttle
a56af6bbfb
fix: responsive header
2022-03-17 16:19:57 +08:00
semantic-release-bot
1af8553651
chore(release): 9.36.0 [skip ci]
...
# [9.36.0](https://github.com/harttle/liquidjs/compare/v9.35.2...v9.36.0 ) (2022-03-05)
### Features
* Access array item by negative index, closes [#486 ](https://github.com/harttle/liquidjs/issues/486 ) ([049685b ](https://github.com/harttle/liquidjs/commit/049685b9a0271ba03875e24ff2f6c7870cae62a7 ))
* allow strip filter with specified char, closes [#390 ](https://github.com/harttle/liquidjs/issues/390 ) ([c503cb2 ](https://github.com/harttle/liquidjs/commit/c503cb23dfbdd6f146d6dea16a84eab3df1f7aa9 ))
* appropriate error for malformed filters, fixes [#271 ](https://github.com/harttle/liquidjs/issues/271 ) ([01014ed ](https://github.com/harttle/liquidjs/commit/01014edc491e12d38981045442da9faee598cdf7 ))
2022-03-05 16:56:21 +00:00
Harttle
049685b9a0
feat: Access array item by negative index, closes #486
2022-03-06 00:52:22 +08:00
Harttle
c503cb23df
feat: allow strip filter with specified char, closes #390
2022-03-06 00:20:51 +08:00
Harttle
01014edc49
feat: appropriate error for malformed filters, fixes #271
2022-03-05 23:24:16 +08:00
Harttle
27e579e0e2
test: case for {% assign %} invalid value, closes #446
2022-03-05 22:09:36 +08:00
semantic-release-bot
d3e3fecf53
chore(release): 9.35.2 [skip ci]
...
## [9.35.2](https://github.com/harttle/liquidjs/compare/v9.35.1...v9.35.2 ) (2022-03-02)
### Bug Fixes
* corner case for concat filter without argument, [#481 ](https://github.com/harttle/liquidjs/issues/481 ) ([aa95517 ](https://github.com/harttle/liquidjs/commit/aa955173d4c7adc585e862934429f1f4c5f64969 ))
* export all builtin tags from LiquidJS, [#464 ](https://github.com/harttle/liquidjs/issues/464 ) ([33009bb ](https://github.com/harttle/liquidjs/commit/33009bb988eb74c58f390992750d91b967cb3428 ))
2022-03-02 13:26:07 +00:00
Harttle
33009bb988
fix: export all builtin tags from LiquidJS, #464
2022-03-02 21:21:45 +08:00
Harttle
aa955173d4
fix: corner case for concat filter without argument, #481
2022-03-02 21:21:25 +08:00
semantic-release-bot
15b78ebd9d
chore(release): 9.35.1 [skip ci]
...
## [9.35.1](https://github.com/harttle/liquidjs/compare/v9.35.0...v9.35.1 ) (2022-02-26)
### Bug Fixes
* some filters throw on nil input, see [#481 ](https://github.com/harttle/liquidjs/issues/481 ) ([7dfb620 ](https://github.com/harttle/liquidjs/commit/7dfb620d30f8818685e1cfb8e7492313a0d036ab ))
2022-02-26 18:12:38 +00:00
Harttle
575f3e2338
docs: add missing tag/filter links on sidebar/table, #482
2022-02-27 02:07:59 +08:00
Harttle
7dfb620d30
fix: some filters throw on nil input, see #481
2022-02-27 02:07:59 +08:00
dependabot[bot] and Jun Yang
21b78d9ba0
chore(deps): bump prismjs from 1.25.0 to 1.27.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.25.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-27 02:06:04 +08:00
Harttle
5d077f461a
chore: add liquid.min.js into Github release
2022-02-24 01:39:27 +08:00
semantic-release-bot
13343040c6
chore(release): 9.35.0 [skip ci]
...
# [9.35.0](https://github.com/harttle/liquidjs/compare/v9.34.1...v9.35.0 ) (2022-02-23)
### Bug Fixes
* `url_encode` throws on undefined value, fixes [#479 ](https://github.com/harttle/liquidjs/issues/479 ) ([ca3240c ](https://github.com/harttle/liquidjs/commit/ca3240c2c4d157095d2ebe0024d0c71bc5e435f8 ))
### Features
* expose all tags/filters and TimezoneDate, closes [#464 ](https://github.com/harttle/liquidjs/issues/464 ) ([dab8a29 ](https://github.com/harttle/liquidjs/commit/dab8a29070b2508f2e6532717b7663966f610bec ))
2022-02-23 17:20:40 +00:00
Harttle
ca3240c2c4
fix: url_encode throws on undefined value, fixes #479
2022-02-24 01:14:46 +08:00
Harttle
2b0c5696bc
docs: introduce JS script to escape for Hexo, fixes #480
2022-02-24 01:04:50 +08:00
Harttle
dab8a29070
feat: expose all tags/filters and TimezoneDate, closes #464
2022-02-23 23:38:21 +08:00
semantic-release-bot
f395295721
chore(release): 9.34.1 [skip ci]
...
## [9.34.1](https://github.com/harttle/liquidjs/compare/v9.34.0...v9.34.1 ) (2022-02-20)
### Bug Fixes
* array output now join with "" instead of "," ([ab5e245 ](https://github.com/harttle/liquidjs/commit/ab5e245fba9a0f6936275319d4e5e25aadb0f7c1 ))
* sort filter unexpectedly modifies original array, [#475 ](https://github.com/harttle/liquidjs/issues/475 ) ([dbc0497 ](https://github.com/harttle/liquidjs/commit/dbc049738633b1b6f578d9d20f830b548ba67a22 ))
2022-02-20 07:59:53 +00:00
Harttle
200f6648aa
style: fix lint
2022-02-20 15:56:23 +08:00
dependabot[bot] and Jun Yang
31aa4ec318
chore(deps): bump ssri from 6.0.1 to 6.0.2
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: ssri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-20 13:04:22 +08:00
dependabot[bot] and Jun Yang
231574903f
chore(deps): bump y18n from 3.2.1 to 3.2.2
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
---
updated-dependencies:
- dependency-name: y18n
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-20 13:04:12 +08:00
Harttle
dbc0497386
fix: sort filter unexpectedly modifies original array, #475
2022-02-20 13:03:40 +08:00
Harttle
ab5e245fba
fix: array output now join with "" instead of ","
2022-02-20 13:03:40 +08:00
dependabot[bot] and Jun Yang
78ce5662df
chore(deps): bump ini from 1.3.5 to 1.3.8
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
---
updated-dependencies:
- dependency-name: ini
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-20 12:53:30 +08:00
dependabot[bot] and Jun Yang
8b880f65a2
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
---
updated-dependencies:
- dependency-name: hosted-git-info
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-20 12:30:08 +08:00
dependabot[bot] and Jun Yang
d605158f96
chore(deps): bump tar from 4.4.13 to 4.4.19
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.13 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.19 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-20 12:29:48 +08:00
dependabot[bot] and Jun Yang
1a44b908ce
chore(deps): bump npm-user-validate from 1.0.0 to 1.0.1
...
Bumps [npm-user-validate](https://github.com/npm/npm-user-validate ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/npm/npm-user-validate/releases )
- [Commits](https://github.com/npm/npm-user-validate/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: npm-user-validate
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-20 12:29:42 +08:00
Santi Albo and Jun Yang
a0817e5dd7
docs: fix uniq filter example in the docs
2022-02-18 19:06:01 +08:00
703675e1e0
chore(deps): bump pathval from 1.1.0 to 1.1.1 ( #467 )
...
Bumps [pathval](https://github.com/chaijs/pathval ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/chaijs/pathval/releases )
- [Changelog](https://github.com/chaijs/pathval/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chaijs/pathval/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: pathval
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 17:57:12 +08:00
819d060a92
chore(deps): bump ajv from 6.12.0 to 6.12.6 in /docs ( #468 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.12.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 17:57:00 +08:00
c3d7ecbde1
docs: add santialbo as a contributor for doc ( #470 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-02-16 17:56:46 +08:00
Jun Yang and GitHub
8bdb70878f
Merge pull request #469 from santialbo/patch-1
...
docs: fix example in main docs page
2022-02-16 17:54:10 +08:00
Santi Albo and GitHub
2e1537d50c
docs: fix example in main docs page
2022-02-16 10:13:41 +01:00
Harttle and Harttle
d4afbc038f
docs: add support button on navbar
2022-02-13 15:12:16 +08:00
Damian Nowak and GitHub
58d03890b4
docs: whitespace-control: correct typo ( #462 )
2022-01-29 11:50:37 +08:00
semantic-release-bot
e3fb47a90b
chore(release): 9.34.0 [skip ci]
...
# [9.34.0](https://github.com/harttle/liquidjs/compare/v9.33.1...v9.34.0 ) (2022-01-28)
### Bug Fixes
* where-filter null handling ([#457 ](https://github.com/harttle/liquidjs/issues/457 )) ([9da41c8 ](https://github.com/harttle/liquidjs/commit/9da41c8a37d9c49ee4a16d5bd520fd6ae01c14ec ))
### Features
* `ownPropertyOnly` option to protect prototype, [#454 ](https://github.com/harttle/liquidjs/issues/454 ) ([7e99efc ](https://github.com/harttle/liquidjs/commit/7e99efc5131e20cf3f59e1fc2c371a15aa4109db ))
2022-01-28 17:37:13 +00:00
dependabot[bot] and Jun Yang
e4ad93ee8c
chore(deps): bump node-fetch from 2.6.1 to 2.6.7
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-29 01:32:26 +08:00
Harttle and Harttle
0bdf6792d1
docs: add @tbdrz as contributor
2022-01-29 01:30:48 +08:00
Harttle and Harttle
7e99efc513
feat: ownPropertyOnly option to protect prototype, #454
2022-01-29 01:22:34 +08:00
Harttle and Harttle
527858fc14
docs: better PWA, more responsive, better description
2022-01-29 00:37:43 +08:00
Martin Schuster and GitHub
9da41c8a37
fix: where-filter null handling ( #457 )
2022-01-28 22:43:38 +08:00
tbdrz and Jun Yang
2717dae127
Clear unusefull comments
2022-01-28 22:41:11 +08:00
Harttle
8db6c7b28d
docs: tutorial for render tag content
2022-01-23 14:24:58 +08:00
dependabot[bot] and Jun Yang
298db97b84
chore(deps): bump shelljs from 0.8.4 to 0.8.5
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-23 00:02:46 +08:00
dependabot[bot] and Jun Yang
bd8e2b0f96
chore(deps): bump trim-off-newlines from 1.0.1 to 1.0.3
...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines ) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases )
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.1...v1.0.3 )
---
updated-dependencies:
- dependency-name: trim-off-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-23 00:02:32 +08:00
Harttle and Harttle
117eaf57c3
docs: add additional filters/tags as differences, closes #331
2022-01-22 23:24:06 +08:00
Harttle and Harttle
1e69d86b0c
chore: build docs on master push
2022-01-22 21:59:02 +08:00
Harttle and Harttle
cc6b66216d
docs: support dark mode
2022-01-22 21:51:49 +08:00
Harttle and Harttle
ca82416dea
docs: apply network-first cache strategy
2022-01-22 19:04:12 +08:00
Harttle and Harttle
394d5a1ae2
docs: add tutorials for custom filters and tags
2022-01-22 18:52:37 +08:00
Harttle and Harttle
371da3da74
docs: add jekyllInclude to tutorials
2022-01-20 02:04:54 +08:00
semantic-release-bot
7814285479
chore(release): 9.33.1 [skip ci]
...
## [9.33.1](https://github.com/harttle/liquidjs/compare/v9.33.0...v9.33.1 ) (2022-01-19)
### Bug Fixes
* liquidjs.version on npm package ([53824a2 ](https://github.com/harttle/liquidjs/commit/53824a2d00f978214fcd83a48118b7900cf97449 ))
2022-01-19 17:19:58 +00:00
Harttle and Harttle
53824a2d00
fix: liquidjs.version on npm package
2022-01-20 01:16:52 +08:00
semantic-release-bot
9966d846b5
chore(release): 9.33.0 [skip ci]
...
# [9.33.0](https://github.com/harttle/liquidjs/compare/v9.32.1...v9.33.0 ) (2022-01-19)
### Features
* support `offset:continue`, see [#439 ](https://github.com/harttle/liquidjs/issues/439 ) ([8c27a84 ](https://github.com/harttle/liquidjs/commit/8c27a84059384ae730eb0fa1524df04e122e27a0 ))
* support Jekyll-like include syntax, see [#441 ](https://github.com/harttle/liquidjs/issues/441 ) ([388d0fb ](https://github.com/harttle/liquidjs/commit/388d0fbbc42fe8cd69faba61c1dc29e9bb5ec2d0 ))
2022-01-19 16:56:49 +00:00
Harttle and Harttle
8c27a84059
feat: support offset:continue, see #439
2022-01-20 00:12:18 +08:00
Harttle and Harttle
388d0fbbc4
feat: support Jekyll-like include syntax, see #441
2022-01-19 23:07:25 +08:00
semantic-release-bot
d71d0a0c20
chore(release): 9.32.1 [skip ci]
...
## [9.32.1](https://github.com/harttle/liquidjs/compare/v9.32.0...v9.32.1 ) (2022-01-12)
### Bug Fixes
* remove limit on operator char length ([7677f84 ](https://github.com/harttle/liquidjs/commit/7677f848c0c57335dd1c4f1e3ec251fbf9b1663f ))
2022-01-12 13:27:40 +00:00
allcontributors[bot] and Jun Yang
191a0130d2
docs: update .all-contributorsrc [skip ci]
2022-01-12 21:25:24 +08:00
allcontributors[bot] and Jun Yang
2c3ebaca0c
docs: update README.md [skip ci]
2022-01-12 21:25:24 +08:00
Ameya Apte and Jun Yang
7677f848c0
fix: remove limit on operator char length
...
The matchOperator function has a default value of str.length for the end parameter
2022-01-12 21:24:08 +08:00
semantic-release-bot
c7d2e1f1f4
chore(release): 9.32.0 [skip ci]
...
# [9.32.0](https://github.com/harttle/liquidjs/compare/v9.31.0...v9.32.0 ) (2022-01-02)
### Features
* support allow_false for `default` filter, see [#435 ](https://github.com/harttle/liquidjs/issues/435 ) ([c756191 ](https://github.com/harttle/liquidjs/commit/c756191f49f9c2b823048367abfdf0adf2bdb875 ))
2022-01-02 08:35:53 +00:00
Harttle and Harttle
c756191f49
feat: support allow_false for default filter, see #435
2022-01-02 16:31:21 +08:00
Harttle and Harttle
e94e386c46
docs: update liquidjs.com and README for demo link
2021-12-31 17:49:27 +08:00
semantic-release-bot
b7c782b10a
chore(release): 9.31.0 [skip ci]
...
# [9.31.0](https://github.com/harttle/liquidjs/compare/v9.30.0...v9.31.0 ) (2021-12-19)
### Features
* implement `liquid` and `echo` tags, see [#428 ](https://github.com/harttle/liquidjs/issues/428 ) ([fde9924 ](https://github.com/harttle/liquidjs/commit/fde9924ee622efae4c013d2aa01c6d705c8d5f46 ))
2021-12-19 14:35:13 +00:00
Harttle and Harttle
49d3f64873
docs: echo & liquid tags
2021-12-19 22:31:02 +08:00
Harttle and Harttle
be3463c5f9
docs: add jg-rp as contributor
2021-12-19 21:42:46 +08:00
James Prior and Jun Yang
fde9924ee6
feat: implement liquid and echo tags, see #428
2021-12-19 21:09:26 +08:00
semantic-release-bot
5b2ea63b14
chore(release): 9.30.0 [skip ci]
...
# [9.30.0](https://github.com/harttle/liquidjs/compare/v9.29.0...v9.30.0 ) (2021-12-18)
### Features
* support jekyll-like include, see [#433 ](https://github.com/harttle/liquidjs/issues/433 ) ([23279a8 ](https://github.com/harttle/liquidjs/commit/23279a816a0582ade7f3b15c1c65c74bc147d134 ))
2021-12-18 07:31:17 +00:00
Harttle and Harttle
23279a816a
feat: support jekyll-like include, see #433
2021-12-18 15:26:15 +08:00
Harttle and Harttle
2c14a9541d
chore: update node to 14 for check pipeline
2021-12-12 20:10:15 +08:00
Harttle and Harttle
c474649748
chore: update node to 14 on pipeline
2021-12-12 11:11:03 +08:00
Harttle and Harttle
fad17cfbb3
docs: fix apidoc generation for typescript@4
2021-12-11 21:30:19 +08:00
semantic-release-bot
6322acb88c
chore(release): 9.29.0 [skip ci]
...
# [9.29.0](https://github.com/harttle/liquidjs/compare/v9.28.6...v9.29.0 ) (2021-12-11)
### Features
* customize globals & strictVariables when calling render, see [#432 ](https://github.com/harttle/liquidjs/issues/432 ) ([6801552 ](https://github.com/harttle/liquidjs/commit/6801552fe6829770cbbfdda051731c8b466ed9ec ))
2021-12-11 12:32:58 +00:00
Harttle and Harttle
95fc705b5d
chore: upgrade typescript
2021-12-11 20:23:09 +08:00
Harttle and Harttle
6801552fe6
feat: customize globals & strictVariables when calling render, see #432
2021-12-11 20:22:58 +08:00
Harttle and Harttle
6023d9ba10
docs: path traversal vulnerabilities when customizing FS
2021-12-11 12:31:08 +08:00
semantic-release-bot
cc4628d804
chore(release): 9.28.6 [skip ci]
...
## [9.28.6](https://github.com/harttle/liquidjs/compare/v9.28.5...v9.28.6 ) (2021-12-07)
### Bug Fixes
* size filter does not respect Objects, fixes [#385 ](https://github.com/harttle/liquidjs/issues/385 ) ([6c11426 ](https://github.com/harttle/liquidjs/commit/6c114267a526ef764dfd9bd94de199d2932ad91a ))
* throws when using `preserveTimezones` on Node.js, fixes [#431 ](https://github.com/harttle/liquidjs/issues/431 ) ([e2ef236 ](https://github.com/harttle/liquidjs/commit/e2ef236f68273b72a0b1293b0d13728cdb9aa4b8 ))
2021-12-07 15:50:25 +00:00
Harttle and Harttle
69286c6909
test: coverage to 100%
2021-12-07 23:34:53 +08:00
Harttle and Harttle
6c114267a5
fix: size filter does not respect Objects, fixes #385
2021-12-07 23:05:46 +08:00
Harttle and Harttle
e2ef236f68
fix: throws when using preserveTimezones on Node.js, fixes #431
2021-12-07 22:43:47 +08:00
semantic-release-bot
80c2280ee6
chore(release): 9.28.5 [skip ci]
...
## [9.28.5](https://github.com/harttle/liquidjs/compare/v9.28.4...v9.28.5 ) (2021-11-05)
### Bug Fixes
* always allow './' and '../' to be relative, even on windows ([44f6b52 ](https://github.com/harttle/liquidjs/commit/44f6b520d53ba984ecb5fc430d70f698837d1802 ))
2021-11-05 19:39:58 +00:00
Harttle and Harttle
44f6b520d5
fix: always allow './' and '../' to be relative, even on windows
2021-11-06 03:36:39 +08:00
semantic-release-bot
3d71d9e35a
chore(release): 9.28.4 [skip ci]
...
## [9.28.4](https://github.com/harttle/liquidjs/compare/v9.28.3...v9.28.4 ) (2021-10-31)
### Bug Fixes
* allow `{%render%}` to reassign argument, [#404 ](https://github.com/harttle/liquidjs/issues/404 ) ([124f4c4 ](https://github.com/harttle/liquidjs/commit/124f4c4485270a5fdfca610808a56ecd98d98417 ))
2021-10-31 08:36:55 +00:00
AleksandrHovhannisyan and Harttle
124f4c4485
fix: allow {%render%} to reassign argument, #404
2021-10-31 16:28:33 +08:00
dependabot[bot] and Jun Yang
432d1c7ccb
chore(deps): bump path-parse from 1.0.6 to 1.0.7
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-10-28 00:14:13 +08:00
Harttle and Harttle
4b42e63601
docs: update liquidjs for demo/nodejs
2021-10-28 00:03:18 +08:00
semantic-release-bot
f809c716eb
chore(release): 9.28.3 [skip ci]
...
## [9.28.3](https://github.com/harttle/liquidjs/compare/v9.28.2...v9.28.3 ) (2021-10-27)
### Bug Fixes
* relative root (by default) yields LookupError, fixes [#419 ](https://github.com/harttle/liquidjs/issues/419 ), [#424 ](https://github.com/harttle/liquidjs/issues/424 ), also related to [#395 ](https://github.com/harttle/liquidjs/issues/395 ) ([aebeae9 ](https://github.com/harttle/liquidjs/commit/aebeae9e1bbb8472af7788dfd09a08cb6de58e1c ))
2021-10-27 16:01:07 +00:00
Harttle and Harttle
aebeae9e1b
fix: relative root (by default) yields LookupError, fixes #419 , #424 , also related to #395
2021-10-27 23:55:39 +08:00
Harttle
564972ba74
docs: add version info in playground.html
2021-10-20 23:20:23 +08:00
semantic-release-bot
d0c3cc8b47
chore(release): 9.28.2 [skip ci]
...
## [9.28.2](https://github.com/harttle/liquidjs/compare/v9.28.1...v9.28.2 ) (2021-10-16)
### Bug Fixes
* cache ongoing parseFile() calls, fixes [#416 ](https://github.com/harttle/liquidjs/issues/416 ) ([8894cbf ](https://github.com/harttle/liquidjs/commit/8894cbfe6e0dbad4c07439adcefb6b3e2056be11 ))
2021-10-16 14:40:58 +00:00
Harttle and harttle
b5b2a98d5e
chore: fix types
2021-10-16 22:36:46 +08:00
Harttle and harttle
8894cbfe6e
fix: cache ongoing parseFile() calls, fixes #416
2021-10-16 21:07:48 +08:00
semantic-release-bot
c58a116513
chore(release): 9.28.1 [skip ci]
...
## [9.28.1](https://github.com/harttle/liquidjs/compare/v9.28.0...v9.28.1 ) (2021-10-16)
### Bug Fixes
* hardcoded '/' in normalized `options.fs`, fixes [#412 ](https://github.com/harttle/liquidjs/issues/412 ), [#408 ](https://github.com/harttle/liquidjs/issues/408 ) ([9cfa43b ](https://github.com/harttle/liquidjs/commit/9cfa43b8aee6a980f39d99f1cdb2be730ca21731 ))
2021-10-16 04:32:51 +00:00
Harttle and harttle
d4df3a0b53
refactor: make loader.shouldLoadRelative public
2021-10-16 12:30:09 +08:00
Harttle and harttle
9cfa43b8ae
fix: hardcoded '/' in normalized options.fs, fixes #412 , #408
...
Changes including:
- will not call fs.resolve when normalizing `fs`
- removed hardcoded `/`
- mandatory `fs.dirname` for relative reference
- mandatory `fs.sep`, defaults to '/'
2021-10-16 12:10:55 +08:00
harttle
df6d62fd59
docs: add @JaKXz and @dphm to contributor list, #406 , #407
2021-10-15 22:57:04 +08:00
d pham (they/them) and harttle
2438f4b018
docs: typo fix an -> can
2021-10-15 22:55:22 +08:00
Jason Kurian and Jun Yang
8321a8e982
docs: fix async/await typos in render-file
2021-10-15 22:52:47 +08:00
Harttle
1de6adf308
test: cases for parse(<tpl>, <relative filepath>), #395
2021-10-10 20:37:26 +08:00
Harttle
a525f45b46
docs: update filters order on sidebar, fixes #397
2021-10-06 19:17:33 +08:00
semantic-release-bot
529e6d769b
chore(release): 9.28.0 [skip ci]
...
# [9.28.0](https://github.com/harttle/liquidjs/compare/v9.27.1...v9.28.0 ) (2021-10-06)
### Bug Fixes
* skip root check for renderFile() ([822ba0b ](https://github.com/harttle/liquidjs/commit/822ba0be0f1cfbedd50376aff8ac49eee71bd48c ))
* support timezoneOffset for date from scope, [#401 ](https://github.com/harttle/liquidjs/issues/401 ) ([fd5ef47 ](https://github.com/harttle/liquidjs/commit/fd5ef474c36212e6a2446012dcd26bca93f84c7b ))
### Features
* `relativeReference` for render/include/layout, [#395 ](https://github.com/harttle/liquidjs/issues/395 ) ([a3455eb ](https://github.com/harttle/liquidjs/commit/a3455ebd0b207141c34630c0af44d917db2ca1dd ))
* implement `forloop.name` as found in ruby shopify/liquid ([6dc7fad ](https://github.com/harttle/liquidjs/commit/6dc7fada72467418806c1ee4bd7eaf3003690fe6 ))
2021-10-06 10:45:13 +00:00
Harttle
822ba0be0f
fix: skip root check for renderFile()
2021-10-06 18:38:58 +08:00
Harttle
a3455ebd0b
feat: relativeReference for render/include/layout, #395
...
- `relativeReference` is enabled by default, set to `false` to disable
- Referenced files are still constrained within root/partias/layouts
- fix: relative filenames are not constrained (which allows arbitrary filesystem read)
Example Usage:
{% render "../foo/bar.html" %}
Note:
../foo/bar.html' should also be within `partials` (or `root` if `partials` not set)
2021-10-06 17:36:37 +08:00
Harttle
24a19c092a
docs: add doc entry for concat filter #397
2021-10-06 16:10:09 +08:00
Harttle
fd5ef474c3
fix: support timezoneOffset for date from scope, #401
2021-10-06 15:45:41 +08:00
Harttle and harttle
4f6b88c154
docs: add @bglw as contributor
2021-10-04 21:37:37 +08:00
Liam Bigelow and Jun Yang
6dc7fada72
feat: implement forloop.name as found in ruby shopify/liquid
2021-10-04 21:33:46 +08:00
semantic-release-bot
3b9c7d6fbe
chore(release): 9.27.1 [skip ci]
...
## [9.27.1](https://github.com/harttle/liquidjs/compare/v9.27.0...v9.27.1 ) (2021-10-04)
### Bug Fixes
* directory info in lookupError message, [#395 ](https://github.com/harttle/liquidjs/issues/395 ) ([92bfc65 ](https://github.com/harttle/liquidjs/commit/92bfc65e0b1d937c00a8368b272223c702132d23 ))
2021-10-04 04:16:07 +00:00
Harttle
92bfc65e0b
fix: directory info in lookupError message, #395
2021-10-04 12:11:54 +08:00
semantic-release-bot
8348036d45
chore(release): 9.27.0 [skip ci]
...
# [9.27.0](https://github.com/harttle/liquidjs/compare/v9.26.0...v9.27.0 ) (2021-10-03)
### Bug Fixes
* remove "stream" dependency in browser bundles, [#396 ](https://github.com/harttle/liquidjs/issues/396 ) ([3b5eb66 ](https://github.com/harttle/liquidjs/commit/3b5eb6664f673c29d74cb7645e01dcbdf43c8343 ))
* renderToNodeStream() now emit 'error' event instead of throw ([afeef1d ](https://github.com/harttle/liquidjs/commit/afeef1d7450b2799b3441b0241d2466b892a27ff ))
### Features
* add `layouts`, `partials` apart from `root`, [#395 ](https://github.com/harttle/liquidjs/issues/395 ) ([b9ae479 ](https://github.com/harttle/liquidjs/commit/b9ae479b653a34fadb98c324c4683dd1fdd31af1 ))
* renderFileToNodeStream(filepath, scope) ([68c4cfc ](https://github.com/harttle/liquidjs/commit/68c4cfcfb647c22225dd6edede53ad7a5d7c4485 ))
### Performance Improvements
* make the most of streamed rendering ([aea3441 ](https://github.com/harttle/liquidjs/commit/aea34418de24cb85ea1acddf68c3683ce7fc9fa8 ))
2021-10-03 14:41:57 +00:00
harttle
afeef1d745
fix: renderToNodeStream() now emit 'error' event instead of throw
2021-10-03 22:32:00 +08:00
harttle
3b5eb6664f
fix: remove "stream" dependency in browser bundles, #396
2021-10-03 21:21:35 +08:00
harttle
68c4cfcfb6
feat: renderFileToNodeStream(filepath, scope)
2021-10-03 21:21:25 +08:00
harttle
dd325362f9
chore: perf check, will fail if regression > 3%
2021-10-03 19:07:51 +08:00
harttle
b9ae479b65
feat: add layouts, partials apart from root, #395
2021-10-03 18:51:14 +08:00
harttle
0cb520d2d1
chore: perf diff against latest release
2021-10-02 22:17:03 +08:00
Harttle
1689576913
docs: add @n1ru4l and @mattvague to contributors for doc
2021-10-01 19:21:03 +08:00
Harttle and harttle
aea34418de
perf: make the most of streamed rendering
2021-10-01 18:36:57 +08:00
Harttle and harttle
4358c9630f
test: coverage to 100%
2021-10-01 15:55:31 +08:00
Harttle and harttle
9a96b4aba3
docs: update badges
2021-10-01 12:39:02 +08:00
Harttle and harttle
70fdb7af48
chore: try fix ci
2021-10-01 00:52:51 +08:00
semantic-release-bot
5099597634
chore(release): 9.26.0 [skip ci]
...
# [9.26.0](https://github.com/harttle/liquidjs/compare/v9.25.1...v9.26.0 ) (2021-09-30)
### Features
* orderedFilterParameters, closes [#312 ](https://github.com/harttle/liquidjs/issues/312 ) ([10e8c8f ](https://github.com/harttle/liquidjs/commit/10e8c8ff7e1cca6df43087953cd8daf4bd618563 ))
* stream rendering, closed [#361 ](https://github.com/harttle/liquidjs/issues/361 ) fixes [#360 ](https://github.com/harttle/liquidjs/issues/360 ) ([9012133 ](https://github.com/harttle/liquidjs/commit/9012133e0717b1813c6a74a6a282f43ba14d0ada ))
* timezoneOffset option to specify output timezone, see [#375 ](https://github.com/harttle/liquidjs/issues/375 ) ([6b9f872 ](https://github.com/harttle/liquidjs/commit/6b9f872bccb4b0c636dc7be2088cafa9bc6c900a ))
### Performance Improvements
* improve performance by 4x by simplified parseFile ([24f5346 ](https://github.com/harttle/liquidjs/commit/24f534608489fccc155f30bbaf37397c46278da6 ))
* parse filenames in parse() insteadof render() ([8273c17 ](https://github.com/harttle/liquidjs/commit/8273c17dab3dc09858330ce45e3617a650e7fcaa ))
2021-09-30 15:57:39 +00:00
Harttle and harttle
d742de79ba
docs: update docs for website
2021-09-30 23:52:26 +08:00
Harttle and harttle
f0e2e07f0b
docs: add @c412216887 and @labnol for docs, see #393 #394
2021-09-30 22:33:52 +08:00
一饮一啄皆是人生 and Jun Yang
4e5dbe120d
Update upcase.md
...
upcase中文描述中,应该是 对已经是大写的字符没有影响
2021-09-30 22:18:10 +08:00
Amit Agarwal and Jun Yang
6a1db537d2
Typo fixed
...
Staring -> Starring
2021-09-30 22:17:46 +08:00
dependabot[bot] and Jun Yang
9517f82caf
chore(deps): bump prismjs from 1.24.0 to 1.25.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-09-30 22:16:34 +08:00
Harttle and Jun Yang
10e8c8ff7e
feat: orderedFilterParameters, closes #312
2021-09-30 22:15:09 +08:00
Steve Stedman and Jun Yang
fb787e8847
Fix: respect parameter order when using "for ... reversed" ( #231 )
...
* fix: spelling
* fix: respect param order for reversed
* docs: add for-reversed order details
* perf: improve performance by 4x by simplified parseFile
BREAKING CHANGES:
- previously deprecated `getTemplate()` and `getTemplateSync()` not no longer supported
- `opts` no longer support dynamic set in `parseFile()`, `renderFile()` arguments
* perf: parse filenames in parse() insteadof render()
* docs: update description of LiquidJS
Co-authored-by: harttle <[email protected] >
2021-09-30 22:15:09 +08:00
Harttle and Jun Yang
9012133e07
feat: stream rendering, closed #361 fixes #360
2021-09-30 22:15:09 +08:00
harttle
abaf4af465
docs: update description of LiquidJS
2021-09-30 22:15:09 +08:00
harttle
8273c17dab
perf: parse filenames in parse() insteadof render()
2021-09-30 22:15:09 +08:00
harttle
24f5346084
perf: improve performance by 4x by simplified parseFile
...
- previously deprecated `getTemplate()` and `getTemplateSync()` not no longer supported
- `opts` no longer support dynamic set in `parseFile()`, `renderFile()` arguments
2021-09-27 23:04:41 +08:00
Harttle and harttle
6b9f872bcc
feat: timezoneOffset option to specify output timezone, see #375
2021-09-27 01:54:31 +08:00
dependabot[bot] and Jun Yang
91c721e650
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /docs
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-09-26 20:44:44 +08:00
dependabot[bot] and Jun Yang
500d397a5a
chore(deps): bump prismjs from 1.23.0 to 1.24.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-07-26 16:52:01 +08:00
harttle
2e004eddf6
docs: add @ilhamdev0 as contributors
2021-07-26 16:40:03 +08:00
ilhamdev0 and Jun Yang
e3bfe86181
Update layout.md
2021-07-25 23:19:10 +08:00
ilhamdev0 and Jun Yang
804947ebb9
Update layout.md
...
Fix typo
2021-07-25 23:19:10 +08:00
Raymond Camden and Jun Yang
4fa5313acc
Update options.md
...
Fix typo
2021-07-24 14:23:26 +08:00
harttle
f7313fe563
docs: support data field in playground.html
2021-06-20 21:26:16 +08:00
semantic-release-bot
1c64ff051e
chore(release): 9.25.1 [skip ci]
...
## [9.25.1](https://github.com/harttle/liquidjs/compare/v9.25.0...v9.25.1 ) (2021-06-20)
### Performance Improvements
* add cross-engines benchmark ([cdceb25 ](https://github.com/harttle/liquidjs/commit/cdceb25d007b3d30a85e51ac538e12297c73bfcf ))
2021-06-20 06:23:36 +00:00
harttle
c470d1fe9b
chore: migrate from Travis CI to Github Actions
2021-06-20 14:21:34 +08:00
harttle
cdceb25d00
perf: add cross-engines benchmark
2021-06-20 13:25:08 +08:00
dependabot[bot] and Jun Yang
cc9b28307c
chore(deps): bump striptags from 3.1.1 to 3.2.0 in /docs
...
Bumps [striptags](https://github.com/ericnorris/striptags ) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/ericnorris/striptags/releases )
- [Commits](https://github.com/ericnorris/striptags/compare/v3.1.1...v3.2.0 )
---
updated-dependencies:
- dependency-name: striptags
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-06-19 12:10:02 +08:00
dependabot[bot] and Jun Yang
f2ddd6e459
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 in /docs
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-06-12 16:42:19 +08:00
dependabot[bot] and Jun Yang
ecc40a6012
chore(deps): bump normalize-url from 4.3.0 to 4.5.1
...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url ) from 4.3.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases )
- [Commits](https://github.com/sindresorhus/normalize-url/commits )
---
updated-dependencies:
- dependency-name: normalize-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-06-12 16:42:08 +08:00
dependabot[bot] and Jun Yang
659cfde8e1
chore(deps): bump ws from 6.2.1 to 6.2.2
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-06-08 21:35:56 +08:00
dependabot[bot] and Jun Yang
0acfb8de4d
chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-05-09 20:04:52 +08:00
dependabot[bot] and Jun Yang
c4b2bfb29b
chore(deps): bump lodash from 4.17.19 to 4.17.21 in /docs
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-05-07 22:36:25 +08:00
semantic-release-bot
0d41f7467e
chore(release): 9.25.0 [skip ci]
...
# [9.25.0](https://github.com/harttle/liquidjs/compare/v9.24.2...v9.25.0 ) (2021-05-07)
### Features
* when tag with multiple values ([8f9639f ](https://github.com/harttle/liquidjs/commit/8f9639f ))
2021-05-07 06:03:44 +00:00
dependabot[bot] and Jun Yang
1d35e3fcfb
chore(deps): bump handlebars from 4.5.3 to 4.7.7
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.5.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.7 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-05-07 14:00:30 +08:00
dependabot[bot] and Jun Yang
04c874b174
chore(deps): bump underscore from 1.9.1 to 1.13.1
...
Bumps [underscore](https://github.com/jashkenas/underscore ) from 1.9.1 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases )
- [Commits](https://github.com/jashkenas/underscore/compare/1.9.1...1.13.1 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-05-07 14:00:01 +08:00
allcontributors[bot] and Jun Yang
29f42847a5
docs: update .all-contributorsrc [skip ci]
2021-05-06 22:53:24 +08:00
allcontributors[bot] and Jun Yang
426863a9b4
docs: update README.md [skip ci]
2021-05-06 22:53:24 +08:00
Memmie Lenglet and Jun Yang
8f9639f1d6
feat: when tag with multiple values
2021-05-06 22:52:22 +08:00
semantic-release-bot
3e130e01a7
chore(release): 9.24.2 [skip ci]
...
## [9.24.2](https://github.com/harttle/liquidjs/compare/v9.24.1...v9.24.2 ) (2021-05-04)
### Bug Fixes
* operator boundary not correctly recognized, fixes [#342 ](https://github.com/harttle/liquidjs/issues/342 ) ([3e3d84a ](https://github.com/harttle/liquidjs/commit/3e3d84a ))
2021-05-04 10:16:44 +00:00
Jun Yang
3e3d84a5ed
fix: operator boundary not correctly recognized, fixes #342
2021-05-04 18:13:02 +08:00
dependabot[bot] and Jun Yang
69f1a394b1
chore(deps): bump ssri from 6.0.1 to 6.0.2
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-05-02 15:28:15 +08:00
semantic-release-bot
ae8636d95d
chore(release): 9.24.1 [skip ci]
...
## [9.24.1](https://github.com/harttle/liquidjs/compare/v9.24.0...v9.24.1 ) (2021-05-01)
### Bug Fixes
* make LiquidError context property public ([1fd76ac ](https://github.com/harttle/liquidjs/commit/1fd76ac ))
2021-05-01 12:03:18 +00:00
Laurin Quast and Jun Yang
1fd76acf28
fix: make LiquidError context property public
2021-05-01 20:00:02 +08:00
semantic-release-bot
62f8f707e9
chore(release): 9.24.0 [skip ci]
...
# [9.24.0](https://github.com/harttle/liquidjs/compare/v9.23.4...v9.24.0 ) (2021-05-01)
### Features
* add context as a property on the LiquidError error ([9c7cb57 ](https://github.com/harttle/liquidjs/commit/9c7cb57 ))
* export errors for better error handling in user-land ([4e394b9 ](https://github.com/harttle/liquidjs/commit/4e394b9 ))
2021-05-01 11:11:01 +00:00
Laurin Quast and Jun Yang
9c7cb5752b
feat: add context as a property on the LiquidError error
2021-05-01 19:07:40 +08:00
Laurin Quast and Jun Yang
4e394b9072
feat: export errors for better error handling in user-land
2021-05-01 19:06:33 +08:00
Jun Yang
251a50801c
chore: dev via windows+vscode
2021-04-17 11:43:03 +08:00
semantic-release-bot
aa5d63fdf7
chore(release): 9.23.4 [skip ci]
...
## [9.23.4](https://github.com/harttle/liquidjs/compare/v9.23.3...v9.23.4 ) (2021-04-17)
### Bug Fixes
* capitalize filter not lower case trailing string, fixes [#326 ](https://github.com/harttle/liquidjs/issues/326 ) ([6548765 ](https://github.com/harttle/liquidjs/commit/6548765 ))
2021-04-17 02:41:31 +00:00
Jun Yang
65487654c4
fix: capitalize filter not lower case trailing string, fixes #326
2021-04-17 10:30:57 +08:00
allcontributors[bot] and Jun Yang
8bab7957da
docs: update .all-contributorsrc [skip ci]
2021-04-17 10:21:19 +08:00
allcontributors[bot] and Jun Yang
666df5a8e6
docs: update README.md [skip ci]
2021-04-17 10:21:19 +08:00
cong and Jun Yang
a4aa9ba0d6
FIX: remove unnecessary code
2021-04-17 10:19:22 +08:00
cong and Jun Yang
f5f54c82bf
modified title using passed in variable
2021-04-17 10:19:22 +08:00
cong and Jun Yang
28f154554b
added tsconfig.json
2021-04-17 10:19:22 +08:00
cong and Jun Yang
2bc03d6a01
added typescript and @types/node packages
2021-04-17 10:19:22 +08:00
ZC and Jun Yang
354a971b9e
Revert change to line 17
...
The original is fine, emitter is not needed.
2021-04-17 10:18:39 +08:00
ZC and Jun Yang
b41be92dfd
Update register-filters-tags.md
2021-04-17 10:18:39 +08:00
ZC and Jun Yang
bad12ea936
Register tags documentation example updated
2021-04-17 10:18:39 +08:00
dependabot[bot] and Jun Yang
b5a22fa091
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /docs
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <[email protected] >
2021-04-03 00:01:54 +08:00
dependabot[bot] and Jun Yang
7d92f25cbb
chore(deps): bump y18n from 3.2.1 to 3.2.2
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <[email protected] >
2021-04-03 00:01:01 +08:00
harttle
4584867b65
docs: clarification on how to disable tags/filters, see #324
2021-03-21 22:30:53 +08:00
harttle
695e3c18bc
docs: add versions to tags/filters, see #305
2021-03-21 22:17:17 +08:00
semantic-release-bot
2133ed20d7
chore(release): 9.23.3 [skip ci]
...
## [9.23.3](https://github.com/harttle/liquidjs/compare/v9.23.2...v9.23.3 ) (2021-03-21)
### Bug Fixes
* expose TokenKind ([dbc23e8 ](https://github.com/harttle/liquidjs/commit/dbc23e8 ))
2021-03-21 11:32:39 +00:00
Matt Vague and harttle
dbc23e8b04
fix: expose TokenKind
2021-03-21 19:29:00 +08:00
semantic-release-bot
1acace5a16
chore(release): 9.23.2 [skip ci]
...
## [9.23.2](https://github.com/harttle/liquidjs/compare/v9.23.1...v9.23.2 ) (2021-03-13)
### Bug Fixes
* comparison for empty/nil, fixes [#321 ](https://github.com/harttle/liquidjs/issues/321 ) ([99d14e7 ](https://github.com/harttle/liquidjs/commit/99d14e7 ))
* newline_to_br filter should output <br /> instead of <br/>, fixes [#320 ](https://github.com/harttle/liquidjs/issues/320 ) ([9a9b792 ](https://github.com/harttle/liquidjs/commit/9a9b792 ))
2021-03-13 09:17:50 +00:00
Jun Yang
9a9b792c63
fix: newline_to_br filter should output <br /> instead of <br/>, fixes #320
2021-03-13 17:14:10 +08:00
Jun Yang
99d14e76d7
fix: comparison for empty/nil, fixes #321
2021-03-13 17:14:08 +08:00
dependabot[bot] and Jun Yang
aff9976042
chore(deps): bump pug-code-gen from 2.0.2 to 2.0.3 in /docs
...
Bumps [pug-code-gen](https://github.com/pugjs/pug ) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pugjs/pug/releases )
- [Commits](https://github.com/pugjs/pug/compare/[email protected] @2.0.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-03-09 22:47:42 +08:00
dependabot[bot] and Jun Yang
cd8cb39329
chore(deps): bump prismjs from 1.21.0 to 1.23.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-03-09 22:47:32 +08:00
dependabot[bot] and Jun Yang
9ed3b98db3
chore(deps): bump elliptic from 6.5.3 to 6.5.4
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-03-09 22:47:23 +08:00
semantic-release-bot
151ff4cbf3
chore(release): 9.23.1 [skip ci]
...
## [9.23.1](https://github.com/harttle/liquidjs/compare/v9.23.0...v9.23.1 ) (2021-02-19)
### Bug Fixes
* lenientIf not working for the umd bundle, closes [#313 ](https://github.com/harttle/liquidjs/issues/313 ) ([2e66e8b ](https://github.com/harttle/liquidjs/commit/2e66e8b ))
2021-02-19 15:29:27 +00:00
harttle
2e66e8b02e
fix: lenientIf not working for the umd bundle, closes #313
2021-02-19 23:10:15 +08:00
semantic-release-bot
24306722ec
chore(release): 9.23.0 [skip ci]
...
# [9.23.0](https://github.com/harttle/liquidjs/compare/v9.22.1...v9.23.0 ) (2021-02-12)
### Bug Fixes
* respect `fs` in parser options, for [#233 ](https://github.com/harttle/liquidjs/issues/233 ) ([4e82da6 ](https://github.com/harttle/liquidjs/commit/4e82da6 ))
### Features
* support filters in if/unless/case, see [#287 ](https://github.com/harttle/liquidjs/issues/287 ) ([2f059f6 ](https://github.com/harttle/liquidjs/commit/2f059f6 ))
* support function calls, closes [#222 ](https://github.com/harttle/liquidjs/issues/222 ) ([e37824f ](https://github.com/harttle/liquidjs/commit/e37824f ))
* support layout none, closes [#299 ](https://github.com/harttle/liquidjs/issues/299 ) ([81e11bb ](https://github.com/harttle/liquidjs/commit/81e11bb ))
2021-02-12 14:28:02 +00:00
harttle
2f059f6a25
feat: support filters in if/unless/case, see #287
2021-02-12 22:22:41 +08:00
harttle
4e82da689e
fix: respect fs in parser options, for #233
2021-02-12 15:17:21 +08:00
harttle
e37824fd8a
feat: support function calls, closes #222
2021-02-12 13:47:30 +08:00
harttle
81e11bb9c4
feat: support layout none, closes #299
2021-02-12 01:57:30 +08:00
semantic-release-bot
71d5d24813
chore(release): 9.22.1 [skip ci]
...
## [9.22.1](https://github.com/harttle/liquidjs/compare/v9.22.0...v9.22.1 ) (2021-02-05)
### Bug Fixes
* default to precedence 1 for custom operators ([20f559e ](https://github.com/harttle/liquidjs/commit/20f559e ))
2021-02-05 16:00:50 +00:00
Jason Etcovitch and Jun Yang
20f559e545
fix: default to precedence 1 for custom operators
2021-02-05 23:57:36 +08:00
harttle
dce75a1a22
docs: fix get started code block
2021-02-05 09:48:28 +08:00
semantic-release-bot
93ec151374
chore(release): 9.22.0 [skip ci]
...
# [9.22.0](https://github.com/harttle/liquidjs/compare/v9.21.0...v9.22.0 ) (2021-02-04)
### Features
* compact filter ([f42c217 ](https://github.com/harttle/liquidjs/commit/f42c217 ))
2021-02-04 14:52:00 +00:00
Peter deHaan and Jun Yang
29db1bb0e2
Update sidebar.yml
...
Add `compact` filter to sidebar nav.
2021-02-04 22:48:02 +08:00
harttle
f42c217fc0
feat: compact filter
2021-02-04 22:47:34 +08:00
semantic-release-bot
ec4a711e00
chore(release): 9.21.0 [skip ci]
...
# [9.21.0](https://github.com/harttle/liquidjs/compare/v9.20.1...v9.21.0 ) (2021-02-04)
### Features
* add `operators` option for custom operators ([75591cd ](https://github.com/harttle/liquidjs/commit/75591cd ))
* create trie programmatically in options ([befc33c ](https://github.com/harttle/liquidjs/commit/befc33c ))
* export OperatorMap type ([bc87e19 ](https://github.com/harttle/liquidjs/commit/bc87e19 ))
* export Operators from operator.ts ([6a7c280 ](https://github.com/harttle/liquidjs/commit/6a7c280 ))
* rename to defaultOperators and Operators ([8734e2e ](https://github.com/harttle/liquidjs/commit/8734e2e ))
2021-02-04 13:51:46 +00:00
Peter deHaan and Jun Yang
03893d585e
Typo: 'where' filter on filters/overview.md
2021-02-04 21:48:28 +08:00
allcontributors[bot] and Jun Yang
3b97c38ee5
docs: update .all-contributorsrc [skip ci]
2021-02-04 09:12:26 +08:00
allcontributors[bot] and Jun Yang
48a876db49
docs: update README.md [skip ci]
2021-02-04 09:12:26 +08:00
Jason Etcovitch and Jun Yang
befc33c4eb
feat: create trie programmatically in options
2021-02-04 09:11:28 +08:00
Jason Etcovitch and Jun Yang
8734e2e6ce
feat: rename to defaultOperators and Operators
2021-02-04 09:11:28 +08:00
Jason Etcovitch and Jun Yang
18055c8855
test: add LiquidOptions#operators test
2021-02-04 09:11:28 +08:00
Jason Etcovitch and Jun Yang
6a7c280f04
feat: export Operators from operator.ts
2021-02-04 09:11:28 +08:00
Jason Etcovitch and Jun Yang
bc87e19e3e
feat: export OperatorMap type
2021-02-04 09:11:28 +08:00
Jason Etcovitch and Jun Yang
75591cdbfc
feat: add operators option for custom operators
2021-02-04 09:11:28 +08:00
semantic-release-bot
5901611af5
chore(release): 9.20.1 [skip ci]
...
## [9.20.1](https://github.com/harttle/liquidjs/compare/v9.20.0...v9.20.1 ) (2021-01-24)
### Bug Fixes
* allow string literals contain delimiters, fixes [#288 ](https://github.com/harttle/liquidjs/issues/288 ) ([9c40da7 ](https://github.com/harttle/liquidjs/commit/9c40da7 ))
2021-01-24 04:52:24 +00:00
harttle
9c40da7369
fix: allow string literals contain delimiters, fixes #288
2021-01-24 12:49:19 +08:00
semantic-release-bot
5e7598ce45
chore(release): 9.20.0 [skip ci]
...
# [9.20.0](https://github.com/harttle/liquidjs/compare/v9.19.0...v9.20.0 ) (2021-01-23)
### Features
* support `{{block.super}}`, see [#38 ](https://github.com/harttle/liquidjs/issues/38 ) ([a3af44d ](https://github.com/harttle/liquidjs/commit/a3af44d ))
2021-01-23 19:01:03 +00:00
harttle
42591a04d8
docs: update dist links
2021-01-24 02:57:48 +08:00
harttle
a3af44dc10
feat: support {{block.super}}, see #38
2021-01-24 02:57:48 +08:00
dependabot[bot] and Jun Yang
0e0dc2adf0
chore(deps): bump ini from 1.3.5 to 1.3.7
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <[email protected] >
2021-01-24 02:36:33 +08:00
harttle
7b909c22a1
docs: demo for globals, for #286
2020-12-22 23:19:09 +08:00
semantic-release-bot
626f911503
chore(release): 9.19.0 [skip ci]
...
# [9.19.0](https://github.com/harttle/liquidjs/compare/v9.18.0...v9.19.0 ) (2020-12-18)
### Bug Fixes
* lint ([de32259 ](https://github.com/harttle/liquidjs/commit/de32259 ))
* move offset adding complexity inside TimezoneDate ([26b2175 ](https://github.com/harttle/liquidjs/commit/26b2175 ))
* simpler timezone regex and non-null offset ([e3ecfe3 ](https://github.com/harttle/liquidjs/commit/e3ecfe3 ))
### Features
* add preserveTimezones option ([d70cd2a ](https://github.com/harttle/liquidjs/commit/d70cd2a ))
* parse and handle date timezone offsets ([c16c787 ](https://github.com/harttle/liquidjs/commit/c16c787 ))
2020-12-18 14:07:14 +00:00
Joonas and Jun Yang
de32259bb9
fix: lint
2020-12-18 22:03:58 +08:00
Joonas and Jun Yang
d70cd2a1ea
feat: add preserveTimezones option
2020-12-18 22:03:58 +08:00
Joonas and Jun Yang
26b217542b
fix: move offset adding complexity inside TimezoneDate
2020-12-18 22:03:58 +08:00
Joonas and Jun Yang
e3ecfe3adc
fix: simpler timezone regex and non-null offset
2020-12-18 22:03:58 +08:00
wyozi and Jun Yang
c16c787861
feat: parse and handle date timezone offsets
2020-12-18 22:03:58 +08:00
semantic-release-bot
13f5f95d01
chore(release): 9.18.0 [skip ci]
...
# [9.18.0](https://github.com/harttle/liquidjs/compare/v9.17.0...v9.18.0 ) (2020-12-17)
### Bug Fixes
* address refactor comments ([6a0ad10 ](https://github.com/harttle/liquidjs/commit/6a0ad10 ))
### Features
* add option for keeping variable type in output ([cd92e77 ](https://github.com/harttle/liquidjs/commit/cd92e77 ))
2020-12-17 15:17:09 +00:00
harttle
c8db5e6259
docs: try fix special chars in changelog.md
2020-12-17 23:08:54 +08:00
allcontributors[bot] and Jun Yang
9e511ecd14
docs: update .all-contributorsrc [skip ci]
2020-12-16 10:23:26 +08:00
allcontributors[bot] and Jun Yang
45d95bb8d8
docs: update README.md [skip ci]
2020-12-16 10:23:26 +08:00
Pixcell and Jun Yang
8d3eca6ee2
stringify value in emitter when concatenating it
2020-12-16 10:20:10 +08:00
Alex de Wergifosse and Jun Yang
6a0ad102a8
fix: address refactor comments
2020-12-16 10:20:10 +08:00
Alex de Wergifosse and Jun Yang
b8e4b3337b
test: add tests for keepOutputType option
2020-12-16 10:20:10 +08:00
Alex de Wergifosse and Jun Yang
cd92e77726
feat: add option for keeping variable type in output
2020-12-16 10:20:10 +08:00
allcontributors[bot] and Jun Yang
e84fbf32ad
docs: update .all-contributorsrc [skip ci]
2020-12-14 22:49:50 +08:00
allcontributors[bot] and Jun Yang
0266b27838
docs: update README.md [skip ci]
2020-12-14 22:49:50 +08:00
semantic-release-bot
090c88eb92
chore(release): 9.17.0 [skip ci]
...
# [9.17.0](https://github.com/harttle/liquidjs/compare/v9.16.1...v9.17.0 ) (2020-12-07)
### Bug Fixes
* elsif is not supported for unless, fixes [#268 ](https://github.com/harttle/liquidjs/issues/268 ) ([2bbf501 ](https://github.com/harttle/liquidjs/commit/2bbf501 ))
* enforce string-type pattern in `replace`, fixes [#243 ](https://github.com/harttle/liquidjs/issues/243 ) ([c8afa39 ](https://github.com/harttle/liquidjs/commit/c8afa39 ))
* raw block not ignoring {% characters, fixes [#263 ](https://github.com/harttle/liquidjs/issues/263 ) ([a492d8e ](https://github.com/harttle/liquidjs/commit/a492d8e ))
### Features
* passing liquid to FilterImpl, closes [#277 ](https://github.com/harttle/liquidjs/issues/277 ) ([f9f595f ](https://github.com/harttle/liquidjs/commit/f9f595f ))
2020-12-07 16:34:49 +00:00
harttle
e15803fae4
test: fix e2e test
2020-12-08 00:30:32 +08:00
harttle
117673a725
style: make eslint check .ts files
2020-12-08 00:24:07 +08:00
harttle
ef43120d6e
test: fix test cases after rebase
2020-12-08 00:20:43 +08:00
harttle
f9f595f0f4
feat: passing liquid to FilterImpl, closes #277
2020-12-08 00:17:27 +08:00
harttle
2bbf50171b
fix: elsif is not supported for unless, fixes #268
2020-12-08 00:16:36 +08:00
harttle
a492d8e23d
fix: raw block not ignoring {% characters, fixes #263
2020-12-08 00:12:20 +08:00
harttle
c8afa39a01
fix: enforce string-type pattern in replace, fixes #243
2020-12-08 00:08:31 +08:00
sschuldenzucker and Jun Yang
d8f9091a12
add and use error classes for undefined variables
...
cleans up funky message-matching code in expression.ts for lenient.
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
ca18a579a1
Expression: minor type change & simplification
...
pre-fetching postfix simplifies code for 'lenient'
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
6f2b24f7ca
implement lenientIf for the unless tag, too
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
87d7dd0d37
docs for the lenientIf option
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
768fb79e32
Implement lenientIf option ( resolve #265 ; default off)
...
See description of the option in liquid-options.ts.
2020-12-06 22:58:08 +08:00
sschuldenzucker and Jun Yang
c920ebb282
fix test: don't pass {} for Context
2020-12-06 22:58:08 +08:00
Jun Yang and GitHub
9706e8b411
docs: add a security policy, see #254
2020-11-29 20:59:00 +08:00
dependabot[bot] and Jun Yang
75698eefec
chore(deps): bump highlight.js from 9.18.1 to 9.18.5 in /docs
...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js ) from 9.18.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases )
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md )
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...9.18.5 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-11-25 21:56:22 +08:00
dependabot[bot] and Jun Yang
dfd358c0a2
chore(deps): bump highlight.js from 9.15.9 to 9.18.5
...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js ) from 9.15.9 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases )
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md )
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.15.9...9.18.5 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-11-25 21:55:58 +08:00
dependabot[bot] and Jun Yang
4c70946fa1
chore(deps-dev): bump semantic-release from 15.13.19 to 17.2.3
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 15.13.19 to 17.2.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v15.13.19...v17.2.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-11-20 22:11:04 +08:00
Jun Yang and GitHub
9d9c0c1ca7
docs: update the UMD url and jsFiddle demo, see #264
2020-11-08 12:18:37 +08:00
semantic-release-bot
a9d3a5a402
chore(release): 9.16.1 [skip ci]
...
## [9.16.1](https://github.com/harttle/liquidjs/compare/v9.16.0...v9.16.1 ) (2020-10-09)
### Bug Fixes
* braced property access ([18a807e ](https://github.com/harttle/liquidjs/commit/18a807e ))
2020-10-09 13:22:06 +00:00
wyozi and Jun Yang
30dffb675e
Test for broken quoted property access
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
e67c3c6924
Make end brace peek stricter and fix the test
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
e2e410f334
Add incomplete quoted property access test
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
27ce44238e
Test getVariableAsText
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
abfaf8a042
Test quoted property access tokenizing
2020-10-09 21:18:40 +08:00
wyozi and Jun Yang
18a807ea2e
fix: braced property access
2020-10-09 21:18:40 +08:00
harttle
a6126c3bea
docs: add amit777 as contributor for code
2020-10-08 16:57:59 +08:00
harttle
a96d772963
docs: format
2020-10-08 14:40:58 +08:00
semantic-release-bot
732ef2605e
chore(release): 9.16.0 [skip ci]
...
# [9.16.0](https://github.com/harttle/liquidjs/compare/v9.15.1...v9.16.0 ) (2020-10-08)
### Features
* support jsTruthy, [#255 ](https://github.com/harttle/liquidjs/issues/255 ) [#257 ](https://github.com/harttle/liquidjs/issues/257 ) ([72ee7b4 ](https://github.com/harttle/liquidjs/commit/72ee7b4 ))
2020-10-08 05:15:00 +00:00
harttle
72ee7b4c1e
feat: support jsTruthy, #255 #257
2020-10-08 13:11:02 +08:00
Amit Gupta and Jun Yang
f807383f2a
resolved issues raised by hhartle
2020-10-08 12:43:37 +08:00
Amit Gupta and Jun Yang
02bfed1c57
Added jsTruthy flag to constuctor in order to enable JS style truthiness evaluation
2020-10-08 12:43:37 +08:00
harttle
b11df79b91
test: make it pass regardless timezone, #257
2020-10-08 09:38:10 +08:00
semantic-release-bot
8ee9bd7ba8
chore(release): 9.15.1 [skip ci]
...
## [9.15.1](https://github.com/harttle/liquidjs/compare/v9.15.0...v9.15.1 ) (2020-10-03)
### Bug Fixes
* allow quoted variable name in capture, fixes [#252 ](https://github.com/harttle/liquidjs/issues/252 ) ([5b3f419 ](https://github.com/harttle/liquidjs/commit/5b3f419 ))
2020-10-03 14:06:41 +00:00
harttle
5b3f4195f0
fix: allow quoted variable name in capture, fixes #252
2020-10-03 22:03:17 +08:00
dependabot[bot] and Jun Yang
236d971705
chore(deps): bump node-fetch from 2.6.0 to 2.6.1
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-10-03 20:36:06 +08:00
Jun Yang and GitHub
0cd4d87d46
docs: update the demo on index page, fixes #247
2020-09-11 22:30:21 +08:00
harttle
1fdfd4a68a
docs: show social share on small screens
2020-08-12 20:37:07 +08:00
dependabot[bot] and Jun Yang
c1f73a9f03
chore(deps): bump prismjs from 1.19.0 to 1.21.0 in /docs
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.19.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.19.0...v1.21.0 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-08-08 22:14:03 +08:00
semantic-release-bot
d8f550e447
chore(release): 9.15.0 [skip ci]
...
# [9.15.0](https://github.com/harttle/liquidjs/compare/v9.14.1...v9.15.0 ) (2020-08-04)
### Features
* export toPromise and toValue, see [#158 ](https://github.com/harttle/liquidjs/issues/158 ) ([2e5ab98 ](https://github.com/harttle/liquidjs/commit/2e5ab98 ))
2020-08-04 16:58:57 +00:00
harttle
2e5ab98bfc
feat: export toPromise and toValue, see #158
2020-08-05 00:46:01 +08:00
harttle
0dbb7792d7
docs: fix button style
2020-08-01 22:00:12 +08:00
dependabot[bot] and Jun Yang
e10ce657dd
chore(deps): bump elliptic from 6.5.0 to 6.5.3
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.0...v6.5.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-07-30 22:42:19 +08:00
harttle
3713fa08b2
docs: credit Peter deHaan as contributor
2020-07-25 23:31:48 +08:00
harttle
c5002d8cad
docs: location.hash for source code
2020-07-25 01:23:47 +08:00
dependabot[bot] and Jun Yang
00b0a5708c
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /docs
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-07-20 21:14:42 +08:00
semantic-release-bot
f82ee8a18c
chore(release): 9.14.1 [skip ci]
...
## [9.14.1](https://github.com/harttle/liquidjs/compare/v9.14.0...v9.14.1 ) (2020-07-08)
### Bug Fixes
* enumerate Promises (e.g. in for & tablerow) ([#237 ](https://github.com/harttle/liquidjs/issues/237 )) ([941dd66 ](https://github.com/harttle/liquidjs/commit/941dd66 ))
2020-07-08 17:40:43 +00:00
dependabot[bot] and Jun Yang
632bb6b077
chore(deps): bump npm from 6.13.4 to 6.14.6
...
Bumps [npm](https://github.com/npm/cli ) from 6.13.4 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.13.4...v6.14.6 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-07-09 01:36:21 +08:00
0b6ee9bca1
docs: add tejasmanohar as a contributor ( #238 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-06-28 09:57:45 +08:00
Tejas Manohar and GitHub
941dd668fe
fix: enumerate Promises (e.g. in for & tablerow) ( #237 )
...
* fix: enumerate Promise<array> (e.g. in {% for ... %})
Previously, a Promise of an array was not being enumerated in
{% for %}, for example. This is misleading since the library
handles promises elsewhere (e.g. if you {% assign x = promiseArray %}
and then {% for v in x %}, it worked just fine.
This PR makes Promises of arrays handled by changing toEnumerable
to handle then-ables. This affects other iterators, too, e.g. tablerow,
so I put in a test for that as well.
2020-06-28 09:55:56 +08:00
semantic-release-bot
11ffd65503
chore(release): 9.14.0 [skip ci]
...
# [9.14.0](https://github.com/harttle/liquidjs/compare/v9.13.0...v9.14.0 ) (2020-06-25)
### Features
* setup universal browser and node builds ([6cf6ffa ](https://github.com/harttle/liquidjs/commit/6cf6ffa ))
2020-06-25 12:14:45 +00:00
Jun Yang and GitHub
ce0280ca9f
Merge pull request #235 from harttle/all-contributors/add-TrySound
...
docs: add TrySound as a contributor
2020-06-25 20:10:15 +08:00
allcontributors[bot] and GitHub
1066ef0f76
docs: update .all-contributorsrc [skip ci]
2020-06-25 12:09:50 +00:00
allcontributors[bot] and GitHub
7b38c28d52
docs: update README.md [skip ci]
2020-06-25 12:09:49 +00:00
Jun Yang and GitHub
97e7983bd8
Merge pull request #234 from TrySound/proper-modules
...
feat: setup universal browser and node builds
2020-06-25 20:08:47 +08:00
Bogdan Chadkin
6cf6ffae90
feat: setup universal browser and node builds
...
In this diff I fixed es modules distribution for bundlers.
Before we had two problems
- bundlers use "module" field to find es module build
- bundlers cannot use provided es module with node target
In this diff I addressed both of them. Now "main" and "module" fields
points to "node" specific versions. "browser" field provides aliases
with browser compatible builds.
All modern browsers support both "module" and "browser" fields.
2020-06-25 13:30:56 +03:00
semantic-release-bot
04873a4e9c
chore(release): 9.13.0 [skip ci]
...
# [9.13.0](https://github.com/harttle/liquidjs/compare/v9.12.0...v9.13.0 ) (2020-06-25)
### Features
* async filters, closes [#232 ](https://github.com/harttle/liquidjs/issues/232 ) ([e36f3ff ](https://github.com/harttle/liquidjs/commit/e36f3ff ))
2020-06-25 05:56:31 +00:00
harttle
1a08efd402
docs: better style for API doc
2020-06-25 13:15:02 +08:00
harttle
e36f3ff291
feat: async filters, closes #232
2020-06-25 12:30:56 +08:00
harttle
f3f017bd37
style: spaces and extra NL
2020-05-30 22:13:20 +08:00
harttle
0d20a344b6
docs: manifest for liquidjs.com
2020-05-23 02:14:23 +08:00
Jun Yang and GitHub
3acbdfc1b7
Merge pull request #229 from stedman/patch-1
...
docs: Add hashes to `for` tag documentation
2020-05-23 01:56:13 +08:00
Anthony Ciccarello and Jun Yang
ed994bdbd5
fix elsif spelling on tags overview in docs
2020-05-23 01:56:03 +08:00
dependabot[bot] and Jun Yang
27a4c7666b
chore(deps): bump jquery from 3.4.1 to 3.5.0
...
Bumps [jquery](https://github.com/jquery/jquery ) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases )
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-05-23 01:55:30 +08:00
harttle
064ea99f49
docs: add credit for @stedman ( #229 ) and @aciccarello ( #223 )
2020-05-22 11:44:23 +08:00
harttle
71fb8a8b7c
chore: +pre-commit hook, -commitlint on travis
2020-05-22 11:41:32 +08:00
Steve Stedman
acdd121a61
docs: Add hashes to for tag documentation
...
This extremely helpful information was found at https://github.com/Shopify/liquid/wiki/Liquid-for-Designers#allowed-collection-types
2020-05-21 11:11:01 -05:00
semantic-release-bot
2de853e814
chore(release): 9.12.0 [skip ci]
...
# [9.12.0](https://github.com/harttle/liquidjs/compare/v9.11.11...v9.12.0 ) (2020-05-15)
### Features
* sort by key, see [#227 ](https://github.com/harttle/liquidjs/issues/227 ) ([4f17c94 ](https://github.com/harttle/liquidjs/commit/4f17c94 ))
2020-05-15 16:59:44 +00:00
harttle
4f17c94988
feat: sort by key, see #227
2020-05-16 00:54:40 +08:00
semantic-release-bot
d39f65c564
chore(release): 9.11.11 [skip ci]
...
## [9.11.11](https://github.com/harttle/liquidjs/compare/v9.11.10...v9.11.11 ) (2020-05-01)
### Bug Fixes
* properly treat unicode blanks, fixes [#221 ](https://github.com/harttle/liquidjs/issues/221 ) ([673b015 ](https://github.com/harttle/liquidjs/commit/673b015 ))
2020-05-01 07:20:59 +00:00
harttle
673b015435
fix: properly treat unicode blanks, fixes #221
2020-04-28 20:55:30 +08:00
harttle
2fa4edaa84
docs: more specific description of strftime
2020-04-19 13:15:11 +08:00
dependabot[bot] and Jun Yang
83b46bd25d
chore(deps): bump https-proxy-agent from 2.2.2 to 2.2.4
...
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent ) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases )
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.2...2.2.4 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-04-18 14:58:17 +08:00
harttle
4e34e78176
docs: fix docsearch
2020-04-12 20:45:52 +08:00
harttle
3873ba0783
docs: docsearch
2020-04-11 21:52:55 +08:00
dependabot[bot] and Jun Yang
4799a98bf9
chore(deps): bump acorn from 3.3.0 to 6.4.1
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 3.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/3.3.0...6.4.1 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-04-04 12:17:47 +08:00
semantic-release-bot
0953680112
chore(release): 9.11.10 [skip ci]
...
## [9.11.10](https://github.com/harttle/liquidjs/compare/v9.11.9...v9.11.10 ) (2020-04-03)
### Bug Fixes
* respect cache render options ([a93f11d ](https://github.com/harttle/liquidjs/commit/a93f11d ))
2020-04-03 15:11:24 +00:00
harttle
f6789f517c
docs: make it clear for extnames, see #214
2020-04-03 23:08:09 +08:00
allcontributors[bot] and Jun Yang
5099b2a762
docs: update README.md [skip ci]
2020-04-03 10:44:38 +08:00
Martin Schuster and Jun Yang
a93f11d25a
fix: respect cache render options
2020-04-03 10:42:32 +08:00
harttle
3cf8072df5
docs: fix news date in liquidjs.com
2020-04-01 14:34:13 +08:00
semantic-release-bot
bf609b443b
chore(release): 9.11.9 [skip ci]
...
## [9.11.9](https://github.com/harttle/liquidjs/compare/v9.11.8...v9.11.9 ) (2020-03-31)
### Bug Fixes
* coerce to Array in `map` and `where` filter ([c923598 ](https://github.com/harttle/liquidjs/commit/c923598 ))
2020-03-31 18:26:08 +00:00
harttle
c923598b40
fix: coerce to Array in map and where filter
2020-04-01 02:22:44 +08:00
semantic-release-bot
d65ed408f0
chore(release): 9.11.8 [skip ci]
...
## [9.11.8](https://github.com/harttle/liquidjs/compare/v9.11.7...v9.11.8 ) (2020-03-31)
### Bug Fixes
* throw an error if : omitted unintentionally, [#212 ](https://github.com/harttle/liquidjs/issues/212 ), [#208 ](https://github.com/harttle/liquidjs/issues/208 ) ([8daf281 ](https://github.com/harttle/liquidjs/commit/8daf281 ))
2020-03-31 16:05:54 +00:00
harttle
e750c35f8c
docs: add @cfjedimaster as a contributor
2020-04-01 00:02:17 +08:00
harttle
8daf281fca
fix: throw an error if : omitted unintentionally, #212 , #208
2020-03-31 14:05:38 +08:00
harttle
c30766ffe1
style: eslint fix docs/
2020-03-31 01:25:31 +08:00
Raymond Camden and Jun Yang
bf23116ce5
Update demo.liquid
...
Fix typo
2020-03-30 21:17:04 +08:00
harttle
983bcf467a
docs: add tutorials/options.md
2020-03-29 22:10:52 +08:00
harttle
9ebf11edcf
docs: update README to refer to liquidjs.com
2020-03-28 21:09:08 +08:00
semantic-release-bot
8d0ef21267
chore(release): 9.11.7 [skip ci]
...
## [9.11.7](https://github.com/harttle/liquidjs/compare/v9.11.6...v9.11.7 ) (2020-03-28)
### Bug Fixes
* try fix travis ([b3db412 ](https://github.com/harttle/liquidjs/commit/b3db412 ))
2020-03-28 10:12:33 +00:00
harttle
687d3ad12a
chore: try fix travis again
2020-03-28 18:08:30 +08:00
harttle
b3db412428
fix: try fix travis
2020-03-28 17:50:51 +08:00
harttle
3e42d6b1b0
docs: website for LiquidJS
2020-03-28 17:21:07 +08:00
semantic-release-bot
0633dbeabb
chore(release): 9.11.6 [skip ci]
...
## [9.11.6](https://github.com/harttle/liquidjs/compare/v9.11.5...v9.11.6 ) (2020-03-25)
### Bug Fixes
* default filter not applied for empty array ([c371762 ](https://github.com/harttle/liquidjs/commit/c371762 ))
2020-03-25 17:42:48 +00:00
harttle
c371762c43
fix: default filter not applied for empty array
2020-03-26 01:39:30 +08:00
semantic-release-bot
94d67d254d
chore(release): 9.11.5 [skip ci]
...
## [9.11.5](https://github.com/harttle/liquidjs/compare/v9.11.4...v9.11.5 ) (2020-03-24)
### Bug Fixes
* throws on invalid arguments for prepend/append, fixes [#208 ](https://github.com/harttle/liquidjs/issues/208 ) ([479c633 ](https://github.com/harttle/liquidjs/commit/479c633 ))
2020-03-24 16:29:26 +00:00
harttle
02e6171e25
chore: fix types
2020-03-25 00:25:47 +08:00
harttle
479c63350a
fix: throws on invalid arguments for prepend/append, fixes #208
2020-03-24 23:57:26 +08:00
semantic-release-bot
60c14ba057
chore(release): 9.11.4 [skip ci]
...
## [9.11.4](https://github.com/harttle/liquidjs/compare/v9.11.3...v9.11.4 ) (2020-03-23)
### Bug Fixes
* return variable name in include error ([93433a8 ](https://github.com/harttle/liquidjs/commit/93433a8 ))
2020-03-23 17:31:37 +00:00
harttle
c95b5bd718
docs: update README
2020-03-24 01:28:17 +08:00
allcontributors[bot] and Jun Yang
4cb713dbf6
docs: update .all-contributorsrc [skip ci]
2020-03-23 23:28:49 +08:00
allcontributors[bot] and Jun Yang
e97db63249
docs: update README.md [skip ci]
2020-03-23 23:28:49 +08:00
Cristofer Gonzales and Jun Yang
93433a8b30
fix: return variable name in include error
2020-03-23 23:26:31 +08:00
harttle
6bf242b9fa
docs: reorder badges
2020-03-22 19:05:18 +08:00
Jun Yang
c36801640d
docs: update README.md to hornor backers
2020-03-17 01:36:07 +08:00
semantic-release-bot
14b04688b5
chore(release): 9.11.3 [skip ci]
...
## [9.11.3](https://github.com/harttle/liquidjs/compare/v9.11.2...v9.11.3 ) (2020-03-14)
### Performance Improvements
* introduce AST to avoid reparse ([d2d6a38 ](https://github.com/harttle/liquidjs/commit/d2d6a38 ))
* remove instanceof DelimitedToken ([1673e84 ](https://github.com/harttle/liquidjs/commit/1673e84 ))
2020-03-14 18:54:31 +00:00
harttle
1673e84e27
perf: remove instanceof DelimitedToken
2020-03-15 02:51:25 +08:00
harttle
d2d6a38235
perf: introduce AST to avoid reparse
2020-03-15 02:51:25 +08:00
semantic-release-bot
3b58f1c3f6
chore(release): 9.11.2 [skip ci]
...
## [9.11.2](https://github.com/harttle/liquidjs/compare/v9.11.1...v9.11.2 ) (2020-03-14)
### Performance Improvements
* remove transient strings to reduce memory ([3dfdf98 ](https://github.com/harttle/liquidjs/commit/3dfdf98 ))
2020-03-14 11:08:23 +00:00
dependabot[bot] and Jun Yang
dd339dab05
chore(deps): bump acorn from 6.2.1 to 6.4.1
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.2.1 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.2.1...6.4.1 )
Signed-off-by: dependabot[bot] <[email protected] >
2020-03-14 19:05:10 +08:00
harttle
f7ef9b61c1
refactor: remove src/render/value.ts
2020-03-14 19:04:18 +08:00
harttle
3dfdf982c9
perf: remove transient strings to reduce memory
2020-03-14 19:04:18 +08:00
harttle
0f25017d5d
test: test case for array index, #201
2020-03-11 01:09:58 +08:00
semantic-release-bot
8f05784a0c
chore(release): 9.11.1 [skip ci]
...
## [9.11.1](https://github.com/harttle/liquidjs/compare/v9.11.0...v9.11.1 ) (2020-03-09)
### Bug Fixes
* concurrent write on LRU cache ([#200 ](https://github.com/harttle/liquidjs/issues/200 )) ([6de9338 ](https://github.com/harttle/liquidjs/commit/6de9338 ))
2020-03-09 17:23:57 +00:00
harttle
76f69db752
style: eslint ignore docs/
2020-03-10 01:19:40 +08:00
harttle
3aa47f6c85
chore: add todolist for benchmark case
2020-03-10 01:10:13 +08:00
harttle
6de933897e
fix: concurrent write on LRU cache ( #200 )
2020-03-10 01:09:41 +08:00
harttle
06ad0481db
docs: fix demos
2020-03-10 01:08:25 +08:00
harttle
2c428221cb
test: cases for TagMap
2020-03-07 00:58:39 +08:00
allcontributors[bot] and Jun Yang
73dd48861d
docs: update .all-contributorsrc [skip ci]
2020-03-05 02:14:49 +08:00
allcontributors[bot] and Jun Yang
76087b8ec2
docs: update README.md [skip ci]
2020-03-05 02:14:49 +08:00
semantic-release-bot
4826f48f1c
chore(release): 9.11.0 [skip ci]
...
# [9.11.0](https://github.com/harttle/liquidjs/compare/v9.10.0...v9.11.0 ) (2020-03-04)
### Bug Fixes
* `Buffer not defined` for browser bundles, fixes [#197 ](https://github.com/harttle/liquidjs/issues/197 ) ([65b849c ](https://github.com/harttle/liquidjs/commit/65b849c ))
* stable sort for undefined keys, fixes [#191 ](https://github.com/harttle/liquidjs/issues/191 ) ([f57156b ](https://github.com/harttle/liquidjs/commit/f57156b ))
### Features
* async cache.read()/write(), remove .has() ([61dac49 ](https://github.com/harttle/liquidjs/commit/61dac49 ))
2020-03-04 18:08:40 +00:00
harttle
f57156bccd
fix: stable sort for undefined keys, fixes #191
2020-03-05 02:04:58 +08:00
harttle
61dac49b04
feat: async cache.read()/write(), remove .has()
2020-03-05 01:47:53 +08:00
harttle
65b849c02a
fix: Buffer not defined for browser bundles, fixes #197
2020-03-05 01:46:38 +08:00
semantic-release-bot
607a5cda3f
chore(release): 9.10.0 [skip ci]
...
# [9.10.0](https://github.com/harttle/liquidjs/compare/v9.9.0...v9.10.0 ) (2020-03-03)
### Features
* support json filter, closes [#192 ](https://github.com/harttle/liquidjs/issues/192 ) ([aa27a6c ](https://github.com/harttle/liquidjs/commit/aa27a6c ))
* with & for in `render` tag, closes [#195 ](https://github.com/harttle/liquidjs/issues/195 ) ([6ea6881 ](https://github.com/harttle/liquidjs/commit/6ea6881 ))
2020-03-03 23:12:54 +00:00
harttle
6ea6881f08
feat: with & for in render tag, closes #195
2020-03-04 07:08:54 +08:00
harttle
aa27a6cd7b
feat: support json filter, closes #192
2020-03-04 03:42:18 +08:00
harttle
152778b6e3
docs: include demo for LiquidJS used in browsers, #165
2020-03-03 00:37:37 +08:00
semantic-release-bot
3bf926b434
chore(release): 9.9.0 [skip ci]
...
# [9.9.0](https://github.com/harttle/liquidjs/compare/v9.8.0...v9.9.0 ) (2020-03-02)
### Features
* move filters/tags to instances, fixes [#188 ](https://github.com/harttle/liquidjs/issues/188 ) ([df8a919 ](https://github.com/harttle/liquidjs/commit/df8a919 ))
2020-03-02 16:11:08 +00:00
harttle
df8a919f71
feat: move filters/tags to instances, fixes #188
2020-03-03 00:02:29 +08:00
semantic-release-bot
f6762078e0
chore(release): 9.8.0 [skip ci]
...
# [9.8.0](https://github.com/harttle/liquidjs/compare/v9.7.2...v9.8.0 ) (2020-02-20)
### Features
* "today" when using date filter, fixes [#193 ](https://github.com/harttle/liquidjs/issues/193 ) ([185312d ](https://github.com/harttle/liquidjs/commit/185312d ))
2020-02-20 17:53:27 +00:00
harttle
185312dbff
feat: "today" when using date filter, fixes #193
2020-02-21 01:48:10 +08:00
semantic-release-bot
5cd42f4500
chore(release): 9.7.2 [skip ci]
...
## [9.7.2](https://github.com/harttle/liquidjs/compare/v9.7.1...v9.7.2 ) (2020-02-20)
### Bug Fixes
* add funding entry to show up in npm fund command ([40095a8 ](https://github.com/harttle/liquidjs/commit/40095a8 ))
2020-02-20 17:37:45 +00:00
Zach Leatherman and Jun Yang
40095a8e71
fix: add funding entry to show up in npm fund command
2020-02-21 01:33:43 +08:00
semantic-release-bot
14527a2545
chore(release): 9.7.1 [skip ci]
...
## [9.7.1](https://github.com/harttle/liquidjs/compare/v9.7.0...v9.7.1 ) (2020-02-19)
### Bug Fixes
* update index.html ([22386b0 ](https://github.com/harttle/liquidjs/commit/22386b0 ))
2020-02-19 10:31:46 +00:00
Peter deHaan and harttle
22386b0212
fix: update index.html
...
Fix a couple of errors that were appearing on https://harttle.land/liquidjs/#feature-list
2020-02-19 18:27:09 +08:00
semantic-release-bot
66541a62fd
chore(release): 9.7.0 [skip ci]
...
# [9.7.0](https://github.com/harttle/liquidjs/compare/v9.6.2...v9.7.0 ) (2020-02-07)
### Bug Fixes
* expression and string literal parser, [#186 ](https://github.com/harttle/liquidjs/issues/186 ) ([fc0cf6f ](https://github.com/harttle/liquidjs/commit/fc0cf6f ))
### Features
* globals shared between tags, see [#185 ](https://github.com/harttle/liquidjs/issues/185 ) ([870e7ec ](https://github.com/harttle/liquidjs/commit/870e7ec ))
2020-02-07 21:05:21 +00:00
harttle
870e7ec6aa
feat: globals shared between tags, see #185
2020-02-08 04:59:23 +08:00
harttle
fc0cf6fe7b
fix: expression and string literal parser, #186
2020-02-08 03:15:55 +08:00
allcontributors[bot] and Jun Yang
46b69db87a
docs: update .all-contributorsrc [skip ci]
2020-01-10 11:32:04 +08:00
allcontributors[bot] and Jun Yang
9733199dc3
docs: update README.md [skip ci]
2020-01-10 11:32:04 +08:00
semantic-release-bot
1e6e9fe1a9
chore(release): 9.6.2 [skip ci]
...
## [9.6.2](https://github.com/harttle/liquidjs/compare/v9.6.1...v9.6.2 ) (2020-01-10)
### Performance Improvements
* prevent multiple case evaluations ([807e840 ](https://github.com/harttle/liquidjs/commit/807e840 ))
2020-01-10 03:29:50 +00:00
Martin Schuster and Jun Yang
807e840712
perf: prevent multiple case evaluations
2020-01-10 11:25:52 +08:00
harttle
a9afc9730c
docs: add tgrandgent as contributor
2020-01-04 13:55:14 +08:00
harttle
5f9abdc8c6
test: integration cases for opts.fs, see #181
2020-01-04 13:53:08 +08:00
semantic-release-bot
e24d9ab1b6
chore(release): 9.6.1 [skip ci]
...
## [9.6.1](https://github.com/harttle/liquidjs/compare/v9.6.0...v9.6.1 ) (2020-01-04)
### Bug Fixes
* add `this` to fs references in parseFile ([4b079c5 ](https://github.com/harttle/liquidjs/commit/4b079c5 ))
2020-01-04 04:09:40 +00:00
tgrandgent and Jun Yang
4b079c54b1
fix: add this to fs references in parseFile
2020-01-04 12:05:39 +08:00
dependabot[bot] and Jun Yang
b600028607
chore(deps): bump handlebars from 4.1.0 to 4.5.3
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.5.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2019-12-26 22:50:33 -06:00
semantic-release-bot
5ec3f95317
chore(release): 9.6.0 [skip ci]
...
# [9.6.0](https://github.com/harttle/liquidjs/compare/v9.5.0...v9.6.0 ) (2019-12-15)
### Features
* full syntax for strftime, close [#177 ](https://github.com/harttle/liquidjs/issues/177 ) ([ba5ff3f ](https://github.com/harttle/liquidjs/commit/ba5ff3f ))
2019-12-15 02:33:24 +00:00
harttle
ba5ff3f41c
feat: full syntax for strftime, close #177
...
- strftime syntax: <flags><width><modifier><conversion>
- new conversions: %n, %t
- fixed conversions: %N
- flags: _ ^ - 0 # :
- modifiers: E, O (ignored)
2019-12-15 02:28:33 +00:00
harttle
c69ad538d4
test: remove mock for strftime cases
2019-12-14 18:34:14 +00:00
dependabot[bot] and Jun Yang
a373e50990
chore(deps): bump npm from 6.10.2 to 6.13.4
...
Bumps [npm](https://github.com/npm/cli ) from 6.10.2 to 6.13.4.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.10.2...v6.13.4 )
Signed-off-by: dependabot[bot] <[email protected] >
2019-12-14 00:28:06 -06:00
semantic-release-bot
90d78ae6d5
chore(release): 9.5.0 [skip ci]
...
# [9.5.0](https://github.com/harttle/liquidjs/compare/v9.4.2...v9.5.0 ) (2019-12-12)
### Features
* nested property for the `where` filter, [#178 ](https://github.com/harttle/liquidjs/issues/178 ) ([60ec74f ](https://github.com/harttle/liquidjs/commit/60ec74f ))
2019-12-12 17:21:49 +00:00
harttle
60ec74f55d
feat: nested property for the where filter, #178
2019-12-13 01:15:29 +08:00
semantic-release-bot
6502984b50
chore(release): 9.4.2 [skip ci]
...
## [9.4.2](https://github.com/harttle/liquidjs/compare/v9.4.1...v9.4.2 ) (2019-11-15)
### Bug Fixes
* reading .first, .last of Array, closes [#175 ](https://github.com/harttle/liquidjs/issues/175 ) ([f82da11 ](https://github.com/harttle/liquidjs/commit/f82da11 ))
2019-11-15 17:19:40 +00:00
harttle
f82da11f5a
fix: reading .first, .last of Array, closes #175
2019-11-16 01:14:09 +08:00
semantic-release-bot
ef289039fb
chore(release): 9.4.1 [skip ci]
...
## [9.4.1](https://github.com/harttle/liquidjs/compare/v9.4.0...v9.4.1 ) (2019-11-15)
### Bug Fixes
* remove node dependencies for esm bundle, see [#173 ](https://github.com/harttle/liquidjs/issues/173 ) ([04df929 ](https://github.com/harttle/liquidjs/commit/04df929 ))
2019-11-15 02:58:48 +00:00
harttle
04df9294b5
fix: remove node dependencies for esm bundle, see #173
2019-11-15 10:53:54 +08:00
semantic-release-bot
79892f6b72
chore(release): 9.4.0 [skip ci]
...
# [9.4.0](https://github.com/harttle/liquidjs/compare/v9.3.1...v9.4.0 ) (2019-11-14)
### Features
* add ability to pass JSON context to CLI ([9504e4e ](https://github.com/harttle/liquidjs/commit/9504e4e ))
2019-11-14 13:18:08 +00:00
allcontributors[bot] and Jun Yang
19f3e23b27
docs: update .all-contributorsrc
2019-11-14 07:08:21 -06:00
allcontributors[bot] and Jun Yang
993ea20b80
docs: update README.md
2019-11-14 07:08:21 -06:00
harttle
08cbb12228
chore: introduce commit message lint
2019-11-14 21:01:55 +08:00
Brandon Pittman and harttle
9504e4e45b
feat: add ability to pass JSON context to CLI
...
If you pass a JSON file or JSON string as the first argument to the CLI, you can use variables in your templates that get parsed by the CLI.
2019-11-14 21:01:37 +08:00
semantic-release-bot
0b9b50c5d7
chore(release): 9.3.1 [skip ci]
...
## [9.3.1](https://github.com/harttle/liquidjs/compare/v9.3.0...v9.3.1 ) (2019-11-09)
### Bug Fixes
* liquidjs command in /bin/liquid.js, fixes [#169 ](https://github.com/harttle/liquidjs/issues/169 ) ([0073b90 ](https://github.com/harttle/liquidjs/commit/0073b90 ))
2019-11-09 16:17:47 +00:00
harttle
0073b90b31
fix: liquidjs command in /bin/liquid.js, fixes #169
2019-11-10 00:13:18 +08:00
Jun Yang and GitHub
081c432334
docs: update readme
2019-11-09 10:26:58 +08:00
semantic-release-bot
390cd23f5f
chore(release): 9.3.0 [skip ci]
...
# [9.3.0](https://github.com/harttle/liquidjs/compare/v9.2.0...v9.3.0 ) (2019-11-07)
### Features
* support require.resolve for lookup, see [#168 ](https://github.com/harttle/liquidjs/issues/168 ) ([2dd4355 ](https://github.com/harttle/liquidjs/commit/2dd4355 ))
2019-11-07 10:51:46 +00:00
harttle
2dd43559b5
feat: support require.resolve for lookup, see #168
2019-11-07 18:46:37 +08:00
dependabot[bot] and Jun Yang
5492fb0b17
chore(deps): bump eslint-utils from 1.4.0 to 1.4.3
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.3 )
Signed-off-by: dependabot[bot] <[email protected] >
2019-11-03 07:51:34 -06:00
semantic-release-bot
1ecff1c341
chore(release): 9.2.0 [skip ci]
...
# [9.2.0](https://github.com/harttle/liquidjs/compare/v9.1.1...v9.2.0 ) (2019-10-26)
### Features
* Support for the "render" tag [#163 ](https://github.com/harttle/liquidjs/issues/163 ) ([d5e7b04 ](https://github.com/harttle/liquidjs/commit/d5e7b04 ))
2019-10-26 16:11:59 +00:00
Jun Yang
d5e7b047bb
feat: Support for the "render" tag #163
2019-10-27 00:06:16 +08:00
harttle
b82fa9ed2b
pref: remove await/async from internal async calls
2019-10-26 08:57:33 -05:00
harttle
d4ad4b8a8c
docs: add .nojekyll
2019-10-24 19:30:46 +08:00
harttle
ab8db5394b
docs: fix some typos for the website demos
2019-10-20 22:57:28 +08:00
harttle
b02a227a81
docs: add home page for API doc
2019-10-20 22:53:29 +08:00
harttle
41a33834e7
docs: add related packages in README
2019-10-19 17:30:49 +08:00
harttle
53e7ea51bd
chore: upgrade sinon
2019-10-14 14:56:58 +08:00
harttle
ef3e520628
docs: update typedoc
2019-10-14 12:38:18 +08:00
semantic-release-bot
be755a900c
chore(release): 9.1.1 [skip ci]
...
## [9.1.1](https://github.com/harttle/liquidjs/compare/v9.1.0...v9.1.1 ) (2019-10-10)
### Performance Improvements
* add string flattening to reduce retained memory (node only) ([3ad512c ](https://github.com/harttle/liquidjs/commit/3ad512c ))
2019-10-10 01:39:53 +00:00
Patrick Malouin and Jun Yang
3ad512c51c
perf: add string flattening to reduce retained memory (node only)
...
add a memory footprint benchmark
2019-10-10 09:35:15 +08:00
harttle
7bae5bcb79
docs: add demo for React hooks and context ( #150 )
2019-10-08 21:50:59 +08:00
harttle
3a7ddaa2c3
chore: set demo packages private
2019-10-08 21:50:32 +08:00
semantic-release-bot
362e2d6451
chore(release): 9.1.0 [skip ci]
...
# [9.1.0](https://github.com/harttle/liquidjs/compare/v9.0.1...v9.1.0 ) (2019-10-07)
### Features
* alias getTemplate() to parseFile() ([6b83788 ](https://github.com/harttle/liquidjs/commit/6b83788 ))
2019-10-07 15:40:44 +00:00
harttle
6b83788077
feat: alias getTemplate() to parseFile()
...
* deprecate Liquid#getTemplate: use Liquid#parseFile instead
* deprecate Liquid#getTemplateSync: use Liquid#parseFileSync instead
2019-10-07 23:34:12 +08:00
harttle
4f8fc89c6f
docs: update reactjs demo for consistant ES6 style
2019-10-07 22:40:36 +08:00
harttle
cc8851e56f
doc: add Contribute Guidelines
2019-10-05 11:37:59 +08:00
semantic-release-bot
154deeda76
chore(release): 9.0.1 [skip ci]
...
## [9.0.1](https://github.com/harttle/liquidjs/compare/v9.0.0...v9.0.1 ) (2019-10-02)
### Bug Fixes
* `unless` content is not waited, fixes [#160 ](https://github.com/harttle/liquidjs/issues/160 ) ([d2c8d13 ](https://github.com/harttle/liquidjs/commit/d2c8d13 ))
2019-10-02 14:37:23 +00:00
harttle
d2c8d133ff
fix: unless content is not waited, fixes #160
2019-10-02 22:30:35 +08:00
Jun Yang and GitHub
96d98e4ebb
doc: update live demo link, see #157
2019-09-14 21:48:22 +08:00
harttle
f661cd8b85
doc: fix underscore prefixed doc files by adding .jekyll
2019-08-27 13:07:21 +08:00
harttle
493c4951e1
doc: update typedoc
2019-08-27 12:17:53 +08:00
harttle
d3f3d81e2e
doc: update typedoc and README.md
2019-08-26 23:31:53 +08:00
semantic-release-bot
c2ba1e1f1a
chore(release): 9.0.0 [skip ci]
...
# [9.0.0](https://github.com/harttle/liquidjs/compare/v8.5.3...v9.0.0 ) (2019-08-26)
### Bug Fixes
* break/continue omitting output before them, [#123 ](https://github.com/harttle/liquidjs/issues/123 ) ([ae45c46 ](https://github.com/harttle/liquidjs/commit/ae45c46 ))
* reactjs demo during yarn install, fixes [#145 ](https://github.com/harttle/liquidjs/issues/145 ) ([b65df44 ](https://github.com/harttle/liquidjs/commit/b65df44 ))
### Code Refactoring
* return value of Tag#render is no longer used ([8028f82 ](https://github.com/harttle/liquidjs/commit/8028f82 ))
### Features
* renderSync, parseAndRenderSync and renderFileSync, see [#48 ](https://github.com/harttle/liquidjs/issues/48 ) ([7fb01ad ](https://github.com/harttle/liquidjs/commit/7fb01ad ))
### Performance Improvements
* target to es6, fixes [#137 ](https://github.com/harttle/liquidjs/issues/137 ) ([3b9fc7e ](https://github.com/harttle/liquidjs/commit/3b9fc7e ))
### 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'
2019-08-26 15:21:34 +00:00
allcontributors[bot] and Jun Yang
31bec7e66e
docs: update .all-contributorsrc
2019-08-26 10:16:07 -05:00
allcontributors[bot] and Jun Yang
0b6f86d02a
docs: update README.md
2019-08-26 10:16:07 -05:00
harttle
28330e1127
chore: fix benchmark
2019-08-26 10:15:43 -05:00
harttle
0426d08fd0
style: fix linting
2019-08-26 10:15:43 -05:00
harttle
7fb01ad69a
feat: renderSync, parseAndRenderSync and renderFileSync, see #48
2019-08-26 10:15:43 -05:00
harttle
8028f82499
refactor: return value of Tag#render is no longer used
...
BREAKING CHANGE: Tag#render now returns void, use emitter argument
to write rendered html.
2019-08-26 10:15:43 -05:00
harttle
76019e9e18
refactor: rewrite expression evaluation, fix #130
2019-08-26 10:15:43 -05:00
semantic-release-bot and Jun Yang
538610e169
chore(release): 8.5.1 [skip ci]
...
## [8.5.1](https://github.com/harttle/liquidjs/compare/v8.5.0...v8.5.1 ) (2019-08-05)
### Bug Fixes
* publish bin directory to npm, fixes [#146 ](https://github.com/harttle/liquidjs/issues/146 ) ([a85b650 ](https://github.com/harttle/liquidjs/commit/a85b650 ))
2019-08-26 10:15:43 -05:00
harttle
b65df447dc
fix: reactjs demo during yarn install, fixes #145
...
simply remove unused dependencies fixes this issue, but I removed
all package-lock.json / yarn.lock since the demo should always be
in sync with the codebase
2019-08-26 10:15:43 -05:00
harttle
3b9fc7e6bf
perf: target to es6, fixes #137
...
BREAKING CHANGE: 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)
2019-08-26 10:15:43 -05:00
harttle
f35ab6b72e
doc: update README and typedoc
2019-08-26 10:15:43 -05:00
harttle
ab3b824cf8
style: fix linting
2019-08-26 10:15:43 -05:00
harttle
ae45c4622e
fix: break/continue omitting output before them, #123
...
BREAKING CHANGE: remove default export, now should be used like import
{Liquid} from 'liquidjs'
2019-08-26 10:15:43 -05:00
harttle
854e12ba53
refactor: add emitter for code generation
2019-08-26 10:15:43 -05:00
semantic-release-bot
ad8e2f7e63
chore(release): 8.5.3 [skip ci]
...
## [8.5.3](https://github.com/harttle/liquidjs/compare/v8.5.2...v8.5.3 ) (2019-08-25)
### Bug Fixes
* escape filter when input is undefined ([a00945c ](https://github.com/harttle/liquidjs/commit/a00945c ))
2019-08-25 09:23:56 +00:00
jamelait and Jun Yang
e17bc97d8e
fix escape filter with stringify
2019-08-25 04:19:37 -05:00
Jamel A and Jun Yang
aa15f3dfe1
fixing lint errors
2019-08-25 04:19:37 -05:00
jamelait and Jun Yang
a00945cad7
fix: escape filter when input is undefined
2019-08-25 04:19:37 -05:00
allcontributors[bot] and Jun Yang
0f4e6d9981
docs: update .all-contributorsrc
2019-08-12 01:54:55 -05:00
allcontributors[bot] and Jun Yang
db5de49f5e
docs: update README.md
2019-08-12 01:54:55 -05:00
semantic-release-bot
d50fd1df35
chore(release): 8.5.2 [skip ci]
...
## [8.5.2](https://github.com/harttle/liquidjs/compare/v8.5.1...v8.5.2 ) (2019-08-09)
### Bug Fixes
* quotation tokenizing, [#151 ](https://github.com/harttle/liquidjs/issues/151 ) ([1e4f237 ](https://github.com/harttle/liquidjs/commit/1e4f237 ))
2019-08-09 17:29:27 +00:00
Jun Yang
1e4f237022
fix: quotation tokenizing, #151
2019-08-10 01:24:36 +08:00
Joonas Mertanen and Jun Yang
9956c53b09
Correctly tokenize quotation marks within single token
2019-08-08 08:08:18 -05:00
Joonas Mertanen and Jun Yang
af841dc872
Add test for property access syntax
2019-08-08 08:08:18 -05:00
Jun Yang and GitHub
0408ae7f53
Update README.md
2019-08-06 10:56:03 +08:00
semantic-release-bot
3cf35fd58e
chore(release): 8.5.1 [skip ci]
...
## [8.5.1](https://github.com/harttle/liquidjs/compare/v8.5.0...v8.5.1 ) (2019-08-05)
### Bug Fixes
* publish bin directory to npm, fixes [#146 ](https://github.com/harttle/liquidjs/issues/146 ) ([a85b650 ](https://github.com/harttle/liquidjs/commit/a85b650 ))
2019-08-05 17:58:55 +00:00
harttle
58f546ff80
doc: fix doc files with underscores
2019-08-06 01:52:50 +08:00
harttle
a85b650ab2
fix: publish bin directory to npm, fixes #146
2019-08-06 01:48:12 +08:00
Jun Yang and GitHub
d487a2d3ea
Create FUNDING.yml
2019-08-06 01:40:34 +08:00
harttle
0b543817ff
doc: introduce typedoc and sponsorship, for #126
2019-08-06 01:36:34 +08:00
azu and Jun Yang
0d52d570fc
docs: fix link in README
2019-08-05 00:23:48 -05:00
semantic-release-bot
c354164352
chore(release): 8.5.0 [skip ci]
...
# [8.5.0](https://github.com/harttle/liquidjs/compare/v8.4.1...v8.5.0 ) (2019-08-01)
### Features
* CLI support ([fc045b5 ](https://github.com/harttle/liquidjs/commit/fc045b5 ))
2019-08-01 05:20:02 +00:00
harttle
fc045b5bbc
feat: CLI support
...
echo '{{ "hello" | capitalize }}' | liquidjs
2019-08-01 13:15:55 +08:00
Robin Bijlani and Jun Yang
c8c6dd8275
Fix: Stringify append and prepend values
2019-07-25 13:12:07 +08:00
semantic-release-bot
49c45a463b
chore(release): 8.4.1 [skip ci]
...
## [8.4.1](https://github.com/harttle/liquidjs/compare/v8.4.0...v8.4.1 ) (2019-07-22)
### Bug Fixes
* some filters on undefined variable throws, [#140 ](https://github.com/harttle/liquidjs/issues/140 ) ([6e6ea0a ](https://github.com/harttle/liquidjs/commit/6e6ea0a ))
2019-07-22 08:52:48 +00:00
harttle
cef5d1aa1a
chore: remove support for node_js 6
2019-07-22 16:48:48 +08:00
harttle
6e6ea0ae58
fix: some filters on undefined variable throws, #140
2019-07-22 16:48:48 +08:00
harttle
dc9a6e019e
doc: make the purpose clear #139 , add plugin list
2019-07-22 02:04:53 +08:00
semantic-release-bot
5adebaa710
chore(release): 8.4.0 [skip ci]
...
# [8.4.0](https://github.com/harttle/liquidjs/compare/v8.3.0...v8.4.0 ) (2019-07-06)
### Features
* at_least, at_most, sort_naturual for [#132 ](https://github.com/harttle/liquidjs/issues/132 ) ([e6f5f1c ](https://github.com/harttle/liquidjs/commit/e6f5f1c ))
2019-07-06 06:54:15 +00:00
harttle
34d5af25a4
chore: trying to fix TS4053
2019-07-06 14:49:39 +08:00
harttle
88c89fe3b3
style: introduce @typescript-eslint/recommended
2019-07-06 14:33:34 +08:00
harttle
e6f5f1cd85
feat: at_least, at_most, sort_naturual for #132
2019-07-05 12:09:00 +08:00
semantic-release-bot
570400ebcc
chore(release): 8.3.0 [skip ci]
...
# [8.3.0](https://github.com/harttle/liquidjs/compare/v8.2.4...v8.3.0 ) (2019-06-27)
### Features
* fs option implemented by [#138 ](https://github.com/harttle/liquidjs/issues/138 ) ([3f5e23c ](https://github.com/harttle/liquidjs/commit/3f5e23c ))
2019-06-27 01:47:56 +00:00
Jun Yang
3f5e23c42b
feat: fs option implemented by #138
2019-06-27 09:42:29 +08:00
Jun Yang
96c061bee0
style: remove semi
2019-06-27 09:32:51 +08:00
Patrick Malouin and Jun Yang
edb2cc1f37
Expose fs as an option to override the default implementations
2019-06-27 09:25:17 +08:00
harttle
2ae8c37a4f
chore: add @semantic-release/github for notify
2019-06-17 17:24:07 +08:00
semantic-release-bot
0bc5908f17
chore(release): 8.2.4 [skip ci]
...
## [8.2.4](https://github.com/harttle/liquidjs/compare/v8.2.3...v8.2.4 ) (2019-06-17)
### Performance Improvements
* improve getTemplate() when cache is enabled ([1ffba2b ](https://github.com/harttle/liquidjs/commit/1ffba2b ))
2019-06-17 03:10:34 +00:00
Patrick Malouin and Jun Yang
1ffba2bc76
perf: improve getTemplate() when cache is enabled
...
Checking for file existence is unnecessary when cache contains entry.
2019-06-17 11:01:02 +08:00
semantic-release-bot
bbebb5515c
chore(release): 8.2.3 [skip ci]
...
## [8.2.3](https://github.com/harttle/liquidjs/compare/v8.2.2...v8.2.3 ) (2019-05-19)
### Bug Fixes
* reverse filter not pure, see [#126 ](https://github.com/harttle/liquidjs/issues/126 ) ([505c408 ](https://github.com/harttle/liquidjs/commit/505c408 ))
2019-05-19 06:10:34 +00:00
Jun Yang
b14430a161
style: test/integration/builtin/filters/array.ts
2019-05-19 14:05:28 +08:00
Jun Yang
505c408a85
fix: reverse filter not pure, see #126
2019-05-19 13:58:11 +08:00
Jun Yang
224679a7d7
chore: speedup unit test on windows
2019-05-19 13:00:51 +08:00
semantic-release-bot
2cb4bffd3e
chore(release): 8.2.2 [skip ci]
...
## [8.2.2](https://github.com/harttle/liquidjs/compare/v8.2.1...v8.2.2 ) (2019-05-12)
### Bug Fixes
* date from integer, [#125 ](https://github.com/harttle/liquidjs/issues/125 ) ([fdf0043 ](https://github.com/harttle/liquidjs/commit/fdf0043 ))
* pass drops directly to filters/tags ([bef2909 ](https://github.com/harttle/liquidjs/commit/bef2909 ))
2019-05-12 15:02:33 +00:00
harttle
c940e6c997
chore: try to make unit test locale independent
2019-05-12 22:58:29 +08:00
harttle
d8ba009773
chore: fix building
2019-05-12 21:29:58 +08:00
harttle
fdf0043b9c
fix: date from integer, #125
2019-05-12 21:03:35 +08:00
harttle
bef290923c
fix: pass drops directly to filters/tags
2019-05-12 20:03:32 +08:00
semantic-release-bot
4282accaa2
chore(release): 8.2.1 [skip ci]
...
## [8.2.1](https://github.com/harttle/liquidjs/compare/v8.2.0...v8.2.1 ) (2019-04-26)
### Bug Fixes
* `default` filter is not working with an empty string, [#122 ](https://github.com/harttle/liquidjs/issues/122 ) ([6075c0a ](https://github.com/harttle/liquidjs/commit/6075c0a ))
2019-04-26 16:32:20 +00:00
harttle
6075c0a54f
fix: default filter is not working with an empty string, #122
2019-04-27 00:26:17 +08:00
semantic-release-bot
87489f6098
chore(release): 8.2.0 [skip ci]
...
# [8.2.0](https://github.com/harttle/liquidjs/compare/v8.1.0...v8.2.0 ) (2019-04-17)
### Features
* pass context to filters ([00bc1ef ](https://github.com/harttle/liquidjs/commit/00bc1ef ))
2019-04-17 02:51:13 +00:00
harttle
6c5dc336e7
chore: fix linting, working on #120
2019-04-17 10:45:02 +08:00
harttle
00bc1efe6a
feat: pass context to filters
2019-04-17 10:24:55 +08:00
harttle
6fb4796202
chore: set outDir to dist, see #119
2019-04-16 11:23:29 +08:00
semantic-release-bot
7483613b23
chore(release): 8.1.0 [skip ci]
...
# [8.1.0](https://github.com/harttle/liquidjs/compare/v8.0.3...v8.1.0 ) (2019-04-02)
### Features
* where filter, working on [#118 ](https://github.com/harttle/liquidjs/issues/118 ) ([daa0b57 ](https://github.com/harttle/liquidjs/commit/daa0b57 ))
2019-04-02 04:55:18 +00:00
harttle
7762dd9612
chore: fix linting
2019-04-02 12:10:35 +08:00
Jun Yang
daa0b574fc
feat: where filter, working on #118
...
doc: https://shopify.github.io/liquid/filters/where/
ruby impl: https://github.com/Shopify/liquid/blob/14cd011cb5eef042af192ad5294c8f0e1ae89f06/lib/liquid/standardfilters.rb
2019-04-02 00:46:32 +08:00
semantic-release-bot
a084183246
chore(release): 8.0.3 [skip ci]
...
## [8.0.3](https://github.com/harttle/liquidjs/compare/v8.0.2...v8.0.3 ) (2019-04-01)
### Bug Fixes
* slice filter on negative `begin`, [#117 ](https://github.com/harttle/liquidjs/issues/117 ) ([eadb6f3 ](https://github.com/harttle/liquidjs/commit/eadb6f3 ))
2019-04-01 03:04:24 +00:00
harttle
eadb6f3711
fix: slice filter on negative begin, #117
2019-04-01 10:57:08 +08:00
semantic-release-bot
dba26f24e6
chore(release): 8.0.2 [skip ci]
...
## [8.0.2](https://github.com/harttle/liquidjs/compare/v8.0.1...v8.0.2 ) (2019-03-25)
### Performance Improvements
* use polymophism instead duck test ([82d7673 ](https://github.com/harttle/liquidjs/commit/82d7673 ))
2019-03-25 15:15:04 +00:00
Jun Yang
722da6a7ee
doc: update README
2019-03-25 23:01:04 +08:00
harttle
82d7673554
perf: use polymophism instead duck test
2019-03-25 20:11:23 +08:00
harttle
64dd057552
refactor: Context#propertyAccessSeq => parseProp
2019-03-25 10:36:23 +08:00
harttle
45e3c2bb8e
refactor: switch Context <-> Scope concepts
2019-03-25 10:36:23 +08:00
Jun Yang
76345a64c3
doc: update README.md
2019-03-23 22:28:33 +08:00
semantic-release-bot
9e69652655
chore(release): 8.0.1 [skip ci]
...
## [8.0.1](https://github.com/harttle/liquidjs/compare/v8.0.0...v8.0.1 ) (2019-03-22)
### Bug Fixes
* incorrect scope when using assign with for, fixes [#115 ](https://github.com/harttle/liquidjs/issues/115 ) ([defbb58 ](https://github.com/harttle/liquidjs/commit/defbb58 ))
2019-03-22 12:48:41 +00:00
harttle
defbb58e66
fix: incorrect scope when using assign with for, fixes #115
...
* remove AssignScope, CaptureScope, IncrementScope, DecrementScope concepts
* introduce Scope.environments for decrement/increment
* assign to scopes[0] for assign/capture
2019-03-22 20:38:54 +08:00
ssendev and Jun Yang
b7b92c63cf
async Register Tags example
2019-03-21 20:46:21 +08:00
ssendev and Jun Yang
265534b7b7
Fix Register Tags example
2019-03-21 20:46:21 +08:00
semantic-release-bot
84ea2c7488
chore(release): 8.0.0 [skip ci]
...
# [8.0.0](https://github.com/harttle/liquidjs/compare/v7.5.1...v8.0.0 ) (2019-03-10)
### Code Refactoring
* use camelCase for JavaScript APIs ([64e0c87 ](https://github.com/harttle/liquidjs/commit/64e0c87 ))
### Features
* promise support for drops, working on [#65 ](https://github.com/harttle/liquidjs/issues/65 ) ([4a8088d ](https://github.com/harttle/liquidjs/commit/4a8088d ))
### BREAKING CHANGES
* Options and method names in JavaScript API are now renamed to cammelCase, for a complete list see #109
2019-03-10 11:28:39 +00:00
Jun Yang
64e0c876e9
refactor: use camelCase for JavaScript APIs
...
BREAKING CHANGE: Options and method names in JavaScript API are now renamed to cammelCase, for a complete list see #109
2019-03-10 19:21:09 +08:00
Jun Yang
4a8088d4e4
feat: promise support for drops, working on #65
2019-03-10 18:05:52 +08:00
harttle
ad0930f152
test: cover parseFilters in template/value.ts
2019-03-06 01:46:35 +08:00
harttle
998832c772
refactor: mv custom filter test
2019-03-06 01:40:31 +08:00
semantic-release-bot
4ba224043b
chore(release): 7.5.1 [skip ci]
...
## [7.5.1](https://github.com/harttle/liquidjs/compare/v7.5.0...v7.5.1 ) (2019-03-05)
### Bug Fixes
* named params for filters, working on [#113 ](https://github.com/harttle/liquidjs/issues/113 ) ([5ffc904 ](https://github.com/harttle/liquidjs/commit/5ffc904 ))
2019-03-05 17:39:56 +00:00
harttle
5ffc904f80
fix: named params for filters, working on #113
2019-03-06 01:30:47 +08:00
semantic-release-bot
08646f75b0
chore(release): 7.5.0 [skip ci]
...
# [7.5.0](https://github.com/harttle/liquidjs/compare/v7.4.0...v7.5.0 ) (2019-03-01)
### Features
* tablerowloop object ([3647305 ](https://github.com/harttle/liquidjs/commit/3647305 ))
2019-03-01 22:06:31 +00:00
Jun Yang
3647305dcf
feat: tablerowloop object
...
See: https://www.rubydoc.info/gems/liquid/Liquid/TablerowloopDrop
2019-03-02 06:00:30 +08:00
Jun Yang
cca0306f5b
chore: fix mocha pattern for windows
...
See: https://github.com/mochajs/mocha/issues/2895
2019-03-02 03:57:38 +08:00
Jun Yang
eeeacc4492
chore: fix rollup.config.ts
2019-03-02 03:42:57 +08:00
Jun Yang
d44e1d727a
chore: fix test on windows 10
2019-03-02 03:36:33 +08:00