Skip to content

chore(deps): bump github.com/fxamacker/cbor/v2 from 2.9.3 to 2.9.6 - #119

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/fxamacker/cbor/v2-2.9.4
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/fxamacker/cbor/v2-2.9.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/fxamacker/cbor/v2 from 2.9.3 to 2.9.6.

Release notes

Sourced from github.com/fxamacker/cbor/v2's releases.

v2.9.6 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.6 from all prior versions is recommended.

🐞 Important Fix

Not affected:

  • Decoding data this codec encoded from the same Go map type, because this codec does not encode to CBOR null from Go values of bool, integer, float, or string kind.
  • Apps that don't decode a CBOR null or undefined map key or value into a Go map whose key or value type is of bool, integer, float, or string kind.
  • Decoding CBOR maps into structs (struct fields of map type follow the bullet above).
  • Decoding CBOR maps into map[any]any, and into any (with unchanged DefaultMapType).

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: fxamacker/cbor@v2.9.4...v2.9.6

... (truncated)

Commits
  • 8604f5f Merge pull request #857 from fxamacker/fxamacker/retract-v2.9.5
  • 1e80139 Retract v2.9.5
  • a1b077c Merge pull request #855 from fxamacker/fxamacker/release-2.9-fix-nil-map-value
  • 0d86c22 Fix stale Go map entry from CBOR null key/value
  • dd5dab6 Merge pull request #854 from fxamacker/fxamacker/release-2.9-update-docs
  • 599c7c8 Improve docs related to encoding time.Time
  • 850c568 Merge pull request #851 from fxamacker/fxamacker/release-2.9-fix-decoding-557...
  • c046eed Fix decoding 55799(null) to pointer or interface
  • ac3c8da Merge pull request #838 from fxamacker/fxamacker/release-2.9-fix-encoding-rfc...
  • 258d49e Merge pull request #837 from fxamacker/fxamacker/release-2.9-fix-encoding-tim...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 22, 2026
@dependabot
dependabot Bot requested a review from pewpewpotato as a code owner September 22, 2026 04:11
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 22, 2026
Bumps [github.com/fxamacker/cbor/v2](https://github.com/fxamacker/cbor) from 2.9.3 to 2.9.6.
- [Release notes](https://github.com/fxamacker/cbor/releases)
- [Commits](fxamacker/cbor@v2.9.3...v2.9.6)

---
updated-dependencies:
- dependency-name: github.com/fxamacker/cbor/v2
  dependency-version: 2.9.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump github.com/fxamacker/cbor/v2 from 2.9.3 to 2.9.4 chore(deps): bump github.com/fxamacker/cbor/v2 from 2.9.3 to 2.9.6 Oct 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/fxamacker/cbor/v2-2.9.4 branch from 5cc7ed5 to a3609fd Compare October 14, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants