chore(deps): bump github.com/fxamacker/cbor/v2 from 2.5.0 to 2.7.0
Bumps github.com/fxamacker/cbor/v2 from 2.5.0 to 2.7.0.
Release notes
Sourced from github.com/fxamacker/cbor/v2's releases.
v2.7.0 (June 23, 2024)
v2.7.0 adds features and improvements that help large projects (e.g. Kubernetes) use CBOR as an alternative to JSON and Protocol Buffers. Other improvements include speedups, improved memory use, bug fixes, decoding/encoding options, etc. Passed 5+ billion execs fuzzing.
Special thanks to
@benluddyfor contributing features, optimizations, improvements, bug fixes, and discussions! :+1:⭐ Features and Optimizations
- Add decoding option TimeTagToAny to produce RFC3339 when decoding time into interface{} by
@ssuriyan7in fxamacker/cbor#506- Bypass sorting overhead for single-entry maps. by
@benluddyin fxamacker/cbor#516- Add decode option to allow rejecting inputs that contain certain simple values. by
@benluddyin fxamacker/cbor#481- Allow rejection of NaN and Inf float values on encode and decode. by
@benluddyin fxamacker/cbor#513- Add SortMode to encode struct fields in a less predictable order. by
@benluddyin fxamacker/cbor#515- Add a decoding option to allow decoding byte string into time.Time. by
@benluddyin fxamacker/cbor#524- Encode structs directly to output buffer. by
@benluddyin fxamacker/cbor#519- Support automatic conversion between text and binary string representations by
@benluddyin fxamacker/cbor#476- Add a method for marshaling directly into a user-provided buffer. by
@benluddyin fxamacker/cbor#521- Add options to disable BinaryMarshaler/BinaryUnmarshaler support. by
@benluddyin fxamacker/cbor#526- Add option to reject decoding bignum tags and encoding big.Int. by
@benluddyin fxamacker/cbor#527- Improve speed & memory use for Diagnose() and DiagnoseFirst() by
@benluddyin fxamacker/cbor#533- Refactor sorted map encode to use fewer buffers for nested maps. by
@benluddyin fxamacker/cbor#537- Allow user to specify buffer by adding
cbor.MarshalToBuffer(),UserBufferEncModeinterface, etc. by@fxamackerin fxamacker/cbor#553🛠 Improvements
Most improvements focused on fixing or updating new features. See :lady_beetle: Bug Fixes section for fixes to features already released.
- Refactor to reuse functions and improve code coverage by
@fxamackerin fxamacker/cbor#531- Fix invalid RFC 3339 in TimeTagToAny (unreleased new feature) by
@benluddyin fxamacker/cbor#540- Refactor and improve code by
@fxamackerin fxamacker/cbor#542- Use "cbor:" prefixed error msg when decoding with non-default TimeTagToAnyMode setting by
@fxamackerin fxamacker/cbor#544- Disable conflicting encode options when marshaling cbor.Tag. by
@benluddyin fxamacker/cbor#546- Improve byte string format decoding options by
@fxamackerin fxamacker/cbor#550- Replace
*errors.errorStringwithInadmissibleTagContentTypeErrorby@fxamackerin fxamacker/cbor#552- Rename ByteSliceMode to ByteSliceLaterFormatMode, etc by
@fxamackerin fxamacker/cbor#554- Fix panic using SortFastShuffle (unreleased new feaure) to encode a struct with no fields. by
@benluddyin fxamacker/cbor#556🐞 Bug Fixes
- Check well-formedness of data from MarshalCBOR by
@fxamackerin fxamacker/cbor#485- Treat map keys matching the same struct field as duplicates. by
@benluddyin fxamacker/cbor#492- Decouple time.Time parsing from empty interface behavior. by
@benluddyin fxamacker/cbor#503Other changes
- Bump govulncheck from v1.0.1 to v1.0.4 by
@fxamackerin fxamacker/cbor#493- Remove OpenSSF Scorecard until scorecard bug is fixed by
@x448in fxamacker/cbor#495- Bump github/codeql-action from 3.24.0 to 3.24.5 by
@dependabotin fxamacker/cbor#498
... (truncated)
Commits
02b69dbMerge pull request #560 from fxamacker/fxamacker/update-readme-for-v2.7.021f7786Update README.md for v2.7.0 release04bb1e7Merge pull request #557 from fxamacker/dependabot/github_actions/actions/chec...d09460dMerge pull request #559 from fxamacker/dependabot/github_actions/github/codeq...41bb70aBump github/codeql-action from 3.25.7 to 3.25.107bdba08Bump actions/checkout from 4.1.6 to 4.1.7968f91aMerge pull request #556 from benluddy/shuffle-empty-structffab76aFix panic using SortFastShuffle to encode a struct with no fields.878cfefMerge pull request #554 from fxamacker/fxamacker/rename-bytestringmode8ac5347Merge pull request #553 from fxamacker/fxamacker/add-userbufferencmode-interface- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)