Releases: aaronhuggins/cbor-redux
Releases · aaronhuggins/cbor-redux
version 1.0.0
⚠️ BREAKING CHANGES IN THIS RELEASE ⚠️
- Redesigned API to align with the
JSON
API in ECMAScript- Dropped support in the decoder for
taggedValue
andsimpleValue
callbacks encode
now takes an optionalreplacer
function argument to align withJSON.stringify
decode
now takes an optionalreviver
function argument to align withJSON.parse
decode
not takes an optional object to setmode
anddictionary
behaviors- Aliases of
parse
fordecode
andbinarify
forencode
are now exported - Added
Sequence
class for encoding and decoding CBOR Sequences - Improved
TaggedValue
to acceptnumber
orbigint
tags - Improved
SimpleValue
for use as a round-trip encode/decode mechanism
- Dropped support in the decoder for
- Updates to decode and encode algorithms to conform very closely to RFC 8949, the latest CBOR revision
- Adds lots of other RFCs
- Typed Arrays (RFC 8746)
- CBOR Sequences (RFC 8742)
- Strictness (required for COSE RFC 8152)
- Support for
bigint
; applications will now getbigint
for integers outside the ECMAScriptnumber
safe range - Support for
Map
; applications may use Map to encode and decode non-string keys - Refactored code to target Deno
- Code is transpiled for Node.js using both ES Modules and CommonJS
What's Changed
- Add support for Typed Arrays for issue #13 by @glenne in #14
- Prerelease v1.0.0 by @aaronhuggins in #20
- Fix additional syntax issues in release workflow by @aaronhuggins in #21
- Apply fixes to release workflow by @aaronhuggins in #22
- Merge in workflow changes and a pre-release versin bump by @aaronhuggins in #23
- Bug-fixes and documentation by @aaronhuggins in #24
- Fix NPM support by @aaronhuggins in #25
- Support lexicographical sorting for full RFC 8949 by @aaronhuggins in #28
New Contributors
Full Changelog: 0.4.0...1.0.0
version 1.0.0-3
What's Changed
- Support lexicographical sorting for full RFC 8949 by @aaronhuggins in #28
Full Changelog: 1.0.0-2...1.0.0-3
version 1.0.0-2
What's Changed
- Add support for Typed Arrays for issue #13 by @glenne in #14
- Prerelease v1.0.0 by @aaronhuggins in #20
- Fix additional syntax issues in release workflow by @aaronhuggins in #21
- Apply fixes to release workflow by @aaronhuggins in #22
- Merge in workflow changes and a pre-release versin bump by @aaronhuggins in #23
- Bug-fixes and documentation by @aaronhuggins in #24
- Fix NPM support by @aaronhuggins in #25
New Contributors
Full Changelog: 0.4.0...1.0.0-2
cbor-redux v0.4.0
Improve support for TaggedValues (#7).
cbor-redux v0.3.0
Add an ES5 export and tests for ES5 polyfills.
cbor-redux v0.2.1
Fixed broken links in documentation.
cbor-redux v0.2.0
Rewritten to TypeScript for Deno support and Node typescript definitions, now as a ponyfill.
Added tests for more scenarios and to bring coverage up.
Modernized syntax and tests.
Added code quality and coverage analysis.
Removed default polyfill behavior and added back as an optional module.
Addresses the following issues:
paroga#27
paroga#24
paroga#21
paroga#13