Skip to content

v10.31.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 07:05

10.31.0 (2026-11-30)

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)