chore: update go dependencies (v2.9.4 → v2.9.5) #255
Loading…
Reference in a new issue
No description provided.
Delete branch "updatarr/go-dependencies-c171078cda"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Updates
go dependencies.Automerge: Enabled
Updates
github.com/fxamacker/cbor/v2v2.9.4v2.9.5Files
go.modRelease notes
github.com/fxamacker/cbor/v2 (v2.9.4 → v2.9.5)
v2.9.5: v2.9.5Compare source
Source
Source ref:
release-2.9v2.9.5 fixes 12 bugs, including an important fix for apps that decode CBOR maps into Go maps, and has one behavior change. API is unchanged but more errors are detected.
Most of these bugs were identified while improving tests and reviewing code for an upcoming release.
Tests and fuzz tests were extended.
Upgrading to v2.9.5 from all prior versions is recommended.
🐞 Important Fix
Not affected:
map[any]any, and intoany(with unchangedDefaultMapType).For use cases outside the "not affected" list, decoding a CBOR null or undefined map key or value (including
55799(null)) into a Go map whose key or value type is of bool, integer, float, or string kind kept the previous map entry's key or value (instead of the zero value). See PR #855 for details.⚠️ Behavior change
Decoding CBOR null or undefined into an interface that holds a value now sets it to nil, matching encoding/json (v1 and v2). Previously, the interface kept its value (PR #827), which was not the intended behavior.
What's Changed
Some of these bugs could only be triggered by incorrect usage in user apps, such as invalid struct tags or an unsupported DefaultByteStringType setting, etc. None of these bugs were reported by a project affected by them.
Decoding
Encoding
CI / GitHub Actions and Docs
Full Changelog: https://github.com/fxamacker/cbor/compare/v2.9.4...v2.9.5