---
title: "github.com/apple/swift-crypto 5.0.0 Breaking Changes"
description: "What each github.com/apple/swift-crypto release removed, renamed or changed: 13 breaking changes in 5 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/apple/swift-crypto
last_updated: 2026-12-04
---

# github.com/apple/swift-crypto breaking changes

github.com/apple/swift-crypto 5.0.0 (September 16, 2026) is its newest release with breaking changes, 5 of them. The first: Previously SPI-marked public symbols are now internal in github.com/apple/swift-crypto 5.0.0. Every breaking API change we have recorded in github.com/apple/swift-crypto on Swift Package Index: 13 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.2.0`, released November 23, 2026. [Source repository](https://github.com/apple/swift-crypto)

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 5 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [5.0.0](#v-5-0-0): 9 breaking changes in 3 versions.

## github.com/apple/swift-crypto 5.0.0 breaking changes

github.com/apple/swift-crypto 5.0.0, released September 16, 2026: 5 breaking changes.

- **Removed**  

Symbols that were marked @\_spi public are no longer public, so code that used them will no longer compile. [github.com](https://github.com/apple/swift-crypto/releases/tag/5.0.0)
- **Removed** `ECDSASignature.derBytes`  

The unused derBytes member of ECDSASignature has been removed, so code referencing it must be changed. [github.com](https://github.com/apple/swift-crypto/releases/tag/5.0.0)
- **Behavior changed**  

Switches over these public enums must handle unknown future cases, for example with a default or @unknown default branch, or they may fail to compile. [github.com](https://github.com/apple/swift-crypto/releases/tag/5.0.0)
- **Behavior changed**  

Marking classes as final prevents subclassing them, so code that subclasses these types will no longer compile. [github.com](https://github.com/apple/swift-crypto/releases/tag/5.0.0)
- **Configuration changed**  

The package manifest now declares Swift 6.2 as the minimum version, so projects on older Swift toolchains must upgrade. [github.com](https://github.com/apple/swift-crypto/releases/tag/5.0.0)

## github.com/apple/swift-crypto 4.0.0 breaking changes

github.com/apple/swift-crypto 4.0.0, released October 6, 2025: 3 breaking changes.

- **Renamed** `_CryptoExtras`  

The \_CryptoExtras module is now named CryptoExtras. Update imports and references to use the new name. [github.com](https://github.com/apple/swift-crypto/releases/tag/4.0.0)
- **Behavior changed**  

The package no longer imports full Foundation, so code that relied on Foundation coming in through this package may need its own Foundation import. [github.com](https://github.com/apple/swift-crypto/releases/tag/4.0.0)
- **Configuration changed**  

The package is now built in Swift 6 mode, which enables stricter concurrency checking for code that uses it. [github.com](https://github.com/apple/swift-crypto/releases/tag/4.0.0)

## github.com/apple/swift-crypto 3.0.0 breaking changes

github.com/apple/swift-crypto 3.0.0: 1 breaking change.

- **Signature changed** `CryptoKitError`  

New cases were added to CryptoKitError, so exhaustive switches over it will no longer compile and must add a default or the new cases. [github.com](https://github.com/apple/swift-crypto/releases/tag/3.0.0)

## github.com/apple/swift-crypto 2.0.0 breaking changes

github.com/apple/swift-crypto 2.0.0: 2 breaking changes.

- **Removed**  

The release no longer supports Swift 5.1, so projects on that version must upgrade their Swift toolchain. [github.com](https://github.com/apple/swift-crypto/releases/tag/2.0.0)
- **Signature changed** `CryptoKitError`  

New cases were added to CryptoKitError, so exhaustive switches over it must handle the new cases. [github.com](https://github.com/apple/swift-crypto/releases/tag/2.0.0)

## github.com/apple/swift-crypto 2.0.0-beta.1 breaking changes

github.com/apple/swift-crypto 2.0.0-beta.1: 2 breaking changes.

- **Removed**  

The release no longer supports Swift 5.1, so projects on that version must upgrade their Swift toolchain. [github.com](https://github.com/apple/swift-crypto/releases/tag/2.0.0-beta.1)
- **Behavior changed**  

The release changes the package to match the 2021 CryptoKit API, a semver-major change that can alter code written against the previous API. [github.com](https://github.com/apple/swift-crypto/releases/tag/2.0.0-beta.1)

## Related packages

- [github.com/apple/fhirmodels](https://since.dev/packages/swift/github.com/apple/fhirmodels.md)
- [github.com/apple/swift-argument-parser](https://since.dev/packages/swift/github.com/apple/swift-argument-parser.md)
- [github.com/apple/swift-async-algorithms](https://since.dev/packages/swift/github.com/apple/swift-async-algorithms.md)
- [github.com/apple/swift-certificates](https://since.dev/packages/swift/github.com/apple/swift-certificates.md)
- [github.com/apple/swift-configuration](https://since.dev/packages/swift/github.com/apple/swift-configuration.md)
- [github.com/apple/swift-distributed-tracing](https://since.dev/packages/swift/github.com/apple/swift-distributed-tracing.md)

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