Skip to content

Releases: hildjj/node-cbor

v10.0.3

06 Nov 19:15
v10.0.3
977da44
Compare
Choose a tag to compare

What's Changed

  • Make it clear we require node 18 by @hildjj in #213
  • Make the move to cbor2 more explicit. by @hildjj in #215

Full Changelog: v10.0.2...v10.0.3

v10.0.2

27 Oct 20:14
v10.0.2
2b2dca6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.0.1...v10.0.2

v10.0.1

27 Oct 20:03
v10.0.1
6da12c2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v10.0.0...v10.0.1

v10.0.0

27 Oct 19:53
v10.0.0
1c232b5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.0.2...v10.0.0

Diagnose null, preferMap

31 Jan 16:13
1967cd4
Compare
Choose a tag to compare

Did not update dependencies, that is going to get harder and harder going forward since nofilter went ESM.

Fix null converter issue

21 Jul 19:00
9ae2526
Compare
Choose a tag to compare

Passing in {tags: {1: null}} did not override built-in converter as the docs promised. This is now fixed.

Requires node16, adds SharedValue support

14 May 16:27
593c551
Compare
Choose a tag to compare

Changed

  • Breaking: Node 16 now required.

Added

  • SharedValueEncoder, which implements value-sharing with tags 28 and 29
  • Typescript type definitions for cbor-web

Fixed

  • All dependencies brought up to date where possible. nofilter held back, pending switching to ESM.

Optionally prevent duplicate keys

09 Nov 17:47
0b4f6e3
Compare
Choose a tag to compare

New feature:

  • On decode, specify preventDuplicateKeys: true in the options to have the decoder throw an error if there are duplicate keys in a CBOR map. (See #161, thanks to @KubqoA)

Bug fixes:

  • Make react-native-cli work (See #162)
  • Update all dependencies

Fix MIN_SAFE_INTEGER

29 Sep 18:55
815ba89
Compare
Choose a tag to compare

Bugs:

  • Fixed #151: Update RFC link in readme
  • Fixed #155: The number -2^53 should be encoded as a float, not an integer

Minor:

  • Update dependencies
  • Linting updates

Features:

v8.0.0

04 Aug 22:02
93d1147
Compare
Choose a tag to compare

breaking: now requires node 12+
breaking: removed bigfloat and bigdecimal support. Moved to cbor-bigdecimal package
minor: upgrade to ava 4. Biggest issue was removal of .cb() tests in favor of promises, which added a p-event dependency.
minor: updated and improved typescript type definitions
minor: removed all uses of util and node-inspect-extracted from the library and dependents
minor: make all tests run on Windows, build steps run on Windows
minor: bring lint rules up to date