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 ))
v9.32.0
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 ))
v9.31.0
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 ))
v9.30.0
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 ))
v9.29.0
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 ))
v9.28.6
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 ))
v9.28.5
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 ))
v9.28.4
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 ))
v9.28.3
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 ))
v9.28.2
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 ))
v9.28.1
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 ))
v9.28.0
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 ))
v9.27.1
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 ))
v9.27.0
2021-10-03 14:41:57 +00:00