---
title: "github.com/fxamacker/cbor/v2 v2.10.0 Breaking Changes"
description: "What each github.com/fxamacker/cbor/v2 release removed, renamed or changed: 12 breaking changes in 2 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/fxamacker/cbor/v2
last_updated: 2026-12-04
---

# 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

Latest version `v2.10.0`, released October 28, 2026. [Source repository](https://github.com/fxamacker/cbor)

Its v2.10.0 release requires [Go 1.24](https://since.dev/calendar/go/1.24.md) or later. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v2.9.6](#v-v2-9-6) to [v2.10.0](#v-v2-10-0): 5 breaking changes in 1 version.

## github.com/fxamacker/cbor/v2 v2.10.0 breaking changes

github.com/fxamacker/cbor/v2 v2.10.0, released October 28, 2026: 5 breaking changes.

- **Removed**  

The package now requires Go 1.24 or newer, so projects on older Go versions must upgrade their toolchain. [github.com](https://github.com/fxamacker/cbor/releases/tag/v2.10.0)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.10.0)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.10.0)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.10.0)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.10.0)

## github.com/fxamacker/cbor/v2 v2.9.6 breaking changes

github.com/fxamacker/cbor/v2 v2.9.6, released October 6, 2026: 7 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](https://pkg.go.dev/github.com/fxamacker/cbor/v2@v2.9.6)
- **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](https://pkg.go.dev/github.com/fxamacker/cbor/v2@v2.9.6)
- **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](https://pkg.go.dev/github.com/fxamacker/cbor/v2@v2.9.6)
- **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](https://pkg.go.dev/github.com/fxamacker/cbor/v2@v2.9.6)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.9.6)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.9.6)
- **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](https://github.com/fxamacker/cbor/releases/tag/v2.9.6)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
