github.com/valpackett/swiftcbor breaking changes
github.com/valpackett/swiftcbor 0.7.0 (November 26, 2026) is its newest release with breaking changes, 6 of them. The first: Renamed CBOROptions.shouldShortMapKeys. Every breaking API change we have recorded in github.com/valpackett/swiftcbor on Swift Package Index: 6 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.1, released December 4, 2026. Source repository
github.com/valpackett/swiftcbor 0.7.0 breaking changes
- Renamed
CBOROptions.shouldShortMapKeys
The CBOROptions initializer label shouldShortMapKeys was corrected to shouldSortMapKeys; code using the old label must be updated. github.com - Behavior changed
CBOR.encodeUInt16
Malformed CBOR input now throws decoding errors in several cases where it previously trapped or was accepted, and maximumDepth is enforced in Codable decoding containers. 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 useShortestIntegerEncoding or useShortestFloatEncoding to... github.com - Default changed
CBOROptions.rejectDuplicateMapKeys
Duplicate map keys continue to keep the last value by default; enabling rejectDuplicateMapKeys is now needed to throw an error instead. 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 - Configuration changed
The minimum Apple platform versions are now macOS 12, iOS 15, tvOS 15, Mac Catalyst 15 and watchOS 9. Projects targeting older platforms must raise their deployment targets. github.com
Related packages
- SwiftCBOR on CocoaPods
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.