Bug Fixes
- accept whitespace control on endraw and keep entities in escape_once (#999) (7058ec6), closes #digits
- comment: support nested comment blocks (#1017) (b62dfb7)
- compare perf:diff against the latest release instead of the local build (#988) (af9b02d)
- date: support %D, %F, %R, %r, %T and ISO week %G, %g, %V (#1009) (4c38560)
- for, tablerow: treat a negative offset or limit like Ruby Liquid (#1012) (4ba4068)
- for: render else when offset or limit leaves no items (#997) (4355b21)
- serve renderFileSync from templates cached by renderFile (#990) (f644e62)
- share named cycle counters across argument lists (#1005) (90edda3)
- size: return the key count for a plain object (#998) (6d93f95)
- split: split by code point for an empty separator (#1002) (fe7e21e)
- split: split on any whitespace for a single space, like Ruby (#992) (433e737)
- tablerow: support break and continue tags (#1013) (0be407c)
- truncate non-integer range bounds (#1019) (97f2ddb)
- truncatewords: keep the input when it has no more words than the limit (#1010) (362e164), closes String#split
- url_decode: leave a stray % as written (#970) (74428ae), closes #966
Features
Performance Improvements
- cut generator/yield overhead in sync and async render (#986) (9d5226c)
- date: reuse Intl.DateTimeFormat for month and weekday names (#1022) (7234aad)
- return plain values from evaluation when nothing is async (#1021) (a51f016)
- reuse one Intl.DateTimeFormat per timezone in date (#1003) (f9825a7)
- skip renderLimit clock reads when unlimited (#987) (36d47ed)
- truncatewords: stop scanning once enough words are found (#1023) (f838aef)
Bug Fixes
Bug Fixes
- base64_encode: encode large input in browser builds (#969) (8aace78), closes #967
- date: compute %C and %y from the numeric year (#961) (e68514f)
- date: compute %U and %W week numbers like strftime (#958) (0587ca8)
- trim custom characters by Unicode code point (#955) (3fe244f)
- truncatewords: ignore leading whitespace when counting words (#954) (65e200e)
- url_decode: keep %2B as a literal plus when decoding (#939) (9af92f5)
Features
Features
Bug Fixes
- date: %s returns Unix epoch unaffected by display timezone (#932) (39c8743), closes #931
Features
- Add support of inner expressions enclosed by parentheses (#863) (afa5f54)
Bug Fixes
- charge join/json/inspect filters by produced output size (#925) (7ab49f9)
- date: zero-pad milliseconds when formatting %N fractional seconds (#929) (2634f9d)
- enforce ownPropertyOnly for inherited array indices (#924) (552819a)
- filters: modulo should follow divisor sign for negative operands (#922) (568bd5f)
- filters: return empty for out-of-range slice begin or negative length (#928) (f9a1316)
Bug Fixes
- improve round function; improvement to #873 (#901) (956b51e)
- security: charge pop filter allocation to memoryLimit (#907) (8a0c74a)
- strip_html: infinite loop for strip_html (5c3522f)
Performance Improvements
- parser: memoize createTrie to avoid rebuilding tries per Tokenizer (#911) (3a0d80d)
Features
- context: null-prototype scope frames via createScope (#899) (47d3f1b)
Bug Fixes
- date: cap strftime widths and account padding in memoryLimit (#895) (3129d46)
- enforce renderLimit for empty renderTemplates calls (#894) (5b9c346)
- propagate ownPropertyOnly into Context.spawn() for {% render %} (#893) (dbbf628)
- security: block Object.prototype filter/tag lookups (RCE) (#897) (457fae0)
- strip html newline tags (#892) (26ea285)
- strip_html: rewrite as linear single-pass scan to avoid ReDoS (#896) (3616a74)
Features
- add sha256 and hmac_sha256 filters for cryptographic operations (#889) (1c816d4)
Bug Fixes
- filters: support Buffer input in base64_encode to prevent binary data corruption (#881) (0ee6dbb)
Bug Fixes
Bug Fixes
- enforce root containment for renderFile/parseFile lookups (#870) (f41c1fc)
- null date should return empty (#868) (#872) (4f9a499)
- rounding negative away from zero when half (#873) (1cdf10b)
Bug Fixes
- sort and sort_natural filters bypass ownPropertyOnly (#869) (e743da0)
Bug Fixes
- precise memoryLimit for string replace (abc058b)
- use realpath for fs.contains (#867) (529dd67)
Bug Fixes
- handle undefined replacement argument in replace filter (#864) (0ad2b11)
Bug Fixes
- mem limiter for invalid ranges (95ddefc)
- treat args for replace_first as literal (35d5230)
Bug Fixes
Features
Features
- filters: Add base64_encode and base64_decode filters for Shopify compatibility (#828) (86fc135)
Features
Bug Fixes
Features
Bug Fixes
Features
- add find_index, has, and reject filters (#799) (0deb93e)
Bug Fixes
- empty tagToken.args since 10.20.0, fixes #796 (38a0f51)
Bug Fixes
Bug Fixes
Features
Bug Fixes
- add sideEffects=false to package.json (734eb52)
- inconsistent continue behaviour, fixes #779 (e3ef574)
- memoryLimit doesn’t work in for tag, #776 (2af297f)
Features
Features
Features
Bug Fixes
- use CommonJS bundle to support default export (2543461)
- use cwd to resolve npm partials for Node.JS (e5fbdfe)
Bug Fixes
Bug Fixes
Bug Fixes
- “filter is not a function” for uniq (68387c3)
- memory limit issue for join filter, fix #737 (2d59cff)
Bug Fixes
Bug Fixes
Bug Fixes
Features
Bug Fixes
- report error for malformed else/elsif/endif/endfor, #713 (22b5a12)
Features
Bug Fixes
- use drop
valueOf when evaluated as condition (#705) (a7da93f)
Features
Bug Fixes
- allow liquidMethodMissing to return any supported value type (#698) (0983f2c)
- isComparable full interface check (#701) (55e144a)
Features
- array_to_sentence_string and number_of_words filters from Jekyll, #443 (50253a9)
- date filters from Jekyll (4955e75)
- escape filters from Jekyll, #443 (b12eb8a)
- jsonify, inspect, to_integer, normalize_whitespace filters (842b45c)
- slugify filter from Jekyll, #443 (47ddc11)
Bug Fixes
Features
- introduce where_exp filter from Jekyll (8c7cef9)
Bug Fixes
- allow %Z for TimezoneDate, update docs accordingly #684 (e09657c)
- Allow
lenientIf for multiple operands (issue #682) (#683) (490ff43)
Features
- group_by/group_by_exp/find/find_exp from Jekyll, #443 (2b713b7)
- pop/shift/unshift filters from Jekyll (258780e)
Bug Fixes
Bug Fixes
- in conditionals, don’t render anything after an else branch (#671) (f816955)
- Rely on equal for computing contains (#668) (1937aa1)
Features
10.9.4 (2023-11-04)
Bug Fixes
10.9.3 (2023-10-15)
Bug Fixes
- package version in released files (67a5b22)
10.9.2 (2023-08-28)
Bug Fixes
- handle windows newlines on
newline_to_br and strip_newlines (88aa63f)
- sort and where bug when using
strictVariables (8af682d)
10.9.1 (2023-08-23)
Bug Fixes
- map filter allow nil results in strict mode, fixes #647 (45adbd7)
10.9.0 (2023-08-22)
Bug Fixes
- case should allow multiple values separated by or (b8e7e2d)
- for throws undefined var with a null value with strictVariables (dc6a301)
- remove_last was eating an extra character (fc27313)
Features
- more flexible squared property read expression, fixes #643 (#646) (660d9be)
10.8.4 (2023-07-07)
Bug Fixes
- allow quotes in inline comment tag, fixes #628 (bf425c3)
10.8.3 (2023-06-16)
Bug Fixes
- strftime getSuffix works for all dates (0b4e2a9)
10.8.2 (2023-06-04)
Bug Fixes
- sample filter randomness and count=1 case (fcb930f)
10.8.1 (2023-06-04)
Bug Fixes
- incorrect error message for browser UMD bundle (3a67eb7)
10.8.0 (2023-06-03)
Bug Fixes
- proper error message for filter syntax error, #610 (0480d33)
- sed invocations to work out of the box on macOS (#615) (87d4cc7)
Features
- Add support for the Jekyll sample filter (#612) (ba8b842)
- Add support for the Jekyll push filter (#611)
- introduce a matrix with latest Ubuntu and macOS to test the build on macOS as well (82ba548), closes #615
- precise line/col for tokenization Error, #613 (e347e60)
10.7.1 (2023-04-24)
Bug Fixes
- incorrect timezone correction for DST dates, fixes #604 (33b3c01)
- timezoneOffset ignored in date when preserveTimezones is enabled, fixes #605 (21ee27b)
10.7.0 (2023-03-21)
Bug Fixes
Features
- JSON format by
space in json filter (7b87ea8)
10.6.2 (2023-03-19)
Bug Fixes
10.6.1 (2023-03-02)
Bug Fixes
- [expression] apply value equal for arrays, #589 (9c0dc5f)
- strip_html for multi line