---
title: "github.com/datatheorem/trustkit 4.0.0 Breaking Changes"
description: "What each github.com/datatheorem/trustkit release removed, renamed or changed: 19 breaking changes in 1 version on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/datatheorem/trustkit
last_updated: 2026-12-04
---

# github.com/datatheorem/trustkit breaking changes

github.com/datatheorem/trustkit 4.0.0 (November 3, 2026) is its newest release with breaking changes, 19 of them. The first: Removed +\[TrustKit setLoggerBlock:\]. Every breaking API change we have recorded in github.com/datatheorem/trustkit on Swift Package Index: 19 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 `4.0.0`, released November 3, 2026. [Source repository](https://github.com/datatheorem/TrustKit)

## github.com/datatheorem/trustkit 4.0.0 breaking changes

github.com/datatheorem/trustkit 4.0.0, released November 3, 2026: 19 breaking changes.

- **Removed** `+[TrustKit setLoggerBlock:]`  

TrustKit now logs through os_log instead. To act on validation results in code, set pinningValidatorCallback. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `kTSKAlgorithmEcDsaSecp256r1`  

Deprecated since 1.6.0 and now removed; remove it from your code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `kTSKAlgorithmEcDsaSecp384r1`  

Deprecated since 1.6.0 and now removed; remove it from your code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `kTSKAlgorithmRsa2048`  

Deprecated since 1.6.0 and now removed; remove it from your code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `kTSKAlgorithmRsa4096`  

Deprecated since 1.6.0 and now removed; remove it from your code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `kTSKPublicKeyAlgorithms`  

These symbols were deprecated since 1.6.0 and are now removed; remove them from your code. A configuration still setting TSKPublicKeyAlgorithms keeps working because the key is ignored. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `TrustKit_Static`  

Use TrustKit-static.zip instead. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Removed** `TSKSupportedAlgorithm`  

Deprecated since 1.6.0 and now removed; remove it from your code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

Names previously rejected by the bundled public suffix list are now accepted; review your configuration. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

Non-standard key encodings can produce a different pin than in 3.x; regenerate pins to check. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

Minimum OS versions are now iOS 15, macOS 12, Mac Catalyst 15, tvOS 15, watchOS 9 and visionOS 1; building needs Xcode 16 or later. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

Release builds log pinned hostnames as public data to device logs. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

TrustKit 4.0 and later are not published to CocoaPods; use Swift Package Manager or the static XCFramework. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

If header search paths point into a TrustKit checkout, update them. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

Report server filters on app-platform must handle VISIONOS, MAC_CATALYST and IOS_ON_MAC. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed**  

Keys that can never match, such as wildcards or keys containing special characters, now raise an NSException from initSharedInstanceWithConfiguration:. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed** `kTSKIgnorePinningForUserDefinedTrustAnchors`  

Wrap uses in TARGET_OS_OSX checks in shared code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed** `kTSKIncludeSubdomains`  

It now throws for IP addresses and single-label domains, and is allowed on public suffixes. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)
- **Behavior changed** `TSKTrustEvaluationFailedUserDefinedTrustAnchor`  

Wrap uses in TARGET_OS_OSX checks in shared code. [github.com](https://github.com/datatheorem/TrustKit/releases/tag/4.0.0)

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