Skip to content

Releases: badgateway/structured-headers

v2.0.0-alpha.1

23 Feb 23:08
6d4f30b
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release
  • Fixed exports value in package.json. (@CxRes)

v2.0.0-alpha.0

29 Jan 16:39
40a9a8d
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release
  • Support for a new Date and Display 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

03 Aug 01:49
6560cea
Compare
Choose a tag to compare
  • #33 This library emitted TypeError or a plain Error in a few places in the parser, where it should have been ParseError this is corrected everywhere now.

v1.0.0

13 Jun 03:43
c464645
Compare
Choose a tag to compare
  • This is mainly a re-release of 0.5.0. The package is stable and dependencies have been updated.
  • Dropped support for Node 12. The minimum Node version is now 14.

v0.5.0

13 Sep 19:29
ade13e9
Compare
Choose a tag to compare

v0.4.1

09 Jun 18:19
f83b278
Compare
Choose a tag to compare
  • Corrected the 'main' property in package.json.

v0.4.0

16 May 03:45
7f0d3f5
Compare
Choose a tag to compare
  • Fully up to date with RFC8941.
  • This is a complete rewrite, all APIs have changed and return the structures
    that are recommended by the actual RFC document.
  • Passing almost all tests from the HTTP WG test suite. See the readme
    for the exceptions.

v0.3.0

16 May 03:44
27a9a48
Compare
Choose a tag to compare
  • 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

16 May 03:42
Compare
Choose a tag to compare
  • 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

16 May 03:42
Compare
Choose a tag to compare
  • Fully up to date with draft-ietf-httpbis-header-structure-09.
  • Package renamed to 'structured-headers'.
  • Conversion to typescript.
  • The parseBinary function is renamed to parseByteSequence, to match the
    rename in draft-ietf-httpbis-header-structure-08.
  • Support for Booleans.
  • The parseIdentifier function is renamed to parseToken, to match the
    rename in draft-ietf-httpbis-header-structure-09.
  • Renamed parseParameterizedList to parseParamList. It's shorter.