Skip to content

v2.0.0

Compare
Choose a tag to compare
@evert evert released this 03 Oct 02:37
· 3 commits to main since this release
14f6744

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 ArrayBuffer instead of a custom ByteSequence object. This is a breaking change.
  • Add support for Date and DisplayString from 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.