SwiftCBOR breaking changes
SwiftCBOR 0.7.0 (November 26, 2026) is its newest release with breaking changes, 5 of them. The first: Renamed CBOROptions.shouldShortMapKeys. Every breaking API change we have recorded in SwiftCBOR on CocoaPods: 5 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.7.0, released November 26, 2026. Source repository
SwiftCBOR 0.7.0 breaking changes
- Renamed
CBOROptions.shouldShortMapKeys
The CBOROptions initializer label shouldShortMapKeys has been corrected to shouldSortMapKeys, so callers using the old label must update it. github.com - Behavior changed
The minimum Apple platform versions are now macOS 12, iOS 15, tvOS 15, Mac Catalyst 15 and watchOS 9, so older deployment targets are no longer supported. github.com - Behavior changed
CBOROptions
Duplicate map keys continue to keep the last value by default; enabling rejectDuplicateMapKeys makes them throw instead, so this is only a change if that option is set. github.com - Default changed
CBOR.encodeUInt16
General-purpose integer and floating-point encoding now uses preferred shortest-width output by default, changing bytes for some UInt16, UInt32, UInt64, Float and Double values. Set the useShortestIntegerEncoding or... github.com - Default changed
CodableCBOREncoder.shouldSortMapKeys
CodableCBOREncoder now sorts map entries by encoded key bytes by default. Set shouldSortMapKeys to false to keep the previous order. github.com
Related packages
- github.com/valpackett/swiftcbor on Swift Package Index
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.