github.com/fxamacker/cbor/v2 breaking changes
github.com/fxamacker/cbor/v2 v2.10.0 (October 28, 2026) is its newest release with breaking changes, 5 of them. The first: github.com/fxamacker/cbor/v2 v2.10.0 requires Go 1.24 or later. Every breaking API change we have recorded in github.com/fxamacker/cbor/v2 on Go modules: 12 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v2.10.0, released October 28, 2026. Source repository
Its v2.10.0 release requires Go 1.24 or later. Go end of life dates.
github.com/fxamacker/cbor/v2 v2.10.0 breaking changes
- Removed
The package now requires Go 1.24 or newer, so projects on older Go versions must upgrade their toolchain. github.com - Behavior changed
User-implemented pointer-receiver marshal methods are called on the original value instead of a copy when the value is addressable. Code that relied on the copy may behave differently. github.com - Behavior changed
EncMode
Creating an EncMode now returns an error when the settings would emit tags and TagsForbidden is also set. Code with such settings must fix its configuration. github.com - Behavior changed
Marshal
Marshal configured to emit text-based time now returns an error for time.Time values outside RFC 3339 limits. Code that marshals such times must handle the error. github.com - Behavior changed
TagsForbidden
Marshal configured with TagsForbidden now returns an error for big.Int values outside [-2^64, 2^64-1]. Code that encoded such values must handle the error. github.com
github.com/fxamacker/cbor/v2 v2.9.6 breaking changes
- Removed
github.com/fxamacker/cbor/v2.EncOptions.ToIndefArrayStructTag
github.com/fxamacker/cbor/v2.EncOptions.ToIndefArrayStructTag was removed in github.com/fxamacker/cbor/v2 v2.9.6 pkg.go.dev - Removed
github.com/fxamacker/cbor/v2.ToIndefArrayStructTagAllowed
github.com/fxamacker/cbor/v2.ToIndefArrayStructTagAllowed was removed in github.com/fxamacker/cbor/v2 v2.9.6 pkg.go.dev - Removed
github.com/fxamacker/cbor/v2.ToIndefArrayStructTagForbidden
github.com/fxamacker/cbor/v2.ToIndefArrayStructTagForbidden was removed in github.com/fxamacker/cbor/v2 v2.9.6 pkg.go.dev - Removed
github.com/fxamacker/cbor/v2.ToIndefArrayStructTagMode
github.com/fxamacker/cbor/v2.ToIndefArrayStructTagMode was removed in github.com/fxamacker/cbor/v2 v2.9.6 pkg.go.dev - Behavior changed
Decoding CBOR null or undefined into an interface that holds a value now sets the interface to nil, matching encoding/json. Code that relied on the old value being kept must be updated. github.com - Behavior changed
time.Time
Encoding a time.Time whose year Go formats incorrectly is now rejected with an error instead of being encoded. Code encoding such values will now get an error. github.com - Behavior changed
TimeUnixMicro
Times within one second of either end of the 1677 to 2262 range now encode to different output. Code that depends on the exact encoded bytes for those times may need review. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.