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
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
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
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
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
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
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
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
harttle
4f17c94988
feat: sort by key, see #227
2020-05-16 00:54:40 +08: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
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
harttle
f6789f517c
docs: make it clear for extnames, see #214
2020-04-03 23:08:09 +08:00
harttle
3cf8072df5
docs: fix news date in liquidjs.com
2020-04-01 14:34:13 +08:00
harttle
c923598b40
fix: coerce to Array in map and where filter
2020-04-01 02:22:44 +08: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