---
title: "SwiftCBOR 0.7.0 Breaking Changes on CocoaPods | Since.dev"
description: "What each SwiftCBOR release removed, renamed or changed: 5 breaking changes in 1 version on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/SwiftCBOR
last_updated: 2026-12-04
---

# 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

Latest version `0.7.0`, released November 26, 2026. [Source repository](https://github.com/valpackett/SwiftCBOR)

## SwiftCBOR 0.7.0 breaking changes

SwiftCBOR 0.7.0, released November 26, 2026: 5 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](https://github.com/valpackett/SwiftCBOR/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/valpackett/SwiftCBOR/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/valpackett/SwiftCBOR/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/valpackett/SwiftCBOR/blob/v0.7.0/CHANGELOG.md)
- **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](https://github.com/valpackett/SwiftCBOR/blob/v0.7.0/CHANGELOG.md)

## Related packages

- [github.com/valpackett/swiftcbor](https://since.dev/packages/swift/github.com/valpackett/swiftcbor.md):  on Swift Package Index

## 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.
