Yang Jun and Cursor
bcc4d5564f
fix(security): allow partial recursion when renderLimit is finite
...
Only reject render/include cycles when renderLimit is unlimited (default Infinity). With a finite time budget, recursion is bounded by renderLimit checks in renderTemplates.
Co-authored-by: Cursor <[email protected] >
2026-06-19 23:44:01 +08:00
Yang Jun and Cursor
a7efcc8f96
fix(security): reject render/include partial recursion
...
Detect cyclic partial rendering via a shared partialStack register (same pattern as CVE-2026-41311 block tag fix). Self-referential or circular {% render %} and {% include %} now throw immediately instead of hanging or OOM.
Co-authored-by: Cursor <[email protected] >
2026-06-14 22:56:36 +08:00
8a0c74a7fc
fix(security): charge pop filter allocation to memoryLimit ( #907 )
...
* fix(security): charge pop filter allocation to memoryLimit (CWE-770)
The `pop` array filter cloned the input via `[...toArray(v)]` without
charging `this.context.memoryLimit.use(...)`, bypassing the memoryLimit
DoS guard that its sibling filters (shift, unshift, compact, etc.) apply.
Mirror `shift` to account for the O(N) allocation.
Co-authored-by: Cursor <[email protected] >
* fix(security): charge sample filter full clone allocation to memoryLimit (CWE-770)
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-06-14 15:50:50 +08:00
ed15a52c26
docs: revisit wording & style for liquidjs.com ( #906 )
...
* docs: polish theme, playground, and reference pages
Improve readability of the docs site with updated light/dark tokens, shared
code-block styling, and playground editors that follow system color scheme.
Skip CookieHub on localhost, serve the browser bundle from theme source, and
use backtick titles on filter/tag reference pages for consistent navigation.
Co-authored-by: Cursor <[email protected] >
* docs: highlight npx in bash blocks and polish English copy
Use Prism insertBefore for CLI commands like npx, tighten tutorial and reference wording, and keep YAML titles free of backticks so sidebar and page headings stay correct.
Co-authored-by: Cursor <[email protected] >
* docs: restore lowercase filter and tag titles
Titles should match actual filter/tag identifiers (e.g. abs, append), not capitalized English labels.
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-06-08 00:26:52 +08:00
499b221f33
docs: remove translations & update homepage ( #904 )
...
* docs: add GitHub buttons and improve option docs
* chore: replace husky with prepush check
* docs: revamp homepage and switch to custom GitHub buttons
- Make the docs English-only by removing all zh-cn content, the language switcher UI, and related JS/config
- Rework homepage feature cards (Safe & Typed, Pure JavaScript, Shopify & Jekyll, Streaming) and refresh section colors/layout
- Replace buttons.github.io with custom Star/Sponsor buttons featuring a live star count and dark-mode support
- Drop the buttons.js script and tidy banner, header, footer, and share partials
Co-authored-by: Cursor <[email protected] >
* fix: restore tsconfig settings and changelog build
Re-add suppressImplicitAnyIndexErrors and downlevelIteration removed in
a75033e2c , which broke the rollup TypeScript build on CI. Drop zh-cn
changelog output now that translations were removed.
Co-authored-by: Cursor <[email protected] >
* fix: resolve TS errors without deprecated tsconfig options
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-06-07 01:37:51 +08:00
Yang Jun and GitHub
705e5d1b6e
docs: add consent banner and GA ( #903 )
2026-06-06 14:04:21 +08:00
semantic-release-bot
a8fd734b5e
chore(release): 10.27.0 [skip ci]
...
# [10.27.0](https://github.com/harttle/liquidjs/compare/v10.26.0...v10.27.0 ) (2026-05-15)
### Features
* **context:** null-prototype scope frames via createScope ([#899 ](https://github.com/harttle/liquidjs/issues/899 )) ([47d3f1b ](https://github.com/harttle/liquidjs/commit/47d3f1b1cf33be91fe587821f288d1c9d8e1ace7 ))
2026-05-15 18:21:41 +00:00
47d3f1b1cf
feat(context): null-prototype scope frames via createScope ( #899 )
...
- Add createScope() building Object.create(null) with optional own props
- Initialize context stack bottom with createScope() for assign/capture
- Push null-proto scopes from for, tablerow, block, layout, include (incl. Jekyll)
Co-authored-by: Cursor <[email protected] >
2026-05-16 02:20:03 +08:00
semantic-release-bot
c20c0af02d
chore(release): 10.26.0 [skip ci]
...
# [10.26.0](https://github.com/harttle/liquidjs/compare/v10.25.7...v10.26.0 ) (2026-05-14)
### Bug Fixes
* **date:** cap strftime widths and account padding in memoryLimit ([#895 ](https://github.com/harttle/liquidjs/issues/895 )) ([3129d46 ](https://github.com/harttle/liquidjs/commit/3129d46dc95efa357b00e5a57ee1af80a13d72ed ))
* enforce renderLimit for empty renderTemplates calls ([#894 ](https://github.com/harttle/liquidjs/issues/894 )) ([5b9c346 ](https://github.com/harttle/liquidjs/commit/5b9c3469085e01c79e2d0af28e2a13f730e1793d ))
* propagate ownPropertyOnly into Context.spawn() for {% render %} ([#893 ](https://github.com/harttle/liquidjs/issues/893 )) ([dbbf628 ](https://github.com/harttle/liquidjs/commit/dbbf6288030591bf6da28d8c1cce5a17bca97bb6 ))
* **security:** block Object.prototype filter/tag lookups (RCE) ([#897 ](https://github.com/harttle/liquidjs/issues/897 )) ([457fae0 ](https://github.com/harttle/liquidjs/commit/457fae0736c3ec862539b9dbf7f477e6c08fb6c6 ))
* strip html newline tags ([#892 ](https://github.com/harttle/liquidjs/issues/892 )) ([26ea285 ](https://github.com/harttle/liquidjs/commit/26ea2856c7a90aec892b98d94a9b7a3e18539045 ))
* **strip_html:** rewrite as linear single-pass scan to avoid ReDoS ([#896 ](https://github.com/harttle/liquidjs/issues/896 )) ([3616a74 ](https://github.com/harttle/liquidjs/commit/3616a744b9abeb425c217b340a2397d46176afb8 ))
### Features
* add sha256 and hmac_sha256 filters for cryptographic operations ([#889 ](https://github.com/harttle/liquidjs/issues/889 )) ([1c816d4 ](https://github.com/harttle/liquidjs/commit/1c816d4fc3bcd2cba011f7a84f56a4251fca0622 ))
2026-05-14 14:23:44 +00:00
457fae0736
fix(security): block Object.prototype filter/tag lookups (RCE) ( #897 )
...
* fix(security): block Object.prototype filter/tag lookups (RCE)
`liquid.filters` and `liquid.tags` were plain `{}` so bracket access on
template-controlled keys inherited from `Object.prototype`. Most damaging:
`{{ x | valueOf }}` resolved to `Object.prototype.valueOf`, which the
filter pipeline called as a handler with `this = FilterImpl`; valueOf
returns its receiver, leaking `context`, `liquid`, `token` (and via them
parser, loader, fs) into the template — chain that with `group_by`/`where`
gadgets and an attacker reaches `Function`/`child_process` for RCE.
Same shape on the tag side: `{% constructor %}` bypassed the
"tag not found" assertion and crashed with a confusing message.
Use null-prototype storage so `liquid.filters[name]` / `liquid.tags[name]`
only resolve to explicitly registered entries. The existing
`assert(impl || !strictFilters)` and `assert(TagClass, ...)` now do the
right thing for `valueOf`, `toString`, `constructor`, `__proto__`,
`hasOwnProperty`, `isPrototypeOf`, `__defineGetter__`, etc.
Co-authored-by: Cursor <[email protected] >
* test: fold prototype-registry regressions into register + e2e
Co-authored-by: Cursor <[email protected] >
* test: assert null-prototype registries vs all Object.prototype keys
Co-authored-by: Cursor <[email protected] >
* test: dedupe registry checks; merge filter prototype loop
Co-authored-by: Cursor <[email protected] >
* fix(context): use null-prototype scope and register objects
Add createScope(); use for bottom scope, spawn default, getAll merge, ctx.push frames, filter loops, include/layout blocks registers, and cycle groups. registers uses Object.create(null) and getRegister uses ??.
For-loop continue register defaults to 0 (not {}): Array.slice coerces plain {} but not null-prototype objects.
Export createScope from the package entry.
Co-authored-by: Cursor <[email protected] >
* revert(context): plain {} registers and getRegister ||
Registers are only mutated by tag implementations, not templates; keep null-prototype scopes/createScope for push frames.
Co-authored-by: Cursor <[email protected] >
* test(context): assert scope isolation without probing prototypes
Replace Object.getPrototypeOf checks for bottom() and getAll() with
'in' checks on typical Object.prototype names plus a merge assertion.
Co-authored-by: Cursor <[email protected] >
* test(e2e): assert constructor filter/tag lookups (node + UMD)
Co-authored-by: Cursor <[email protected] >
* test(context): cover Object.prototype keys under ownPropertyOnly
- Add getSync cases for constructor and valueOf on plain objects
- Remove scope storage tests that used the in operator
Co-authored-by: Cursor <[email protected] >
* refactor: remove createScope helper
Drop the exported helper and finish migrating call sites. Revert incidental context/for/include/layout churn so behavior matches mainline aside from the removal. Trim duplicate e2e and heavy Object.prototype loops in registry tests.
Co-authored-by: Cursor <[email protected] >
* docs: document ownPropertyOnly and Drop security in security model
Co-authored-by: Cursor <[email protected] >
* docs(zh-cn): sync security model with ownPropertyOnly and Drop notes
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-05-14 22:18:10 +08:00
3616a744b9
fix(strip_html): rewrite as linear single-pass scan to avoid ReDoS ( #896 )
...
* fix(strip_html): rewrite as linear single-pass scan to avoid ReDoS
The previous strip_html regex
/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>|<[\s\S]*?>|<!--[\s\S]*?-->/g
contains lazy alternatives that backtrack O(n^2) on inputs with many
unclosed `<script` / `<style` openers. A 350KB payload of
`'<script'.repeat(50000)` blocked the Node.js event loop for ~10s, and
cost grew quadratically with input size. memoryLimit only charged
str.length, which does not bound regex CPU.
Replace the regex with an indexOf-based single-pass scan. For each `<`
we:
- if `<script` opener: find next `</script>` and skip the whole block;
cache "no closer after pos k" so subsequent unclosed `<script`
openers do not re-scan the tail.
- same for `<style` / `</style>`.
- otherwise treat as a generic `<...>` tag (matches the original
behavior, where the `<[\s\S]*?>` alternative also caught comments).
- if no closing `>` exists, emit the tail as literal text and stop.
Total work is O(n). All existing strip_html test cases pass unchanged.
Add regression tests covering the PoCs (`<script` / `<style` repeats,
and `<script>foo` repeats with `>` but no `</script>`) plus a
memoryLimit assertion.
Co-authored-by: Cursor <[email protected] >
* refactor(strip_html): factor block kinds into a small table
Same algorithm and complexity, fewer lines. Document why a regex-only
solution can't be O(n) in V8 (no atomic groups / possessive quantifiers
/ memoization, so unrolled-loop patterns are still O(n^2) on unclosed
openers — empirically confirmed: original 280KB ~4s, Friedl unrolled
~14s, atomic lookahead ~7s; tokenizer ~1ms).
Co-authored-by: Cursor <[email protected] >
* refactor(strip_html): inline block kinds to match file style
Drop the module-level STRIP_BLOCKS table; the rest of the file keeps
each filter self-contained (only escapeMap/unescapeMap are top-level
maps shared across filters). Two openers don't justify a table.
Co-authored-by: Cursor <[email protected] >
* refactor(strip_html): unify raw-text blocks; treat <!--...--> as opaque
In HTML5, <script>, <style>, and <!-- --> are all raw-text blocks: their
content is opaque until the matching closer, so a `>` inside CSS, JS, or
a comment must not be treated as a tag end. The previous code only had
this special handling for <script> and <style>; comments containing `>`
fell through to the generic `<...>` branch and were partially stripped
(e.g. `<!-- a > b -->` left `b -->` in the output).
Match Shopify Liquid's STRIP_HTML_BLOCKS set (script + style + comment),
and consolidate the three near-identical branches into a small
opener/closer table inside the function.
Algorithm and complexity unchanged (O(n) via indexOf + cached closer
positions). Add a regression test for `>` inside a comment.
Co-authored-by: Cursor <[email protected] >
* refactor(strip_html): drop position cache, delete dead blocks from Set
Once `indexOf(closer, X)` returns -1, all subsequent searches (with
monotonically increasing start) also return -1. So tracking absence is
enough; storing positions is unnecessary. Make `blocks` a Set and
delete a kind once its closer is known absent — no parallel `dead`
bookkeeping. Use Jest's per-test timeout for the ReDoS regressions
instead of manual Date.now() bookkeeping.
Co-authored-by: Cursor <[email protected] >
* refactor(strip_html): treat '<...>' as a catch-all block kind
Adding ['<', '>'] as the lowest-priority entry of `blocks` lets the
inner loop subsume the generic-tag fallback: the `end` sentinel and
its `< 0` / `<= 0` follow-up checks disappear, the "no terminator"
exit becomes a single `i === lt` test, and Set<[string, string]>
collapses to Map<string, string>.
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-05-11 23:59:40 +08:00
3129d46dc9
fix(date): cap strftime widths and account padding in memoryLimit ( #895 )
...
* fix(date): cap strftime widths and account padding in memoryLimit
- Clamp numeric strftime pad widths to MAX_STRFTIME_PAD (1024)
- Export estimateStrftimePaddingMemory for the date filter to charge memoryLimit
- Replace unbounded pad() concatenation loop with ch.repeat + single concat
- Add regression tests for clamping and memoryLimit on huge %width directives
Co-authored-by: Cursor <[email protected] >
* fix(date): harden strftime memory accounting and document security model
Move strftime memory charging into the same formatting path used for padding, enforce pre-allocation checks, and add regression tests for non-string date format PoCs. Add dedicated docs clarifying that memoryLimit is cooperative DoS mitigation and not strict heap isolation.
Co-authored-by: Cursor <[email protected] >
* docs(zh-cn): add security model docs for DoS limits
Add a Chinese security-model tutorial and link it from the Chinese DoS guide to clarify that memoryLimit is cooperative accounting, list uncounted custom conversion cases, and recommend avoiding fully user-defined templates in online services.
Co-authored-by: Cursor <[email protected] >
* docs: consolidate DoS docs into security-model pages
Merge DoS guidance into security-model docs in both English and Chinese, and remove the placeholder dos.md pages to avoid duplicate/redirect-only docs.
Co-authored-by: Cursor <[email protected] >
* docs: merge DoS details into security-model docs
Move the detailed parseLimit/renderLimit/memoryLimit explanations and examples into the English and Chinese security-model pages so content from the removed dos pages is preserved.
Co-authored-by: Cursor <[email protected] >
* docs: reorganize security-model structure for clarity
Restructure English and Chinese security-model docs into a consistent flow: security boundary, limits overview, per-limit details, and online service guidance.
Co-authored-by: Cursor <[email protected] >
* refactor(strftime): simplify %N width parsing logic
Use regex-backed width assumptions to simplify %N width normalization and padding memory accounting while keeping behavior equivalent.
Co-authored-by: Cursor <[email protected] >
* refactor(strftime): rely on memoryLimit for width control
Remove MAX_STRFTIME_PAD hard capping and rely on memoryLimit enforcement before padding allocation. Update strftime/date tests and security-model docs to match the new boundary and renderLimit caveats.
Co-authored-by: Cursor <[email protected] >
* fix(strftime): use add() once for padding, minimize churn
- pad(): replace per-char loop with a single add(str, ch.repeat(n)) call.
The earlier `probe[0] === ch` heuristic was wrong when ch happened to
equal a leading char of 'probe' (e.g. ch === 'p').
- strftime.ts: revert unrelated typing/structural refactors so the diff
contains only the memoryLimit threading and the %N memory charge.
- docs: rewire the deleted dos.html sidebar entry to security-model.html
(with localized labels) so the deleted page does not 404 from the
sidebar.
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-05-10 14:35:28 +08:00
5b9c346908
fix: enforce renderLimit for empty renderTemplates calls ( #894 )
...
renderLimit was only checked inside the per-template loop, so
renderTemplates([], ...) skipped it. Empty {% for %} and {% tablerow %}
bodies call that path once per iteration (tablerow still does emitter
work for <tr>/<td>), bypassing the documented time budget. Check the
limiter at renderTemplates entry before the loop.
Add regression tests for empty for-body and empty tablerow-body.
Co-authored-by: Cursor <[email protected] >
2026-05-07 23:03:43 +08:00
dbbf628803
fix: propagate ownPropertyOnly into Context.spawn() for {% render %} ( #893 )
...
Child contexts from spawn() re-derived ownPropertyOnly from Liquid opts
only, dropping per-render RenderOptions overrides. That broke the contract
that parseAndRender(..., { ownPropertyOnly: true }) locks down a single
render, including partials loaded via {% render %}.
Add regression test matching prototype-chain leak PoC.
Co-authored-by: Cursor <[email protected] >
2026-05-03 22:35:31 +08:00
26ea2856c7
fix: strip html newline tags ( #892 )
...
* docs: add @talboren as financial contributor
* fix(strip_html): match tags that span newlines inside angle brackets
Co-authored-by: Cursor <[email protected] >
---------
Co-authored-by: Cursor <[email protected] >
2026-05-03 21:36:09 +08:00
a55f543f49
docs(readme): add Freshet to Who's Using LiquidJS ( #888 )
...
Co-authored-by: MattAltermatt <[email protected] >
2026-05-03 12:05:12 +08:00
d1d517d1ec
docs: add VladimirFilonov as a contributor for code ( #891 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-05-03 12:03:52 +08:00
Vladimir Filonov and GitHub
1c816d4fc3
feat: add sha256 and hmac_sha256 filters for cryptographic operations ( #889 )
2026-05-03 12:03:26 +08:00
semantic-release-bot
34877950bf
chore(release): 10.25.7 [skip ci]
...
## [10.25.7](https://github.com/harttle/liquidjs/compare/v10.25.6...v10.25.7 ) (2026-04-23)
### Bug Fixes
* **filters:** support Buffer input in base64_encode to prevent binary data corruption ([#881 ](https://github.com/harttle/liquidjs/issues/881 )) ([0ee6dbb ](https://github.com/harttle/liquidjs/commit/0ee6dbb511aa926f6d490293282060abf3bab37f ))
2026-04-23 13:41:11 +00:00
Yang Jun and GitHub
75c815a4d7
docs: add @talboren as financial contributor ( #886 )
2026-04-23 21:39:50 +08:00
f1f896c29d
docs: add talboren as a contributor for code ( #885 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-04-23 21:31:50 +08:00
Tal and GitHub
0ee6dbb511
fix(filters): support Buffer input in base64_encode to prevent binary data corruption ( #881 )
...
* fix: support Buffer input in base64_encode filter
When binary data (e.g. images, PDFs) is passed through the template
context as a Node.js Buffer, the base64_encode filter would call
stringify() on it first, which internally does String(value). This
triggers Buffer.toString() with the default 'utf-8' encoding, which
is a lossy conversion for non-UTF-8 byte sequences — invalid bytes
get replaced with U+FFFD, permanently destroying the original data.
The fix checks for Buffer.isBuffer() before stringify, and calls
buffer.toString('base64') directly, bypassing the lossy UTF-8
intermediate step. String inputs continue through the existing path
unchanged.
Made-with: Cursor
* fix: handle Buffer in filter layer to fix browser build
Move Buffer handling from base64-impl.ts (which gets swapped for the
browser impl at build time) into base64.ts (the filter layer). This
avoids a type error during the browser rollup build where the browser
impl only accepts string.
Also guard Buffer.isBuffer() with typeof Buffer !== 'undefined' for
safety in browser environments.
Made-with: Cursor
2026-04-23 21:30:58 +08:00
semantic-release-bot
30e04ba16d
chore(release): 10.25.6 [skip ci]
...
## [10.25.6](https://github.com/harttle/liquidjs/compare/v10.25.5...v10.25.6 ) (2026-04-19)
### Bug Fixes
* nested block for layout ([#883 ](https://github.com/harttle/liquidjs/issues/883 )) ([e2311df ](https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 ))
2026-04-19 15:42:53 +00:00
Yang Jun and GitHub
e2311dfd6e
fix: nested block for layout ( #883 )
2026-04-19 23:41:35 +08:00
Yang Jun and GitHub
2def22c85e
docs(readme): add Kibana to README.md ( #882 )
...
* docs(readme): add Kibana and Sentry to Who's Using LiquidJS
Made-with: Cursor
* docs(readme): drop Semgrep and Sentry from Who's Using; keep Kibana
Made-with: Cursor
* docs(readme): restore Sentry in financial sponsors block
Made-with: Cursor
* docs(readme): restore Timmy Braun in all-contributors table
Made-with: Cursor
2026-04-19 21:38:15 +08:00
semantic-release-bot
4af7be695c
chore(release): 10.25.5 [skip ci]
...
## [10.25.5](https://github.com/harttle/liquidjs/compare/v10.25.4...v10.25.5 ) (2026-04-07)
### Bug Fixes
* enforce root containment for renderFile/parseFile lookups ([#870 ](https://github.com/harttle/liquidjs/issues/870 )) ([f41c1fc ](https://github.com/harttle/liquidjs/commit/f41c1fc02fe901598f3328118b42b13bc6bc9b04 ))
* null date should return empty ([#868 ](https://github.com/harttle/liquidjs/issues/868 )) ([#872 ](https://github.com/harttle/liquidjs/issues/872 )) ([4f9a499 ](https://github.com/harttle/liquidjs/commit/4f9a49988a93c156524981e189a4fec238e682b8 ))
* rounding negative away from zero when half ([#873 ](https://github.com/harttle/liquidjs/issues/873 )) ([1cdf10b ](https://github.com/harttle/liquidjs/commit/1cdf10b57d82f0592414efbfca19e204b37aea9f ))
2026-04-07 17:18:16 +00:00
Yang Jun and GitHub
05c47da46d
refactor: replace shell scripts with JS for cross-platform support ( #875 )
...
Convert bin/ shell scripts to Node.js and npm scripts using shx and npm-run-all2. Remove unused build-icons.sh. Inlined simple scripts (build-docs-liquid, build-apidoc) as npm scripts.
Made-with: Cursor
2026-04-08 01:16:49 +08:00
66011d14b0
docs: add timbze as a contributor for code ( #874 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-04-08 00:53:27 +08:00
Timmy Braun and GitHub
1cdf10b57d
fix: rounding negative away from zero when half ( #873 )
2026-04-08 00:52:35 +08:00
Timmy Braun and GitHub
4f9a49988a
fix: null date should return empty ( #868 ) ( #872 )
2026-04-08 00:10:33 +08:00
Yang Jun and GitHub
f41c1fc02f
fix: enforce root containment for renderFile/parseFile lookups ( #870 )
...
Made-with: Cursor
2026-04-07 23:18:53 +08:00
semantic-release-bot
db4348507e
chore(release): 10.25.4 [skip ci]
...
## [10.25.4](https://github.com/harttle/liquidjs/compare/v10.25.3...v10.25.4 ) (2026-04-07)
### Bug Fixes
* sort and sort_natural filters bypass ownPropertyOnly ([#869 ](https://github.com/harttle/liquidjs/issues/869 )) ([e743da0 ](https://github.com/harttle/liquidjs/commit/e743da0020d34e2ee547e1cc1a86b58377ebe1ce ))
2026-04-07 13:02:49 +00:00
Yang Jun and GitHub
e743da0020
fix: sort and sort_natural filters bypass ownPropertyOnly ( #869 )
...
Use _getFromScope for property access in sort/sort_natural filters to respect the ownPropertyOnly security option, preventing prototype chain traversal that could leak sensitive inherited properties.
Also extract shared sortBy helper, add orderedCompare with nil handling consistent with caseInsensitiveCompare and Ruby Liquid.
Made-with: Cursor
2026-04-07 21:01:20 +08:00
semantic-release-bot
8f69a08399
chore(release): 10.25.3 [skip ci]
...
## [10.25.3](https://github.com/harttle/liquidjs/compare/v10.25.2...v10.25.3 ) (2026-04-06)
### Bug Fixes
* precise memoryLimit for string replace ([abc058b ](https://github.com/harttle/liquidjs/commit/abc058be0f33d6372cd2216f4945183167abeb25 ))
* use realpath for fs.contains ([#867 ](https://github.com/harttle/liquidjs/issues/867 )) ([529dd67 ](https://github.com/harttle/liquidjs/commit/529dd67eeb6b125637623d6a723601f0938d3613 ))
2026-04-06 06:45:50 +00:00
Yang Jun and GitHub
529dd67eeb
fix: use realpath for fs.contains ( #867 )
...
* fix: use realpath for fs.contains
* chore: reset file mode changes
Made-with: Cursor
* fix: Windows compat for contains/containsSync and toLiquidAsync arg order
Made-with: Cursor
2026-04-06 14:40:35 +08:00
Harttle
abc058be0f
fix: precise memoryLimit for string replace
2026-03-26 19:36:31 +08:00
semantic-release-bot
521177e3f6
chore(release): 10.25.2 [skip ci]
...
## [10.25.2](https://github.com/harttle/liquidjs/compare/v10.25.1...v10.25.2 ) (2026-03-25)
### Bug Fixes
* handle undefined replacement argument in replace filter ([#864 ](https://github.com/harttle/liquidjs/issues/864 )) ([0ad2b11 ](https://github.com/harttle/liquidjs/commit/0ad2b11ab15e7da608a9ef936b2a00a6a6517038 ))
2026-03-25 17:20:39 +00:00
75e06eff92
docs: add joecottam as a contributor for code ( #865 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-03-26 01:19:19 +08:00
Joe Cottam and GitHub
0ad2b11ab1
fix: handle undefined replacement argument in replace filter ( #864 )
2026-03-26 01:18:40 +08:00
semantic-release-bot
97d829116c
chore(release): 10.25.1 [skip ci]
...
## [10.25.1](https://github.com/harttle/liquidjs/compare/v10.25.0...v10.25.1 ) (2026-03-22)
### Bug Fixes
* mem limiter for invalid ranges ([95ddefc ](https://github.com/harttle/liquidjs/commit/95ddefc056a11a44d9e753fd47a39db2c241e578 ))
* treat args for replace_first as literal ([35d5230 ](https://github.com/harttle/liquidjs/commit/35d523026345d80458df24c72e653db78b5d061d ))
2026-03-22 14:18:52 +00: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
Yang Jun and Harttle
95ddefc056
fix: mem limiter for invalid ranges
2026-03-22 10:24:03 +08:00
Yang Jun and GitHub
1b85fdaa9c
docs: update contact in security.md ( #862 )
2026-03-08 15:41:45 +08:00
semantic-release-bot
93c38c7c6d
chore(release): 10.25.0 [skip ci]
...
# [10.25.0](https://github.com/harttle/liquidjs/compare/v10.24.0...v10.25.0 ) (2026-03-07)
### Bug Fixes
* path traversal vulnerability, [#851 ](https://github.com/harttle/liquidjs/issues/851 ) ([#855 ](https://github.com/harttle/liquidjs/issues/855 )) ([3cd024d ](https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac ))
### Features
* export error types, resolving [#837 ](https://github.com/harttle/liquidjs/issues/837 ) ([#840 ](https://github.com/harttle/liquidjs/issues/840 )) ([71aa1b1 ](https://github.com/harttle/liquidjs/commit/71aa1b1998a3a66e536af67c6ea8947a28616eaf ))
2026-03-07 20:01:42 +00:00
Yang Jun and GitHub
c7a291b46b
chore: update semantic-release dependencies ( #861 )
2026-03-08 04:00:26 +08:00
Yang Jun and GitHub
eb4683ee3f
chore: update to NPM Trusted Release ( #860 )
2026-03-08 03:35:49 +08:00
Yang Jun and GitHub
f1fc573a65
docs: state differences regarding inspect array/hash, #852 , #853 ( #858 )
2026-03-08 03:14:13 +08:00
524cd92cfe
docs: add peaktwilight as a contributor for code ( #857 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-03-08 02:40:16 +08:00
0d9e797889
docs: add MorielHarush as a contributor for code ( #856 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-03-08 02:39:45 +08:00
3cd024d652
fix: path traversal vulnerability, #851 ( #855 )
...
* Fix Path Traversal fallback
* Update loader.ts
Fixed nested
* Update loader.ts
padding fix
* refactor: reuse root enforcing
* docs: update test case and docs
---------
Co-authored-by: MorielHarush <[email protected] >
2026-03-08 02:36:09 +08:00
Yang Jun and GitHub
85233e0568
docs: update testmu sponsor link ( #850 )
2026-02-14 13:54:03 +08:00
Yang Jun and GitHub
02403a1879
docs: Change LambdaTest to TestMu AI ( #848 )
2026-01-19 23:26:49 +08:00
Yang Jun and GitHub
1c6316111d
docs: update docs for operators ( #847 )
2026-01-10 22:09:10 +08:00
Yang Jun and GitHub
71aa1b1998
feat: export error types, resolving #837 ( #840 )
2025-11-22 00:27:44 +08:00
350f95c8f7
docs: add rongjiecomputer as a contributor for code ( #835 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-11-11 13:59:45 +08:00
Loo Rong Jie and GitHub
955b7971c0
Support having new line and other whitespace after include filename ( #834 )
2025-11-11 13:58:12 +08:00
8686876067
docs: add immerrr as a contributor for doc ( #831 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-10-31 09:35:15 +08:00
immerrr again and GitHub
3a02eb12bf
docs: update tutorial on operators and precedence ( #830 )
2025-10-31 09:34:05 +08:00
semantic-release-bot
906707833e
chore(release): 10.24.0 [skip ci]
...
# [10.24.0](https://github.com/harttle/liquidjs/compare/v10.23.0...v10.24.0 ) (2025-10-27)
### Features
* **filters:** Add base64_encode and base64_decode filters for Shopify compatibility ([#828 ](https://github.com/harttle/liquidjs/issues/828 )) ([86fc135 ](https://github.com/harttle/liquidjs/commit/86fc135d9ec0137689faf150535b9315e75ecc30 ))
2025-10-27 14:53:37 +00:00
a2da822cb8
docs: add rosomri as a contributor for code ( #829 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-10-27 22:42:15 +08:00
Omri Rosner and GitHub
86fc135d9e
feat(filters): Add base64_encode and base64_decode filters for Shopify compatibility ( #828 )
...
* feat(filters): add base64 encode and decode
* fix: use Object.defineProperty for cross-platform btoa/atob mocking
* docs(filters): update docs
* docs(filters): update version
2025-10-27 22:40:31 +08:00
Yang Jun and GitHub
5d953132e8
docs: add lambdatest to sponsors ( #826 )
2025-10-26 15:00:27 +08:00
2858271c8f
docs: add skynetigor as a contributor for code ( #825 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-10-23 22:23:52 +08:00
semantic-release-bot
d22945ed5f
chore(release): 10.23.0 [skip ci]
...
# [10.23.0](https://github.com/harttle/liquidjs/compare/v10.22.0...v10.23.0 ) (2025-10-23)
### Features
* Export specific tokens as types ([#824 ](https://github.com/harttle/liquidjs/issues/824 )) ([4f7d2fd ](https://github.com/harttle/liquidjs/commit/4f7d2fd84a8884e1009b13346d331a99b9721149 ))
2025-10-23 13:38:41 +00:00
Ihor Panasiuk and GitHub
4f7d2fd84a
feat: Export specific tokens as types ( #824 )
...
* Export specific tokens as types
* Update index.ts
2025-10-23 21:37:20 +08:00
semantic-release-bot
597ce7305f
chore(release): 10.22.0 [skip ci]
...
# [10.22.0](https://github.com/harttle/liquidjs/compare/v10.21.1...v10.22.0 ) (2025-10-06)
### Bug Fixes
* math filters coerce invalid string to 0, [#813 ](https://github.com/harttle/liquidjs/issues/813 ) ([#819 ](https://github.com/harttle/liquidjs/issues/819 )) ([e8e502c ](https://github.com/harttle/liquidjs/commit/e8e502c5854c9649bf7611a671a068dc260011d1 ))
### Features
* allow context access in liquidMethodMissing, [#808 ](https://github.com/harttle/liquidjs/issues/808 ) ([#820 ](https://github.com/harttle/liquidjs/issues/820 )) ([e551288 ](https://github.com/harttle/liquidjs/commit/e55128850e507687f9d85a012fc3a72ac2550f3b ))
2025-10-06 14:45:55 +00:00
Yang Jun
d7fa8ba5f1
chore: update node version for release workflow
2025-10-06 22:44:24 +08:00
Yang Jun and GitHub
1b356d350d
chore: fix Github artifact name ( #821 )
2025-10-06 22:32:34 +08:00
Yang Jun and GitHub
e55128850e
feat: allow context access in liquidMethodMissing, #808 ( #820 )
2025-10-06 18:34:08 +08:00
Yang Jun and GitHub
e8e502c585
fix: math filters coerce invalid string to 0, #813 ( #819 )
2025-10-06 18:31:43 +08:00
b8bc4db46c
docs: add StreakingMan as a contributor for doc ( #812 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-08-13 19:15:43 +08:00
裸奔狂甩丁丁 and GitHub
68d500c18a
docs: operators.md zh-cn translation ( #811 )
2025-08-13 19:14:47 +08:00
semantic-release-bot
de12359bfd
chore(release): 10.21.1 [skip ci]
...
## [10.21.1](https://github.com/harttle/liquidjs/compare/v10.21.0...v10.21.1 ) (2025-05-14)
### Bug Fixes
* block.super with strictVariables, [#806 ](https://github.com/harttle/liquidjs/issues/806 ) ([#807 ](https://github.com/harttle/liquidjs/issues/807 )) ([025c40f ](https://github.com/harttle/liquidjs/commit/025c40f0f2f13efa62193c61d2fa56943917ac3c ))
2025-05-14 17:49:27 +00:00
Yang Jun and GitHub
025c40f0f2
fix: block.super with strictVariables, #806 ( #807 )
2025-05-15 01:47:57 +08:00
Vlad GURDIGA and GitHub
2f414f8e40
docs: Fix formatting bug in echo.md ( #805 )
...
DISCLAIMER: This may not be the proper way to approach the issue.
Although the Markdown code is proper, on the website itself it is incorrectly rendered as "{{` and `}}".
The reason for the disclaimer above is that I’m imagining this may be an issue at the content rendering level, and my fix here is just a workaround of that issue. — Given this, I’ll not be offended if this PR of mine is rejected and closed. 🙂
2025-05-10 20:35:07 +08:00
Vlad GURDIGA and GitHub
40c52124d7
docs: Fix typo in options.md ( #802 )
...
Looks like just a typo.
2025-05-09 21:16:08 +08:00
ae0c07e60b
docs: add gurdiga as a contributor for doc ( #804 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-05-09 20:37:59 +08:00
Vlad GURDIGA and GitHub
3b9202465e
docs: A lil Markdown fix ( #803 )
...
Replaced square brackets with round ones in a link markup.
2025-05-09 20:36:49 +08:00
Harttle
fc42ad7548
docs: update financial contributors
2025-04-03 21:27:48 +08:00
allcontributors[bot] and GitHub
050a7fc68e
docs: add edh649 as a contributor for doc ( #801 )
2025-04-02 21:02:42 +08:00
Ed Hanton and Yang Jun
0fdc5c79da
Update register-filters-tags.md
...
Improve documentation
2025-04-02 21:01:20 +08:00
semantic-release-bot
90d2ecb107
chore(release): 10.21.0 [skip ci]
...
# [10.21.0](https://github.com/harttle/liquidjs/compare/v10.20.3...v10.21.0 ) (2025-02-23)
### Features
* add find_index, has, and reject filters ([#799 ](https://github.com/harttle/liquidjs/issues/799 )) ([0deb93e ](https://github.com/harttle/liquidjs/commit/0deb93eeae4f530901e9a7d099bcc47207ad7385 ))
2025-02-23 14:59:29 +00:00
Bruno Carvalho and GitHub
0deb93eeae
feat: add find_index, has, and reject filters ( #799 )
...
* feat: add find_index, has, and reject filters
* Minor tweaks
* Change semantics of jekyllStyle, add more tests
* Some docs improvements
2025-02-23 22:57:17 +08:00
semantic-release-bot
b0facc71f7
chore(release): 10.20.3 [skip ci]
...
## [10.20.3](https://github.com/harttle/liquidjs/compare/v10.20.2...v10.20.3 ) (2025-02-09)
### Bug Fixes
* empty tagToken.args since 10.20.0, fixes [#796 ](https://github.com/harttle/liquidjs/issues/796 ) ([38a0f51 ](https://github.com/harttle/liquidjs/commit/38a0f510b0a14baf35a368e9f07b536253394d06 ))
2025-02-09 14:51:09 +00: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
semantic-release-bot
bf3bd54051
chore(release): 10.20.2 [skip ci]
...
## [10.20.2](https://github.com/harttle/liquidjs/compare/v10.20.1...v10.20.2 ) (2025-01-19)
### Bug Fixes
* consistent range syntax parsing, [#791 ](https://github.com/harttle/liquidjs/issues/791 ) ([a490a70 ](https://github.com/harttle/liquidjs/commit/a490a70da1ca2b479065c6618207bf4789db6b4f ))
* context for group_by_exp/where_exp/find_exp, [#790 ](https://github.com/harttle/liquidjs/issues/790 ) ([a5070af ](https://github.com/harttle/liquidjs/commit/a5070af3e4b4d1ae3b6398c6638b130e50e1cf6e ))
2025-01-19 09:59:48 +00: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
semantic-release-bot
b070594fc7
chore(release): 10.20.1 [skip ci]
...
## [10.20.1](https://github.com/harttle/liquidjs/compare/v10.20.0...v10.20.1 ) (2025-01-04)
### Bug Fixes
* break/continue stops whole template, [#783 ](https://github.com/harttle/liquidjs/issues/783 ) ([5f1a4cf ](https://github.com/harttle/liquidjs/commit/5f1a4cfdc9d6bde31ce86ddc88b8f4bdf52f7893 ))
* enumerate plain objects in where/where_exp, [#785 ](https://github.com/harttle/liquidjs/issues/785 ) ([#788 ](https://github.com/harttle/liquidjs/issues/788 )) ([25ef104 ](https://github.com/harttle/liquidjs/commit/25ef104446731f4b6cb3a2e78f4d3b99efb635f4 ))
* preserveTimezones support for RFC2822 date, [#784 ](https://github.com/harttle/liquidjs/issues/784 ) ([59cf3c0 ](https://github.com/harttle/liquidjs/commit/59cf3c08dbc5f2e5b109ffcb5375ae738b5ac386 ))
2025-01-04 15:42:58 +00:00
Jun Yang and GitHub
25ef104446
fix: enumerate plain objects in where/where_exp, #785 ( #788 )
2025-01-04 23:41: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
semantic-release-bot
8c32ab4f42
chore(release): 10.20.0 [skip ci]
...
# [10.20.0](https://github.com/harttle/liquidjs/compare/v10.19.1...v10.20.0 ) (2024-12-28)
### Features
* `size`, `first`, `last` support arraylike objects, [#781 ](https://github.com/harttle/liquidjs/issues/781 ) ([35a8442 ](https://github.com/harttle/liquidjs/commit/35a84421a622b3a6657946b9395839da2b8e154a ))
* static variable analysis ([#770 ](https://github.com/harttle/liquidjs/issues/770 )) ([3492ff6 ](https://github.com/harttle/liquidjs/commit/3492ff63f40abb8ff8adb8b6b0ce29408f99e19b ))
2024-12-28 13:53:20 +00:00
Harttle
94a6715667
docs: zh-cn translation for static analyze features
2024-12-28 21:49:29 +08:00
James and GitHub
3492ff63f4
feat: static variable analysis ( #770 )
...
* feat: static variable analysis
* Accept any iterable from `children`, `arguments`, etc.
* Test analysis of standard tags
* Use `TagToken.tokenizer` instead of creating a new one
* Test analysis of netsted tags
* Group variables by their root value
* Test analysis of nested globals and locals
* Analyze included and rendered templates WIP
* Use existing tokenizer when constructing `Hash`
* Improve test coverage
* Analyze variables from `layout` and `block` tags
* Test analysis of Jekyll style includes
* Handle variables that start with a nested variable
* Async analysis
* Test non-standard tag end to end
* Implement convenience analysis methods on the `Liquid` class
* More analysis convenience methods
* Accept string or template array
* Draft static analysis docs
* Deduplicate variables names
* Fix isolated scope global variable map
* Coerce variables to strings instead of extending String
* Private map instead of extending Map
* Fix e2e test
* Tentatively implement analysis of aliased variables
* Fix nested variable segments array
* Update docs sidebar
2024-12-28 21:35:28 +08:00
Harttle and Jun Yang
35a84421a6
feat: size, first, last support arraylike objects, #781
2024-12-28 16:10:06 +08:00
semantic-release-bot
bb08cfab1f
chore(release): 10.19.1 [skip ci]
...
## [10.19.1](https://github.com/harttle/liquidjs/compare/v10.19.0...v10.19.1 ) (2024-12-22)
### Bug Fixes
* add sideEffects=false to package.json ([734eb52 ](https://github.com/harttle/liquidjs/commit/734eb52b987d46d33cf8f03281a3773a0f1f0e4a ))
* inconsistent continue behaviour, fixes [#779 ](https://github.com/harttle/liquidjs/issues/779 ) ([e3ef574 ](https://github.com/harttle/liquidjs/commit/e3ef574674c5a21a37b3ffc929f514c8a3d0b866 ))
* memoryLimit doesn't work in for tag, [#776 ](https://github.com/harttle/liquidjs/issues/776 ) ([2af297f ](https://github.com/harttle/liquidjs/commit/2af297f81ac465feb3277ba7b92f7236409370b0 ))
2024-12-22 08:33:44 +00: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
d61855bf72
docs: add timvandam as a contributor for code ( #775 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-12-01 09:55:27 +08:00
Tim van Dam and Jun Yang
734eb52b98
fix: add sideEffects=false to package.json
2024-12-01 09:54:45 +08:00
2980260fc1
docs: add santialbo as a contributor for code ( #772 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-11-17 21:38:50 +08:00
semantic-release-bot
062b351598
chore(release): 10.19.0 [skip ci]
...
# [10.19.0](https://github.com/harttle/liquidjs/compare/v10.18.0...v10.19.0 ) (2024-11-17)
### Features
* allow drops in property access ([#769 ](https://github.com/harttle/liquidjs/issues/769 )) ([11f013b ](https://github.com/harttle/liquidjs/commit/11f013bf249f1366306c1f0d728d45a95eb2df1a ))
* support Jekyll style `where`, [#768 ](https://github.com/harttle/liquidjs/issues/768 ) ([9107eb1 ](https://github.com/harttle/liquidjs/commit/9107eb1b93f5c11dca0ee0f0d2c1c8243849c3ab ))
2024-11-17 13:35:17 +00:00
Harttle and Jun Yang
9107eb1b93
feat: support Jekyll style where, #768
2024-11-17 21:33:38 +08:00
Santi Albo and GitHub
11f013bf24
feat: allow drops in property access ( #769 )
2024-11-17 20:24:45 +08:00
Yang Jun
ad039abea0
docs: add Syntax Podcast & Cartelli Emmanuel as contributor
2024-11-12 23:59:40 +08:00
Yang Jun
0b195b21eb
test: case for "." path handling
2024-11-12 23:59:40 +08:00
Yang Jun
28b14901d3
docs: add context json for playground default demo, #764
2024-10-25 21:30:00 +08:00
semantic-release-bot
09aca0d7b3
chore(release): 10.18.0 [skip ci]
...
# [10.18.0](https://github.com/harttle/liquidjs/compare/v10.17.0...v10.18.0 ) (2024-10-16)
### Features
* expose FilterToken to filter `this`, [#762 ](https://github.com/harttle/liquidjs/issues/762 ) ([d705888 ](https://github.com/harttle/liquidjs/commit/d705888c8d46d9dd95fcb41c0fb7bfbaf647eddd ))
2024-10-16 14:08:56 +00:00
Yang Jun
d705888c8d
feat: expose FilterToken to filter this, #762
2024-10-16 22:07:25 +08:00
59da3fa543
docs: add Neamar as a contributor for doc ( #758 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-09-28 00:50:54 +08:00
Matthieu Bacconnier and GitHub
4490e4b789
Replace trimValue with trimOutput ( #757 )
...
I believe this is a type, as the config has been called trimOutputLeft/Right for 5 years: https://github.com/harttle/liquidjs/blame/83922032b79fd678237de8786f0d75fb33e6312f/src/liquid-options.ts#L54
I'm new to this library, so I could also be missing out on something, in which case feel free to close, but the trimValue options do not exist on Config.
2024-09-28 00:49:37 +08:00
semantic-release-bot
83922032b7
chore(release): 10.17.0 [skip ci]
...
# [10.17.0](https://github.com/harttle/liquidjs/compare/v10.16.7...v10.17.0 ) (2024-09-22)
### Features
* support custom key-value separator, [#752 ](https://github.com/harttle/liquidjs/issues/752 ) ([6aeed25 ](https://github.com/harttle/liquidjs/commit/6aeed2586a70a5bd4f878d2cb32547e35677458d ))
2024-09-22 13:58:12 +00:00
Yang Jun
8e7284d19c
docs: Add PakStyle.pk into financial contributors
2024-09-22 21:56:18 +08:00
Yang Jun and Jun Yang
6aeed2586a
feat: support custom key-value separator, #752
2024-09-22 21:55:44 +08:00
Yang Jun
5ada07c2c6
docs: add Microsoft to sponsors for 6/15 donation
2024-09-15 13:28:50 +08:00
semantic-release-bot
e942b5a451
chore(release): 10.16.7 [skip ci]
...
## [10.16.7](https://github.com/harttle/liquidjs/compare/v10.16.6...v10.16.7 ) (2024-08-29)
### Bug Fixes
* use CommonJS bundle to support default export ([2543461 ](https://github.com/harttle/liquidjs/commit/25434618808d8ab437ce4606d59114b4ad849f7f ))
* use cwd to resolve npm partials for Node.JS ([e5fbdfe ](https://github.com/harttle/liquidjs/commit/e5fbdfe43415c9f78408f1349873c0011f639d82 ))
2024-08-29 17:10:00 +00:00
Yang Jun
e5fbdfe434
fix: use cwd to resolve npm partials for Node.JS
2024-08-30 01:08:39 +08:00
Yang Jun
2543461880
fix: use CommonJS bundle to support default export
2024-08-30 01:08:39 +08:00
semantic-release-bot
26e85ddfaf
chore(release): 10.16.6 [skip ci]
...
## [10.16.6](https://github.com/harttle/liquidjs/compare/v10.16.5...v10.16.6 ) (2024-08-29)
### Bug Fixes
* expose originalError from LiquidError, [#742 ](https://github.com/harttle/liquidjs/issues/742 ) ([86f6bf0 ](https://github.com/harttle/liquidjs/commit/86f6bf0d3198354af23bcdb298c6625a6c5a4dde ))
2024-08-29 03:40:15 +00:00
Yang Jun
86f6bf0d31
fix: expose originalError from LiquidError, #742
2024-08-29 11:37:56 +08:00
Yang Jun
62bb20e433
test: refactor test:demo script into demo/*/test.sh
2024-08-29 01:30:25 +08:00
semantic-release-bot
da516a4fd6
chore(release): 10.16.5 [skip ci]
...
## [10.16.5](https://github.com/harttle/liquidjs/compare/v10.16.4...v10.16.5 ) (2024-08-27)
### Bug Fixes
* ESM bundle for Node.js, [#739 ](https://github.com/harttle/liquidjs/issues/739 ) ([ce84cd6 ](https://github.com/harttle/liquidjs/commit/ce84cd6f43c8e076ce9d2507b2b7f3395fcd1328 ))
2024-08-27 16:33:51 +00:00
Yang Jun
3eb307ad86
test: CI test for demos
2024-08-28 00:31:59 +08:00
Yang Jun
ce84cd6f43
fix: ESM bundle for Node.js, #739
2024-08-28 00:31:59 +08:00
semantic-release-bot
7c4bd7ee68
chore(release): 10.16.4 [skip ci]
...
## [10.16.4](https://github.com/harttle/liquidjs/compare/v10.16.3...v10.16.4 ) (2024-08-23)
### Bug Fixes
* "filter is not a function" for uniq ([68387c3 ](https://github.com/harttle/liquidjs/commit/68387c31ead77862a634f857a64932ef07b85188 ))
* memory limit issue for join filter, fix [#737 ](https://github.com/harttle/liquidjs/issues/737 ) ([2d59cff ](https://github.com/harttle/liquidjs/commit/2d59cff0a6162b462b4d97ebea4e0dbaf6146b65 ))
2024-08-23 13:29:39 +00:00
Yang Jun
68387c31ea
fix: "filter is not a function" for uniq
2024-08-23 21:27:53 +08:00
Yang Jun
2d59cff0a6
fix: memory limit issue for join filter, fix #737
2024-08-23 21:27:53 +08:00
Yang Jun
292a93b738
docs: fix liquid snippet lighlight
2024-08-20 09:23:52 +08:00
Yang Jun
5b1658c823
docs: fix styles and escape
2024-08-20 03:35:37 +08:00
Yang Jun
b1f0260dcb
docs: Add WISMOlabs use case into README
2024-08-18 13:44:20 +08:00
semantic-release-bot
4fdbce2459
chore(release): 10.16.3 [skip ci]
...
## [10.16.3](https://github.com/harttle/liquidjs/compare/v10.16.2...v10.16.3 ) (2024-08-16)
### Bug Fixes
* support for NodeJS 15, fixes [#732 ](https://github.com/harttle/liquidjs/issues/732 ) ([4548c11 ](https://github.com/harttle/liquidjs/commit/4548c1140629bf270d163a403c2994d785c7f710 ))
2024-08-16 16:56:46 +00:00
Jun Yang and GitHub
e941378535
docs: add internal types in apidoc ( #734 )
...
* docs: add internal types in apidoc
* chore: downgrade package-lock version for NodeJS 14
* test: test case when performance uses Date.now
2024-08-17 00:55:24 +08:00
Yang Jun
4548c11406
fix: support for NodeJS 15, fixes #732
2024-08-16 23:40:48 +08:00
semantic-release-bot
22ba21d63f
chore(release): 10.16.2 [skip ci]
...
## [10.16.2](https://github.com/harttle/liquidjs/compare/v10.16.1...v10.16.2 ) (2024-08-15)
### Bug Fixes
* support for NodeJS 14 ([85bd0d3 ](https://github.com/harttle/liquidjs/commit/85bd0d35a6d949a02db49ba546407fe5be17db5e ))
2024-08-15 17:39:09 +00:00
Yang Jun
85bd0d35a6
fix: support for NodeJS 14
2024-08-16 01:36:42 +08:00
Yang Jun
f8bb63a1bb
chore: check node 14 on pipeline
2024-08-16 01:36:33 +08:00
Jun Yang and GitHub
c6a6ef1a1f
chore: check node@14 on pipeline, #728 ( #731 )
2024-08-16 00:55:14 +08:00
6fb707f9c4
docs: add vrugtehagel as a contributor for code ( #730 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-08-15 22:40:05 +08:00
Koen and GitHub
f03247d420
Import performance object from perf_hooks ( #729 )
2024-08-15 22:37:46 +08:00
semantic-release-bot
ebc8daeec9
chore(release): 10.16.1 [skip ci]
...
## [10.16.1](https://github.com/harttle/liquidjs/compare/v10.16.0...v10.16.1 ) (2024-07-25)
### Bug Fixes
* parser throws on non-string input, [#726 ](https://github.com/harttle/liquidjs/issues/726 ) ([21a8223 ](https://github.com/harttle/liquidjs/commit/21a822348f3c315dae56fba2674ad3db0cf2f80d ))
2024-07-25 12:07:55 +00:00
Yang Jun
21a822348f
fix: parser throws on non-string input, #726
2024-07-25 20:06:12 +08:00
semantic-release-bot
fce2899e88
chore(release): 10.16.0 [skip ci]
...
# [10.16.0](https://github.com/harttle/liquidjs/compare/v10.15.0...v10.16.0 ) (2024-07-21)
### Features
* locale support for date filter, [#567 ](https://github.com/harttle/liquidjs/issues/567 ) ([#723 ](https://github.com/harttle/liquidjs/issues/723 )) ([e4aeb02 ](https://github.com/harttle/liquidjs/commit/e4aeb023fddf5ead90db209599cfd99450274658 ))
2024-07-21 16:41:22 +00:00
Jun Yang and GitHub
e4aeb023fd
feat: locale support for date filter, #567 ( #723 )
2024-07-22 00:39:44 +08:00
semantic-release-bot
542a75fd44
chore(release): 10.15.0 [skip ci]
...
# [10.15.0](https://github.com/harttle/liquidjs/compare/v10.14.0...v10.15.0 ) (2024-07-09)
### Bug Fixes
* report error for malformed else/elsif/endif/endfor, [#713 ](https://github.com/harttle/liquidjs/issues/713 ) ([22b5a12 ](https://github.com/harttle/liquidjs/commit/22b5a123333a066aaf7dff580df061e7cd6aa7b2 ))
### Features
* DoS prevention, [#250 ](https://github.com/harttle/liquidjs/issues/250 ) ([e443068 ](https://github.com/harttle/liquidjs/commit/e443068cb9281883ff0fe9f755a15f52ada4e7e2 ))
* support in-memory template mapping, inspired by [@jg-rp](https://github.com/jg-rp ) [#714 ](https://github.com/harttle/liquidjs/issues/714 ) ([df27ac6 ](https://github.com/harttle/liquidjs/commit/df27ac694739496982012432077fe28b1476662a ))
2024-07-09 14:52:55 +00:00
Yang Jun
e443068cb9
feat: DoS prevention, #250
2024-07-09 22:51:11 +08:00
Yang Jun
fad00aa14e
test: edge cases for map fs
2024-07-09 22:51:11 +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
semantic-release-bot
53489641ac
chore(release): 10.14.0 [skip ci]
...
# [10.14.0](https://github.com/harttle/liquidjs/compare/v10.13.1...v10.14.0 ) (2024-06-17)
### Bug Fixes
* use drop `valueOf` when evaluated as condition ([#705 ](https://github.com/harttle/liquidjs/issues/705 )) ([a7da93f ](https://github.com/harttle/liquidjs/commit/a7da93ff0f2c1c66f9c85b45ffcc1326c23254c7 ))
### Features
* support catching all errors, [#220 ](https://github.com/harttle/liquidjs/issues/220 ) ([#710 ](https://github.com/harttle/liquidjs/issues/710 )) ([3b5627b ](https://github.com/harttle/liquidjs/commit/3b5627b04072b1d6703ef5ba782a3a0f26fd2a60 ))
2024-06-17 14:52:35 +00:00
Jun Yang and GitHub
3b5627b040
feat: support catching all errors, #220 ( #710 )
2024-06-17 22:48:57 +08:00
612da52275
docs: add jsoref as a contributor for doc ( #709 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-06-17 17:20:45 +08:00
a0ea372764
docs: fix some spelling ( #708 )
...
* spelling: according
Signed-off-by: Josh Soref <[email protected] >
* spelling: asynchronously
Signed-off-by: Josh Soref <[email protected] >
* spelling: background
Signed-off-by: Josh Soref <[email protected] >
* spelling: camel
Signed-off-by: Josh Soref <[email protected] >
* spelling: cannot
Signed-off-by: Josh Soref <[email protected] >
* spelling: case-sensitive
Signed-off-by: Josh Soref <[email protected] >
* spelling: comparison
Signed-off-by: Josh Soref <[email protected] >
* spelling: demos
Signed-off-by: Josh Soref <[email protected] >
* spelling: forloop
Signed-off-by: Josh Soref <[email protected] >
* spelling: formatters
Signed-off-by: Josh Soref <[email protected] >
* spelling: github
Signed-off-by: Josh Soref <[email protected] >
* spelling: guidelines
Signed-off-by: Josh Soref <[email protected] >
* spelling: hashes
Signed-off-by: Josh Soref <[email protected] >
* spelling: https
Signed-off-by: Josh Soref <[email protected] >
* spelling: javascript
Signed-off-by: Josh Soref <[email protected] >
* spelling: keep
Signed-off-by: Josh Soref <[email protected] >
* spelling: natural
Signed-off-by: Josh Soref <[email protected] >
* spelling: neither
Signed-off-by: Josh Soref <[email protected] >
* spelling: no longer
Signed-off-by: Josh Soref <[email protected] >
* spelling: nonexistent
Signed-off-by: Josh Soref <[email protected] >
* spelling: output
Signed-off-by: Josh Soref <[email protected] >
* spelling: polymorphism
Signed-off-by: Josh Soref <[email protected] >
* spelling: precache
Signed-off-by: Josh Soref <[email protected] >
* spelling: programmatically
Signed-off-by: Josh Soref <[email protected] >
* spelling: punctuation
Signed-off-by: Josh Soref <[email protected] >
* spelling: registration
Signed-off-by: Josh Soref <[email protected] >
* spelling: rendered
Signed-off-by: Josh Soref <[email protected] >
* spelling: synchronously
Signed-off-by: Josh Soref <[email protected] >
* spelling: thrown
Signed-off-by: Josh Soref <[email protected] >
* spelling: trimmed
Signed-off-by: Josh Soref <[email protected] >
* spelling: unbalanced
Signed-off-by: Josh Soref <[email protected] >
* chore: use example.com
* chore: fix reference for sidebar.registration
---------
Signed-off-by: Josh Soref <[email protected] >
Co-authored-by: Harttle <[email protected] >
2024-06-17 17:19:46 +08:00
Adam Tanner and GitHub
a7da93ff0f
fix: use drop valueOf when evaluated as condition ( #705 )
2024-06-05 08:28:21 +08:00
semantic-release-bot
513940dfa7
chore(release): 10.13.1 [skip ci]
...
## [10.13.1](https://github.com/harttle/liquidjs/compare/v10.13.0...v10.13.1 ) (2024-05-24)
### Bug Fixes
* allow liquidMethodMissing to return any supported value type ([#698 ](https://github.com/harttle/liquidjs/issues/698 )) ([0983f2c ](https://github.com/harttle/liquidjs/commit/0983f2c42012b2b97258d0cdcb07b6d43c904814 ))
* isComparable full interface check ([#701 ](https://github.com/harttle/liquidjs/issues/701 )) ([55e144a ](https://github.com/harttle/liquidjs/commit/55e144a0298047349d55d8483a46b2513303d940 ))
2024-05-24 02:39:11 +00:00
8f700ae10a
docs: add GuillermoCasalCaro as a contributor for code ( #702 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-24 10:37:16 +08:00
55e144a029
fix: isComparable full interface check ( #701 )
...
* Improve isComparable function to ensure full Comparable interface implementation
* Deleted trailing commas
---------
Co-authored-by: Guillermo Casal Caro <[email protected] >
2024-05-24 10:35:49 +08:00
6ca5376362
docs: add admtnnr as a contributor for code ( #699 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-05-22 12:36:50 +08:00
0983f2c420
fix: allow liquidMethodMissing to return any supported value type ( #698 )
...
* fix: allow liquidMethodMissing to return any supported value type
* Update src/drop/drop.ts
Co-authored-by: Jun Yang <[email protected] >
---------
Co-authored-by: Jun Yang <[email protected] >
2024-05-22 12:35:46 +08:00
allcontributors[bot] and Jun Yang
12001b6161
docs: update .all-contributorsrc [skip ci]
2024-05-14 18:21:36 +08:00
allcontributors[bot] and Jun Yang
7591ddc161
docs: update README.md [skip ci]
2024-05-14 18:21:36 +08:00
Cosmin Popovici and Jun Yang
3b24f079ea
docs: update broken link
...
updated broken link to shopify/liquid differences page
2024-05-14 18:20:54 +08:00
semantic-release-bot
bd571d19d1
chore(release): 10.13.0 [skip ci]
...
# [10.13.0](https://github.com/harttle/liquidjs/compare/v10.12.0...v10.13.0 ) (2024-05-13)
### Features
* array_to_sentence_string and number_of_words filters from Jekyll, [#443 ](https://github.com/harttle/liquidjs/issues/443 ) ([50253a9 ](https://github.com/harttle/liquidjs/commit/50253a98caf5356d3c33e148be66f34fbe75a204 ))
* date filters from Jekyll ([4955e75 ](https://github.com/harttle/liquidjs/commit/4955e75be7f38a3fd15e71f2c192cff6f0d6e2d5 ))
* escape filters from Jekyll, [#443 ](https://github.com/harttle/liquidjs/issues/443 ) ([b12eb8a ](https://github.com/harttle/liquidjs/commit/b12eb8ab4b58b002459725b6c0ed00159cdc15e6 ))
* jsonify, inspect, to_integer, normalize_whitespace filters ([842b45c ](https://github.com/harttle/liquidjs/commit/842b45c96a46290a1e1ba43fc5cc7a465f4ba9de ))
* slugify filter from Jekyll, [#443 ](https://github.com/harttle/liquidjs/issues/443 ) ([47ddc11 ](https://github.com/harttle/liquidjs/commit/47ddc1193b84bbdeb8d48457bb5aead24d5aff77 ))
2024-05-13 15:56:11 +00:00
Yang Jun
47ddc1193b
feat: slugify filter from Jekyll, #443
2024-05-13 23:54:07 +08:00
Yang Jun
50253a98ca
feat: array_to_sentence_string and number_of_words filters from Jekyll, #443
2024-05-13 00:38:52 +08:00
Yang Jun
b12eb8ab4b
feat: escape filters from Jekyll, #443
2024-05-12 15:05:36 +08:00
Yang Jun
4955e75be7
feat: date filters from Jekyll
2024-05-09 23:37:27 +08:00
Yang Jun
842b45c96a
feat: jsonify, inspect, to_integer, normalize_whitespace filters
2024-05-06 21:10:27 +08:00
semantic-release-bot
ea0eab93d1
chore(release): 10.12.0 [skip ci]
...
# [10.12.0](https://github.com/harttle/liquidjs/compare/v10.11.1...v10.12.0 ) (2024-04-28)
### Bug Fixes
* case/when array equality, [#673 ](https://github.com/harttle/liquidjs/issues/673 ) ([2b63035 ](https://github.com/harttle/liquidjs/commit/2b630353c478368cb36dbfcb38961b25bf48249e ))
### Features
* introduce where_exp filter from Jekyll ([8c7cef9 ](https://github.com/harttle/liquidjs/commit/8c7cef9f95cda765164ada8d58af7d402b3d3143 ))
2024-04-28 15:18:37 +00:00
Yang Jun and Jun Yang
76a7fb738e
chore: use Node@20 to build
2024-04-28 23:17:01 +08:00
Yang Jun and Jun Yang
2b630353c4
fix: case/when array equality, #673
2024-04-28 23:17:01 +08:00
Yang Jun and Jun Yang
8c7cef9f95
feat: introduce where_exp filter from Jekyll
2024-04-28 23:17:01 +08:00
Yang Jun and Jun Yang
303a0d44b5
docs: add customerio as contributor
2024-04-28 23:17:01 +08:00
semantic-release-bot
28ebe11d26
chore(release): 10.11.1 [skip ci]
...
## [10.11.1](https://github.com/harttle/liquidjs/compare/v10.11.0...v10.11.1 ) (2024-04-21)
### Bug Fixes
* allow %Z for TimezoneDate, update docs accordingly [#684 ](https://github.com/harttle/liquidjs/issues/684 ) ([e09657c ](https://github.com/harttle/liquidjs/commit/e09657c52b5e9920256d73f99455e2e81cadf065 ))
* Allow `lenientIf` for multiple operands (issue [#682 ](https://github.com/harttle/liquidjs/issues/682 )) ([#683 ](https://github.com/harttle/liquidjs/issues/683 )) ([490ff43 ](https://github.com/harttle/liquidjs/commit/490ff4309cc231a25be23df5374a5d032aac144e ))
2024-04-21 08:09:13 +00:00
fdec831e5c
docs: add amedve as a contributor for code ( #686 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-21 16:07:34 +08:00
Max Medve and GitHub
490ff4309c
fix: Allow lenientIf for multiple operands (issue #682 ) ( #683 )
...
* allow `lenientIf` for multiple operands
* update tests
2024-04-21 16:04:38 +08:00
Yang Jun and Jun Yang
e09657c52b
fix: allow %Z for TimezoneDate, update docs accordingly #684
2024-04-21 15:57:43 +08:00
semantic-release-bot
d48ac56824
chore(release): 10.11.0 [skip ci]
...
# [10.11.0](https://github.com/harttle/liquidjs/compare/v10.10.2...v10.11.0 ) (2024-04-14)
### Features
* group_by/group_by_exp/find/find_exp from Jekyll, [#443 ](https://github.com/harttle/liquidjs/issues/443 ) ([2b713b7 ](https://github.com/harttle/liquidjs/commit/2b713b721d1f355309a70ebb5846169c6c03c523 ))
* pop/shift/unshift filters from Jekyll ([258780e ](https://github.com/harttle/liquidjs/commit/258780e9a87ce87534a6bb4336725cb1d38a2998 ))
2024-04-14 11:36:01 +00:00
Jun Yang
2b713b721d
feat: group_by/group_by_exp/find/find_exp from Jekyll, #443
2024-04-14 19:34:07 +08:00
Jun Yang
258780e9a8
feat: pop/shift/unshift filters from Jekyll
2024-04-14 19:34:07 +08:00
Jun Yang
18d55929e5
docs: add docs for push filter
2024-04-14 19:34:07 +08:00
Jun Yang
ccd83bc6bd
docs: fix build status badge
2024-03-30 21:23:56 +08:00
semantic-release-bot
306b070507
chore(release): 10.10.2 [skip ci]
...
## [10.10.2](https://github.com/harttle/liquidjs/compare/v10.10.1...v10.10.2 ) (2024-03-21)
### Bug Fixes
* contains regression ([#677 ](https://github.com/harttle/liquidjs/issues/677 )) ([05223c4 ](https://github.com/harttle/liquidjs/commit/05223c4378f9474f4e658af36cb8272e161d681f )), closes [#675 ](https://github.com/harttle/liquidjs/issues/675 )
2024-03-21 15:57:46 +00:00
Jun Yang and GitHub
05223c4378
fix: contains regression ( #677 )
...
* fix: `contains` regression on string-like objects, #675
* chore: fix build docs on macos
2024-03-21 23:56:10 +08:00
Harttle
01029aba87
docs: try to include all sponsors/backers
2024-03-11 22:06:17 +08:00
semantic-release-bot
902a8e4c22
chore(release): 10.10.1 [skip ci]
...
## [10.10.1](https://github.com/harttle/liquidjs/compare/v10.10.0...v10.10.1 ) (2024-02-18)
### Bug Fixes
* in conditionals, don't render anything after an else branch ([#671 ](https://github.com/harttle/liquidjs/issues/671 )) ([f816955 ](https://github.com/harttle/liquidjs/commit/f81695570491ede77975de2c26a07612a2d62c28 ))
* Rely on equal for computing contains ([#668 ](https://github.com/harttle/liquidjs/issues/668 )) ([1937aa1 ](https://github.com/harttle/liquidjs/commit/1937aa1f1dce01ee6332f39a6e658e85cbe4f30b ))
2024-02-18 05:33:31 +00:00
08421ea70c
docs: add joel-hamilton as a contributor for code ( #674 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-02-18 13:31:18 +08:00
f816955704
fix: in conditionals, don't render anything after an else branch ( #671 )
...
* fix: only render the first 'else' template in the case of multiples
* fix: empty else block and cases with when conditions
* fix: don't render elsif after else
* chore: Update src/tags/unless.ts
* chore: Update src/tags/if.ts
* chore: Update src/tags/case.ts
---------
Co-authored-by: Jun Yang <[email protected] >
2024-02-18 13:30:16 +08:00
1937aa1f1d
fix: Rely on equal for computing contains ( #668 )
...
* fix: rely on equal for computing contains
This change allows contains to be computed using the toValue of the items in the array.
Before this change if I had an array of "Drop" `contains` would not match against the value.
* Apply suggestions from code review
Co-authored-by: Jun Yang <[email protected] >
---------
Co-authored-by: Jun Yang <[email protected] >
2024-02-14 10:19:32 +08:00
allcontributors[bot] and Jun Yang
4518a19588
docs: update .all-contributorsrc [skip ci]
2024-01-14 20:57:06 +08:00
allcontributors[bot] and Jun Yang
dafdfbc849
docs: update README.md [skip ci]
2024-01-14 20:57:06 +08:00
fupeng1 and Jun Yang
3632623456
chore: adjust typings dir
2024-01-14 20:55:59 +08:00
85f5b327fa
docs: add brunodccarvalho as a contributor for code ( #662 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-19 20:08:24 +08:00
semantic-release-bot
9347586cb5
chore(release): 10.10.0 [skip ci]
...
# [10.10.0](https://github.com/harttle/liquidjs/compare/v10.9.4...v10.10.0 ) (2023-12-19)
### Features
* Array sum filter ([#661 ](https://github.com/harttle/liquidjs/issues/661 )) ([629d958 ](https://github.com/harttle/liquidjs/commit/629d958b86a97ddf2921d2285b7c9ea83430004e ))
2023-12-19 12:06:51 +00:00
629d958b86
feat: Array sum filter ( #661 )
...
* feat(filters): add array sum filter
* docs(filters): array sum filter
* docs: update versoin number in source/filters/sum.md
---------
Co-authored-by: Jun Yang <[email protected] >
2023-12-19 20:05:15 +08:00
Harttle
fe978c8cd9
docs: Liquid Drops
2023-11-29 21:53:09 +08:00
semantic-release-bot
8ff9aea8ce
chore(release): 10.9.4 [skip ci]
...
## [10.9.4](https://github.com/harttle/liquidjs/compare/v10.9.3...v10.9.4 ) (2023-11-04)
### Bug Fixes
* allow unicode to be identifiers, fixes [#655 ](https://github.com/harttle/liquidjs/issues/655 ) ([dd7616a ](https://github.com/harttle/liquidjs/commit/dd7616acb9a71b77f39d2fa24b6f68a7caef87f1 ))
2023-11-04 13:36:47 +00:00
Harttle
dd7616acb9
fix: allow unicode to be identifiers, fixes #655
2023-11-04 21:33:29 +08:00
allcontributors[bot] and Jun Yang
d75ac93390
docs: update .all-contributorsrc [skip ci]
2023-10-31 19:57:42 +08:00
allcontributors[bot] and Jun Yang
2caeeda1c1
docs: update README.md [skip ci]
2023-10-31 19:57:42 +08:00
Rasmus Wriedt Larsen and Jun Yang
6ebf2ee427
docs: fix typo (ans => and)
2023-10-31 19:55:19 +08:00
semantic-release-bot
3bd825afb0
chore(release): 10.9.3 [skip ci]
...
## [10.9.3](https://github.com/harttle/liquidjs/compare/v10.9.2...v10.9.3 ) (2023-10-15)
### Bug Fixes
* package version in released files ([67a5b22 ](https://github.com/harttle/liquidjs/commit/67a5b229ca9ccabb4aee42bbb5c9f03d4076786a ))
2023-10-15 13:11:10 +00: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
semantic-release-bot
30e364c7d0
chore(release): 10.9.2 [skip ci]
...
## [10.9.2](https://github.com/harttle/liquidjs/compare/v10.9.1...v10.9.2 ) (2023-08-28)
### Bug Fixes
* handle windows newlines on `newline_to_br` and `strip_newlines` ([88aa63f ](https://github.com/harttle/liquidjs/commit/88aa63fd58b5a5824c031acc6f3e4072bedd262f ))
* sort and where bug when using `strictVariables` ([8af682d ](https://github.com/harttle/liquidjs/commit/8af682d2ca68de99bafd4a7055e4912eeb318f57 ))
2023-08-28 13:15:00 +00:00
Francisco Soto and Jun Yang
8af682d2ca
fix: sort and where bug when using strictVariables
2023-08-28 21:08:45 +08:00
Francisco Soto and Jun Yang
88aa63fd58
fix: handle windows newlines on newline_to_br and strip_newlines
2023-08-28 21:08:05 +08:00
semantic-release-bot
fce9fcfa68
chore(release): 10.9.1 [skip ci]
...
## [10.9.1](https://github.com/harttle/liquidjs/compare/v10.9.0...v10.9.1 ) (2023-08-23)
### Bug Fixes
* map filter allow nil results in strict mode, fixes [#647 ](https://github.com/harttle/liquidjs/issues/647 ) ([45adbd7 ](https://github.com/harttle/liquidjs/commit/45adbd7008296a94da04d21a35917f744a0f4109 ))
2023-08-23 16:29:27 +00:00
Harttle
45adbd7008
fix: map filter allow nil results in strict mode, fixes #647
2023-08-24 00:20:57 +08:00
semantic-release-bot
942944eae0
chore(release): 10.9.0 [skip ci]
...
# [10.9.0](https://github.com/harttle/liquidjs/compare/v10.8.4...v10.9.0 ) (2023-08-22)
### Bug Fixes
* case should allow multiple values separated by or ([b8e7e2d ](https://github.com/harttle/liquidjs/commit/b8e7e2d9467b17ca786e6fb422e9579dd178de76 ))
* for throws undefined var with a null value with strictVariables ([dc6a301 ](https://github.com/harttle/liquidjs/commit/dc6a3013874872ac85f1fbe5184c74631122d851 ))
* remove_last was eating an extra character ([fc27313 ](https://github.com/harttle/liquidjs/commit/fc2731376f8ef59ac7160f97cef1fb5d94f053db ))
### Features
* more flexible squared property read expression, fixes [#643 ](https://github.com/harttle/liquidjs/issues/643 ) ([#646 ](https://github.com/harttle/liquidjs/issues/646 )) ([660d9be ](https://github.com/harttle/liquidjs/commit/660d9be55f8eac16ca5ac77fd0b38b0d7f94961e ))
2023-08-22 16:52:37 +00:00
Jun Yang and GitHub
660d9be55f
feat: more flexible squared property read expression, fixes #643 ( #646 )
...
* fix: more flexible squared property read expression, fixes #643
* fix: unecessary error wrapping in browser bundles
* style: update code style and types
* perf: use token.value when evalToken
2023-08-23 00:45:49 +08:00
Francisco Soto and Jun Yang
dc6a301387
fix: for throws undefined var with a null value with strictVariables
2023-08-19 23:54:32 +08:00
allcontributors[bot] and Jun Yang
803a0907fc
docs: update .all-contributorsrc [skip ci]
2023-08-19 23:53:44 +08:00
allcontributors[bot] and Jun Yang
4427ae1fb9
docs: update README.md [skip ci]
2023-08-19 23:53:44 +08:00
David LJ and Jun Yang
7009a054f3
docs: fix options link in setup tutorial
2023-08-19 23:53:14 +08:00
Francisco Soto and Jun Yang
b8e7e2d946
fix: case should allow multiple values separated by or
...
This is supported by Shopify liquid.
2023-08-19 23:52:24 +08:00
allcontributors[bot] and Jun Yang
4c30c660ae
docs: update .all-contributorsrc [skip ci]
2023-08-17 21:43:59 +08:00
allcontributors[bot] and Jun Yang
d916981dad
docs: update README.md [skip ci]
2023-08-17 21:43:59 +08:00
Francisco Soto and Jun Yang
fc2731376f
fix: remove_last was eating an extra character
2023-08-17 21:43:21 +08:00
allcontributors[bot] and Jun Yang
3bd8d2e557
docs: update .all-contributorsrc [skip ci]
2023-08-08 21:59:48 +08:00
allcontributors[bot] and Jun Yang
5d91e3d2ef
docs: update README.md [skip ci]
2023-08-08 21:59:48 +08:00
Nick Reilingh and GitHub
5facd99a27
chore: grammar/typo fixes for differences.md ( #634 )
2023-08-08 21:58:39 +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
semantic-release-bot
2222a1be87
chore(release): 10.8.4 [skip ci]
...
## [10.8.4](https://github.com/harttle/liquidjs/compare/v10.8.3...v10.8.4 ) (2023-07-07)
### Bug Fixes
* allow quotes in inline comment tag, fixes [#628 ](https://github.com/harttle/liquidjs/issues/628 ) ([bf425c3 ](https://github.com/harttle/liquidjs/commit/bf425c3adb929e68fa234bee8397560a436595bb ))
2023-07-07 14:54:48 +00:00
Jun Yang and GitHub
bf425c3adb
fix: allow quotes in inline comment tag, fixes #628
2023-07-07 22:48:55 +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
semantic-release-bot
e03e053362
chore(release): 10.8.3 [skip ci]
...
## [10.8.3](https://github.com/harttle/liquidjs/compare/v10.8.2...v10.8.3 ) (2023-06-16)
### Bug Fixes
* strftime getSuffix works for all dates ([0b4e2a9 ](https://github.com/harttle/liquidjs/commit/0b4e2a99790347bea0ab5f7d651f2330e3054601 ))
2023-06-16 14:02:18 +00:00
d8691421b4
docs: add jgarber623 as a contributor for code ( #624 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-06-15 21:08:11 +08:00
Jason Garber and Jun Yang
0b4e2a9979
fix: strftime getSuffix works for all dates
...
As written, the strftime module's `getSuffix` method (responsible for
returning a date's ordinal string) works correctly for all dates in a
month _except_ 11, 12, and 13.
The existing code would return a string based on the last digit of the
date. In American English, these three dates use the `th` suffix rather
than `st`, `nd`, or `rd`.
This refactor/bug fix draws inspiration from Rails' ActiveSupport
ordinal inflector:
https://github.com/rails/rails/blob/main/activesupport/lib/active_support/locale/en.rb
The Ruby code above is designed to work with any number, so the bug fix
to this library is simpler.
The test suite is also updated with additional examples to verify the
correctness of these changes.
2023-06-15 21:01:55 +08:00
Harttle and Jun Yang
e401a30972
chore: split Github Actions workflows
2023-06-05 23:32:35 +08:00
semantic-release-bot
495bef2d0c
chore(release): 10.8.2 [skip ci]
...
## [10.8.2](https://github.com/harttle/liquidjs/compare/v10.8.1...v10.8.2 ) (2023-06-04)
### Bug Fixes
* sample filter randomness and count=1 case ([fcb930f ](https://github.com/harttle/liquidjs/commit/fcb930f0ddf2489fa74cd323f24398d7e9f7717f ))
2023-06-04 05:42:37 +00:00
Harttle
fcb930f0dd
fix: sample filter randomness and count=1 case
2023-06-04 13:34:16 +08:00
semantic-release-bot
b4e12232be
chore(release): 10.8.1 [skip ci]
...
## [10.8.1](https://github.com/harttle/liquidjs/compare/v10.8.0...v10.8.1 ) (2023-06-04)
### Bug Fixes
* incorrect error message for browser UMD bundle ([3a67eb7 ](https://github.com/harttle/liquidjs/commit/3a67eb7f1cc7e54d2ec94a985eca4c1f147cdd61 ))
2023-06-04 04:05:53 +00: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
semantic-release-bot
87e83b63fc
chore(release): 10.8.0 [skip ci]
...
# [10.8.0](https://github.com/harttle/liquidjs/compare/v10.7.1...v10.8.0 ) (2023-06-03)
### Bug Fixes
* proper error message for filter syntax error, [#610 ](https://github.com/harttle/liquidjs/issues/610 ) ([0480d33 ](https://github.com/harttle/liquidjs/commit/0480d3317d0e46519ad2adf4ac43f53cddf467c6 ))
* sed invocations to work out of the box on macOS ([#615 ](https://github.com/harttle/liquidjs/issues/615 )) ([87d4cc7 ](https://github.com/harttle/liquidjs/commit/87d4cc7e14ece14161285a740be63afc8a88b63c ))
### Features
* Add support for the Jekyll sample filter ([#612 ](https://github.com/harttle/liquidjs/issues/612 )) ([ba8b842 ](https://github.com/harttle/liquidjs/commit/ba8b84245266589e43c0e70d99e12b981d349809 ))
* introduce a matrix with latest Ubuntu and macOS to test the build on macOS as well ([82ba548 ](https://github.com/harttle/liquidjs/commit/82ba54845f4cd4e1e7660c1557e3cfaa22d68924 )), closes [#615 ](https://github.com/harttle/liquidjs/issues/615 )
* precise line/col for tokenization Error, [#613 ](https://github.com/harttle/liquidjs/issues/613 ) ([e347e60 ](https://github.com/harttle/liquidjs/commit/e347e603d76c039cec191d417deab34e7ef1f9a7 ))
2023-06-03 18:09:56 +00: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
Tomáš Hübelbauer and Jun Yang
82ba54845f
feat: introduce a matrix with latest Ubuntu and macOS to test the build on macOS as well
...
Once #615 is merged, the build script should work on macOS just as well as it does on Ubuntu and with this GitHub Actions matrix we can keep ensuring that it continues to work as it should.
2023-06-03 23:16:33 +08:00
Tomas Hubelbauer and Jun Yang
05c478c322
docs: explain how to point the Playground at the local build
...
This should help anyone looking to test their changes they made to LiquidJS via the Playground site also provided in the repository.
I have also added basic information on where the Playground is and how to run it in general.
2023-06-03 23:06:18 +08:00
Tomáš Hübelbauer and GitHub
87d4cc7e14
fix: sed invocations to work out of the box on macOS ( #615 )
...
* fix: sed invocations to work out of the box on macOS
These fixes make the sed invocations run on macOS but I am not sure if they will break the GNU sed invocations in return…
* fix: add macOS branches to the shell scripts
The sed command line was difficult (impossible?) to be made portable so I just added macOS conditions.
* Prototype the solution using an alias
It seems that this will not work because I keep getting "sedi: command not found".
* fix: use a Bash function instead of an alias to run sed portably
This seems to work on my local so let's see if it runs in the CI on GitHub.
* fix: use 2 spaces like the original scripts did
Not sure why VS Code went with 4.
* fix: use sedi for the build-changelog `1i\` part as well
I am curious if Ubuntu will handle the newline…
2023-06-03 22:56:25 +08:00
Tomáš Hübelbauer and GitHub
202556115f
chore: sed invocations for docs build to work on macOS ( #615 )
...
* fix: sed invocations to work out of the box on macOS
These fixes make the sed invocations run on macOS but I am not sure if they will break the GNU sed invocations in return…
* fix: add macOS branches to the shell scripts
The sed command line was difficult (impossible?) to be made portable so I just added macOS conditions.
* Prototype the solution using an alias
It seems that this will not work because I keep getting "sedi: command not found".
* fix: use a Bash function instead of an alias to run sed portably
This seems to work on my local so let's see if it runs in the CI on GitHub.
* fix: use 2 spaces like the original scripts did
Not sure why VS Code went with 4.
* fix: use sedi for the build-changelog `1i\` part as well
I am curious if Ubuntu will handle the newline…
2023-06-03 22:55:38 +08:00
Tomáš Hübelbauer and GitHub
db67118a75
test: Add tests for push ( #614 )
...
* Add support for the Jekyll sample filter
See https://jekyllrb.com/docs/liquid/filters
I am sorting the array randomly and then picking the first N items or all items if there is no sample limit.
* Add tests for `push`
I thought `push` was broken because it doesn't work on the Playground but that's not the case. Here are the tests to prove it. Taken from the `concat` tests.
* Remove the sample experiment
This got in from another branch lol.
* Recommend the build:dist command over the whole build
This one works for me locally whereas build:docs is reporting some issues.
* Return the full `build` command and explain how to use `commitlint` to workshop the message
I am working on a PR to make `build` run on macOS because it is a part of the pre-commit hook anyway so all contributors should make it work for them.
I have also shown how to check your messages against `commitlint` from the CLI because it is faster than using the VS Code GUI.
2023-05-30 00:06:22 +08:00
Tomáš Hübelbauer and GitHub
ba8b842452
feat: Add support for the Jekyll sample filter ( #612 )
...
* Add support for the Jekyll sample filter
See https://jekyllrb.com/docs/liquid/filters
I am sorting the array randomly and then picking the first N items or all items if there is no sample limit.
* Remove incorrect spaces before parens
Typo and copy-paste meet
2023-05-27 00:55:39 +08:00
Tomas Hubelbauer and Jun Yang
dca9ab52b8
Add support for the Jekyll push filter
...
See https://jekyllrb.com/docs/liquid/filters
2023-05-24 02:08:49 +08:00
semantic-release-bot
7ceff17fcb
chore(release): 10.7.1 [skip ci]
...
## [10.7.1](https://github.com/harttle/liquidjs/compare/v10.7.0...v10.7.1 ) (2023-04-24)
### Bug Fixes
* incorrect timezone correction for DST dates, fixes [#604 ](https://github.com/harttle/liquidjs/issues/604 ) ([33b3c01 ](https://github.com/harttle/liquidjs/commit/33b3c010af0cd17a303621331feab0119ca840ce ))
* timezoneOffset ignored in date when preserveTimezones is enabled, fixes [#605 ](https://github.com/harttle/liquidjs/issues/605 ) ([21ee27b ](https://github.com/harttle/liquidjs/commit/21ee27b57503f9d57f228973e1699972484e6089 ))
2023-04-24 17:31:07 +00: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
semantic-release-bot
c2a8365054
chore(release): 10.7.0 [skip ci]
...
# [10.7.0](https://github.com/harttle/liquidjs/compare/v10.6.2...v10.7.0 ) (2023-03-21)
### Bug Fixes
* update remove.md ([#601 ](https://github.com/harttle/liquidjs/issues/601 )) ([1bddd60 ](https://github.com/harttle/liquidjs/commit/1bddd60b0191032d324526292027bc7fcd190dc1 ))
### Features
* JSON format by `space` in `json` filter ([7b87ea8 ](https://github.com/harttle/liquidjs/commit/7b87ea82d3d63420e548743c5a84a073f0cdad22 ))
2023-03-21 16:57:29 +00:00
b2a1dc972e
docs: add mahyar-pasarzangene as a contributor for doc ( #602 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-03-22 00:55:05 +08:00
Mahyar Pasarzangene and GitHub
1bddd60b01
fix: update remove.md ( #601 )
...
The output was wrong. Filter would replace the rain all over the text.
2023-03-22 00:54:30 +08:00
Jun Yang
7b87ea82d3
feat: JSON format by space in json filter
2023-03-22 00:08:24 +08:00
allcontributors[bot] and Jun Yang
8037f7b4a4
docs: update .all-contributorsrc [skip ci]
2023-03-20 23:10:49 +08:00
allcontributors[bot] and Jun Yang
75aba92733
docs: update README.md [skip ci]
2023-03-20 23:10:49 +08:00
Jun Yang
b9f8d85c65
chore: add PR title checker
2023-03-20 23:09:19 +08:00
BaNgan and Jun Yang
e50267feaa
Update differences.md
...
- Shopify also has `json` filter, I think it is equivalent to liquidJS `json`
2023-03-20 22:58:46 +08:00
Harttle
04d62f070a
docs: update docs pipeline
2023-03-20 00:56:44 +08:00
semantic-release-bot
d04ccd79c9
chore(release): 10.6.2 [skip ci]
...
## [10.6.2](https://github.com/harttle/liquidjs/compare/v10.6.1...v10.6.2 ) (2023-03-19)
### Bug Fixes
* sample FS in render-file.md ([#594 ](https://github.com/harttle/liquidjs/issues/594 )) ([4542ddc ](https://github.com/harttle/liquidjs/commit/4542ddcfc3d5e245112a119bf22f0e00cb925791 ))
2023-03-19 16:43:24 +00: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
allcontributors[bot] and Jun Yang
dccb90c591
docs: update .all-contributorsrc [skip ci]
2023-03-19 23:44:13 +08:00
allcontributors[bot] and Jun Yang
228a5c3bed
docs: update README.md [skip ci]
2023-03-19 23:44:13 +08:00
bobgubko and GitHub
4542ddcfc3
fix: sample FS in render-file.md ( #594 )
2023-03-19 23:42:41 +08:00
Jun Yang
2def145cf6
docs: update docs for ownPropertyOnly, #588
2023-03-04 00:21:41 +08:00
semantic-release-bot
14e059c933
chore(release): 10.6.1 [skip ci]
...
## [10.6.1](https://github.com/harttle/liquidjs/compare/v10.6.0...v10.6.1 ) (2023-03-02)
### Bug Fixes
* [expression] apply value equal for arrays, [#589 ](https://github.com/harttle/liquidjs/issues/589 ) ([9c0dc5f ](https://github.com/harttle/liquidjs/commit/9c0dc5fa39a31d477a5c5a2c5212034174bf0516 ))
* strip_html for multi line <script>/<style>/comments, [#70 ](https://github.com/harttle/liquidjs/issues/70 ) ([42d2590 ](https://github.com/harttle/liquidjs/commit/42d25902e855d3c06d5ead071bf55604f495c205 ))
2023-03-02 16:17:49 +00:00
Harttle
771b9b9eba
style: fix code style
2023-03-03 00:14:38 +08:00
Harttle
9c0dc5fa39
fix: [expression] apply value equal for arrays, #589
2023-03-02 23:44:56 +08:00
Harttle
42d25902e8
fix: strip_html for multi line <script>/<style>/comments, #70
2023-03-02 23:01:15 +08:00
Jun Yang
d4e519c4a6
chore: update build badge, coverage to 100%, mv DEFAULT_FMT to defaultOptions
2023-02-23 01:05:54 +08:00
semantic-release-bot
5f4a004e90
chore(release): 10.6.0 [skip ci]
...
# [10.6.0](https://github.com/harttle/liquidjs/compare/v10.5.0...v10.6.0 ) (2023-02-22)
### Features
* LiquidOptions.dateFormat to override default date format ([#587 ](https://github.com/harttle/liquidjs/issues/587 )) ([3fb6646 ](https://github.com/harttle/liquidjs/commit/3fb66465c6fe1bf4dc2e1ace9157c23d0fc8f859 ))
2023-02-22 16:00:10 +00:00
prassie and GitHub
3fb66465c6
feat: LiquidOptions.dateFormat to override default date format ( #587 )
...
doc: updates related to LiquidOptions.dateFormat
doc: revamped the date filter doc for easier reference
2023-02-22 23:56:33 +08:00
semantic-release-bot
d9cac4efca
chore(release): 10.5.0 [skip ci]
...
# [10.5.0](https://github.com/harttle/liquidjs/compare/v10.4.0...v10.5.0 ) (2023-02-14)
### Bug Fixes
* "ownPropertyOnly" not respected when passed via "renderOptions" ([d489916 ](https://github.com/harttle/liquidjs/commit/d489916231779149e110183400e3e597b8ee02ba ))
### Features
* Adds support for options to CLI and improves usability ([#586 ](https://github.com/harttle/liquidjs/issues/586 )) ([24c8a1e ](https://github.com/harttle/liquidjs/commit/24c8a1e3722e5359f02934e2814f9abfa888ee86 ))
2023-02-14 15:06:52 +00:00
Harttle
8ef920928c
docs: add slavivanov and DaRosenberg into contributor list
2023-02-14 22:57:25 +08:00
Slav Ivanov and Harttle
d489916231
fix: "ownPropertyOnly" not respected when passed via "renderOptions"
2023-02-14 22:39:38 +08:00
24c8a1e372
feat: Adds support for options to CLI and improves usability ( #586 )
...
* Improved UX of CLI
* Updated docs and setup tutorial
* Corrected version number in TODO comments
* Downgraded lock file version
* Restored previous lock file
* Removed --keep-output-type option
* Switch to using async IO to avoid problems stdin in some scenarios
https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input
https://stackoverflow.com/questions/40362369/stdin-read-fails-on-some-input
* Addressed feedback from code review
* Changed to curl-like systax for specifing inputs as literals, paths or stdin
---------
Co-authored-by: Daniel Rosenberg <[email protected] >
2023-02-14 22:03:00 +08:00
allcontributors[bot] and Jun Yang
a6618538d1
docs: update .all-contributorsrc [skip ci]
2023-02-04 11:33:02 +08:00
allcontributors[bot] and Jun Yang
c0c3c07ba1
docs: update README.md [skip ci]
2023-02-04 11:33:02 +08:00
prassie and GitHub
a55f44f095
Added documentation for date ordinals support in date filter via %q ( #581 )
...
* Added date ordinals support in date filter via %q
* fix: validation regex for default date format
* fix: validation regex for default date format
2023-02-04 11:31:30 +08:00
Jun Yang
7f76e1311f
docs: list sponsors & backers separately on liquidjs.com
2023-01-22 21:37:47 +08:00
semantic-release-bot
312000366d
chore(release): 10.4.0 [skip ci]
...
# [10.4.0](https://github.com/harttle/liquidjs/compare/v10.3.3...v10.4.0 ) (2023-01-02)
### Features
* support `not` operator, [#575 ](https://github.com/harttle/liquidjs/issues/575 ) ([3f21382 ](https://github.com/harttle/liquidjs/commit/3f21382d43cafa1e32162e58adabd22d5c3709ed ))
* support calling `date` without format string, [#573 ](https://github.com/harttle/liquidjs/issues/573 ) ([aafaa0b ](https://github.com/harttle/liquidjs/commit/aafaa0b4f9e84f466fbcc2cb2ae37fe8704c5272 ))
2023-01-02 17:42:18 +00:00
Harttle and Harttle
3f21382d43
feat: support not operator, #575
2023-01-03 01:34:03 +08:00
Harttle and Harttle
aafaa0b4f9
feat: support calling date without format string, #573
2023-01-03 00:53:33 +08:00
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