Releases: badgateway/structured-headers
Releases · badgateway/structured-headers
v2.0.2
v2.0.1
- Update dependencies, including some dev depenendencies with security issues. (@apasel422)
- Fixed a few tests. (@apasel422)
v2.0.0
The "Structured Field Values" was updated in RFC9651. This new specification added the 'Date' and 'Display String' field type, which encode unix timestamp and Unicode string respectively.
Perfect time to update this package as well! This new major release supports the new standard, and also has a few other changes:
- #66: We now convert from/to
ArrayBufferinstead of a custom ByteSequence object. This is a breaking change. - Add support for
DateandDisplayStringfrom RFC9651. - Switched to ESM, but we're still bundling a CommonJS build.
- No longer shipping a minified build.
- Dropped Chai and now using
node:assert. - Dropped Mocha and now using
node:test.
v2.0.0-alpha.1
- Fixed
exportsvalue inpackage.json. (@CxRes)
v2.0.0-alpha.0
- Support for a new
DateandDisplay Stringtypes, from the new draft draft-ietf-httpbis-sfbis. - Simplified serializing Dictionaries and Items. The existing signatures still work, but the new API is a bit more natural and doesn't require wrapping everything in arrays and Maps.
- Now requires Node 18.
- Converted to ESM.
- No longer providing a Webpack build. Most frontend applications already do their own bundling. Please let us know if you need this, so we can redo this with modern tools.
v1.0.1
v1.0.0
v0.5.0
- All the serializer functions are now exported. (@adrianhopebailie)
- Added an
isByteSequencehelper function (@adrianhopebailie) - Bring all dependencies up to date.