Harttle
abc058be0f
fix: precise memoryLimit for string replace
2026-03-26 19:36:31 +08:00
Harttle
35d5230263
fix: treat args for replace_first as literal
2026-03-22 22:16:45 +08:00
Harttle
94440a0653
chore: more strict mem limit for string filters
2026-03-22 22:10:39 +08:00
Harttle
fc42ad7548
docs: update financial contributors
2025-04-03 21:27:48 +08:00
Harttle and Yang Jun
5cb843f162
chore: migrate actions/upload-artifact to v4
2025-02-09 22:49:40 +08:00
Harttle and Yang Jun
38a0f510b0
fix: empty tagToken.args since 10.20.0, fixes #796
2025-02-09 22:49:40 +08:00
Harttle
1a893f8023
docs: migrate to algolia app QJ35YOZTU4, #795
2025-02-09 22:12:04 +08:00
Harttle and Jun Yang
a490a70da1
fix: consistent range syntax parsing, #791
2025-01-19 17:58:00 +08:00
Harttle and Jun Yang
a5070af3e4
fix: context for group_by_exp/where_exp/find_exp, #790
2025-01-19 17:53:25 +08:00
Harttle and Jun Yang
59cf3c08db
fix: preserveTimezones support for RFC2822 date, #784
2025-01-04 22:46:07 +08:00
Harttle and Jun Yang
5f1a4cfdc9
fix: break/continue stops whole template, #783
2025-01-04 22:15:39 +08:00
Harttle
94a6715667
docs: zh-cn translation for static analyze features
2024-12-28 21:49:29 +08:00
Harttle and Jun Yang
35a84421a6
feat: size, first, last support arraylike objects, #781
2024-12-28 16:10:06 +08:00
Harttle and Jun Yang
e3ef574674
fix: inconsistent continue behaviour, fixes #779
2024-12-22 16:32:08 +08:00
Harttle
2af297f81a
fix: memoryLimit doesn't work in for tag, #776
2024-12-22 15:46:56 +08:00
Harttle and Jun Yang
9107eb1b93
feat: support Jekyll style where, #768
2024-11-17 21:33:38 +08:00
Harttle
df27ac6947
feat: support in-memory template mapping, inspired by @jg-rp #714
2024-07-08 02:25:25 +08:00
Harttle
834328b9cb
docs: add @15fathoms as financial contributor
2024-07-08 02:24:58 +08:00
Harttle
22b5a12333
fix: report error for malformed else/elsif/endif/endfor, #713
2024-07-05 01:23:33 +08:00
Harttle
d141c4bdd2
docs: update LiquidJS description about dependency
2024-06-25 22:59:44 +08:00
Harttle
01029aba87
docs: try to include all sponsors/backers
2024-03-11 22:06:17 +08:00
Harttle
fe978c8cd9
docs: Liquid Drops
2023-11-29 21:53:09 +08:00
Harttle
dd7616acb9
fix: allow unicode to be identifiers, fixes #655
2023-11-04 21:33:29 +08:00
Harttle
67a5b229ca
fix: package version in released files
2023-10-15 21:00:03 +08:00
Harttle
c1c72b53d5
test: fix test case
2023-10-15 20:21:32 +08:00
Harttle
45adbd7008
fix: map filter allow nil results in strict mode, fixes #647
2023-08-24 00:20:57 +08:00
Harttle
3f4f328572
docs: update LiquidJS contributors and users
2023-07-16 14:22:54 +08:00
Harttle
a7c94eeeb5
docs: update who's using liquid
2023-07-16 14:05:16 +08:00
Harttle
c0bc2de76e
docs: add package-lock for demos
2023-07-02 22:03:20 +08:00
Harttle
4759371102
docs: remove Patreon from docs
2023-07-02 22:03:20 +08:00
Harttle and Jun Yang
e401a30972
chore: split Github Actions workflows
2023-06-05 23:32:35 +08:00
Harttle
fcb930f0dd
fix: sample filter randomness and count=1 case
2023-06-04 13:34:16 +08:00
Harttle
3a67eb7f1c
fix: incorrect error message for browser UMD bundle
2023-06-04 12:00:32 +08:00
Harttle
fc42438283
docs: add Tomáš Hübelbauer as contributor
2023-06-04 11:41:49 +08:00
Harttle
8acf405949
docs: update ace version for LiquidJS playground
2023-06-04 02:24:06 +08:00
Harttle
e9da7f39de
docs: add contributing.md into docs/.../contribution-guidelines.md
2023-06-04 02:15:36 +08:00
Harttle and Jun Yang
e347e603d7
feat: precise line/col for tokenization Error, #613
2023-06-04 02:06:42 +08:00
Harttle and Jun Yang
0480d3317d
fix: proper error message for filter syntax error, #610
2023-06-04 02:06:42 +08:00
Harttle and Jun Yang
648b158dbd
chore: update CI runs-on
2023-04-25 01:28:48 +08:00
Harttle and Jun Yang
33b3c010af
fix: incorrect timezone correction for DST dates, fixes #604
2023-04-25 01:28:48 +08:00
Harttle and Jun Yang
21ee27b575
fix: timezoneOffset ignored in date when preserveTimezones is enabled, fixes #605
2023-04-25 01:28:48 +08:00
Harttle
04d62f070a
docs: update docs pipeline
2023-03-20 00:56:44 +08:00
Harttle and Jun Yang
9d823937cc
chore: upload npm errors for failed pipeline
2023-03-20 00:41:06 +08:00
Harttle and Jun Yang
da93102c1c
chore: upgrade API doc to latest typedoc, fixes #593
2023-03-20 00:41:06 +08:00
Harttle and Jun Yang
c6cde9cd10
chore: migrate test cases from Chai to Jest
2023-03-20 00:41:06 +08:00
harttle
df6d62fd59
docs: add @JaKXz and @dphm to contributor list, #406 , #407
2021-10-15 22:57:04 +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
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
92bfc65e0b
fix: directory info in lookupError message, #395
2021-10-04 12:11:54 +08: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
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
2e004eddf6
docs: add @ilhamdev0 as contributors
2021-07-26 16:40:03 +08:00
harttle
f7313fe563
docs: support data field in playground.html
2021-06-20 21:26:16 +08: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
Jun Yang
3e3d84a5ed
fix: operator boundary not correctly recognized, fixes #342
2021-05-04 18:13:02 +08:00
Jun Yang
251a50801c
chore: dev via windows+vscode
2021-04-17 11:43:03 +08:00
Jun Yang
65487654c4
fix: capitalize filter not lower case trailing string, fixes #326
2021-04-17 10:30:57 +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
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
harttle
2e66e8b02e
fix: lenientIf not working for the umd bundle, closes #313
2021-02-19 23:10:15 +08: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
harttle
dce75a1a22
docs: fix get started code block
2021-02-05 09:48:28 +08:00
harttle
f42c217fc0
feat: compact filter
2021-02-04 22:47:34 +08:00
harttle
9c40da7369
fix: allow string literals contain delimiters, fixes #288
2021-01-24 12:49:19 +08: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
harttle
7b909c22a1
docs: demo for globals, for #286
2020-12-22 23:19:09 +08:00
harttle
c8db5e6259
docs: try fix special chars in changelog.md
2020-12-17 23:08:54 +08: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
Jun Yang and GitHub
9706e8b411
docs: add a security policy, see #254
2020-11-29 20:59:00 +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
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
harttle
72ee7b4c1e
feat: support jsTruthy, #255 #257
2020-10-08 13:11:02 +08:00
harttle
b11df79b91
test: make it pass regardless timezone, #257
2020-10-08 09:38:10 +08:00
harttle
5b3f4195f0
fix: allow quoted variable name in capture, fixes #252
2020-10-03 22:03:17 +08:00