v2.6.0 #491
Closed
fxamacker
announced in
Announcements
v2.6.0
#491
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release adds important new features, optimizations, bug fixes, and 3 new contributors. Fuzz tests passed 5+ billion execs for CBOR encoding and decoding functions. Minimum officially supported Go is bumped to Go 1.17.
⭐ Features and Optimizations
interface{}
as*big.Int
by @fxamacker in Add option to decode CBOR bignum tointerface{}
as*big.Int
#456interface{}
by @fxamacker in Add 2 more options for decoding CBOR integers tointerface{}
#457any
by @ssuriyan7 in Add option to specify how to decode unrecognized CBOR tag toany
#475🚀 Notable Optimizations
Improve memory allocs 🗜️ and speed 🚀 of encoding maps by using Go 1.18-1.20 features by @dinhxuanvu in Improve memory allocs and speed of encoding maps by using Go 1.18+ features #468
📊 Benchmarks
benchstat
results provided by @dinhxuanvuNOTE: Go 1.17 is the minimum version supported by v2.6.0. Go 1.20+ will use optimizations introduced by PR 468.
🛠 Improvements
UnrecognizedTagToAny
option toTestDecOptions
by @fxamacker in AddUnrecognizedTagToAny
option toTestDecOptions
#484🐞 Bug Fixes
*cbor.SimpleValue
by @fxamacker in Fix panic when decoding CBOR nil to*cbor.SimpleValue
#461📖 Docs and CI
New Contributors
any
#475Full Changelog: v2.5.0...v2.6.0
This discussion was created from the release v2.6.0.
Beta Was this translation helpful? Give feedback.
All reactions