You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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