Skip to content

Bump github.com/fxamacker/cbor/v2 from 2.9.4 to 2.9.6 - #1719

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/fxamacker/cbor/v2 from 2.9.4 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 compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/fxamacker/cbor/v2](https://github.com/fxamacker/cbor) from 2.9.4 to 2.9.6.
- [Release notes](https://github.com/fxamacker/cbor/releases)
- [Commits](fxamacker/cbor@v2.9.4...v2.9.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 13, 2026
@github-actions github-actions Bot added the needs triage Waiting for discussion / prioritization by team label Oct 13, 2026
@step-ci
step-ci enabled auto-merge October 13, 2026 20:09
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 needs triage Waiting for discussion / prioritization by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant