Skip to content

v2.1.0

Choose a tag to compare

@char0n char0n released this 28 Oct 21:58
· 3 commits to main since this release

2.1.0 (2026-10-28)

Bug Fixes

  • build: make UMD bundles loadable via require (a5b07d7), closes #121
  • docs: repair broken Tidelift logo image (b6a8158)
  • grammar: align Set-Cookie grammar with RFC 6265 and errata (11ea59f)
  • parse: keep deprecated ast assignable and avoid re-parsing (58cea89)
  • parse: process Set-Cookie attributes following RFC 6265 (0a2675d)
  • serialize: pass only encoders and validators to serializer (edf85c7), closes #12
  • types: accept ParseOptions typed options in parse functions (20c23fd)
  • types: align EntriesTranslator and ObjectTranslator typings (08af0b4)
  • types: keep ASTTranslator constrained to AST nodes (bdde2ff)
  • types: provide typings for CommonJS consumers (092c499), closes #121

Features

  • add testCookie function for cookie string validation (c731849)
  • add UMD release fragment (ef63791)
  • grammar: add lenient Set-Cookie grammar (66678d8)
  • grammar: add Set-Cookie grammar from RFC 6265 (892c61d)
  • parse: add decoders for cookie names and values (f4b00d8), closes #14
  • parse: add EntriesTranslator (a5c6c1e)
  • parse: add ObjectTranslator (2440eb9)
  • parse: add parseSetCookie and testSetCookie functions (2ede030)
  • parse: add translators, stats, tracing and structured errors (c8f7f85)
  • serialize: expose serializeSetCookie function (ebdcb46)
  • serialize: serialize Set-Cookie attributes (058d910)
  • test: expose testCookieName and testCookieValue functions (51326db), closes #9