Releases: badgateway/structured-headers
Releases · badgateway/structured-headers
v2.0.0-alpha.1
- Fixed
exports
value inpackage.json
. (@CxRes)
v2.0.0-alpha.0
- Support for a new
Date
andDisplay String
types, 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
isByteSequence
helper function (@adrianhopebailie) - Bring all dependencies up to date.
v0.4.1
v0.4.0
v0.3.0
- Fully up to date with draft-ietf-httpbis-header-structure-13.
- Parameterized Lists and List of Lists are gone, their feautures are merged
into List and Dictionaries. - Both lists and dictionaries now require an object such as
{value: x, parameters: y}
. This is a breaking change, but was required to
support parameters correctly everywhere. - Stricter float parsing.
v0.2.0
- Fully up to date with draft-ietf-httpbis-header-structure-10.
- True and False are now encoded as
?1
and?0
. - Added serializing support.
- Integers with more than 15 digits now error as per the new draft.
- Updated all dependencies.
v0.1.0
- Fully up to date with draft-ietf-httpbis-header-structure-09.
- Package renamed to 'structured-headers'.
- Conversion to typescript.
- The
parseBinary
function is renamed toparseByteSequence
, to match the
rename in draft-ietf-httpbis-header-structure-08. - Support for Booleans.
- The
parseIdentifier
function is renamed toparseToken
, to match the
rename in draft-ietf-httpbis-header-structure-09. - Renamed
parseParameterizedList
toparseParamList
. It's shorter.