Skip to content

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

Merged
step-ci merged 1 commit into
masterfrom
dependabot/go_modules/github.com/fxamacker/cbor/v2-2.9.6
Oct 20, 2026
Merged

step-ci merged 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

For use cases outside the "not affected by this bug" list below, 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.

Not affected by this bug:

  • 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).

鈿狅笍 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.

馃洜 Bug fixes

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

馃摉 Documentation

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 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
@hslatman

Copy link
Copy Markdown
Member

@dependabot rebase

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 force-pushed the dependabot/go_modules/github.com/fxamacker/cbor/v2-2.9.6 branch from 53e749e to d953993 Compare October 20, 2026 13:02
@hslatman hslatman added this to the v0.31.1 milestone Oct 20, 2026
@step-ci
step-ci merged commit 7f0a75d into master Oct 20, 2026
17 of 18 checks passed
@step-ci
step-ci deleted the dependabot/go_modules/github.com/fxamacker/cbor/v2-2.9.6 branch October 20, 2026 14:01
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.

2 participants