---
title: "RealmSwift 20.0.0 Breaking Changes on CocoaPods | Since.dev"
description: "What each RealmSwift release removed, renamed or changed: 148 breaking changes in 20 versions on CocoaPods, each with its source."
canonical_url: https://since.dev/packages/cocoapods/RealmSwift
last_updated: 2026-12-04
---

# RealmSwift breaking changes

RealmSwift 20.0.0 is its newest release with breaking changes, 7 of them. The first: Removed Map.asKeyValueSequence. Every breaking API change we have recorded in RealmSwift on CocoaPods: 148 breaking changes in 20 versions. Below, its 20 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `20.0.6`, released September 27, 2026. [Source repository](https://github.com/realm/realm-cocoa)

- From [10.0.0](#v-10-0-0) to [20.0.0](#v-20-0-0): 7 breaking changes in 1 version.
- From [0.93.0](#v-0-93-0) to [20.0.0](#v-20-0-0): 147 breaking changes in 19 versions.

## RealmSwift 20.0.0 breaking changes

RealmSwift 20.0.0: 7 breaking changes.

- **Removed** `Map.asKeyValueSequence`  

The method .asKeyValueSequence() has been removed; iterate the Map directly instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Behavior changed** `AnyRealmValue`  

Strings and Data are now considered different types, so queries for one will not match the other. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Behavior changed** `observe`  

Passing an empty array for keyPaths no longer means no filtering; it now observes no keypaths, so fewer change notifications are reported. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Behavior changed** `Realm`  

Realms are now returned retained, so code that calls Realm() repeatedly without holding a reference will break in release builds and now fails consistently. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Configuration changed**  

The minimum supported version of Xcode is now 15.3. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Signature changed** `Decimal128.init`  

The initializer no longer throws; callers using try must drop it, and it returns NaN for unparseable strings as before. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Signature changed** `Map`  

Iterating a Map now produces the tuple (key: KeyType, value: ValueType) instead of a struct, aligning it with Dictionary. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)

## RealmSwift 10.0.0 breaking changes

RealmSwift 10.0.0: 5 breaking changes.

- **Removed** `RLMSyncManager.shared`  

The shared sync manager is removed and is now a property on the app. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0)
- **Renamed** `RLMSyncUser`  

Use RLMUser and User in place of the sync user classes. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0)
- **Renamed** `SyncUser`  

Use User in place of SyncUser. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0)
- **Behavior changed**  

Non-embedded objects in synchronized Realms must use a primary key named \_id. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0)
- **Signature changed**  

Failable async callbacks receive one Result parameter instead of separate value and error parameters. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0)

## RealmSwift 10.0.0-rc.2 breaking changes

RealmSwift 10.0.0-rc.2: 5 breaking changes.

- **Behavior changed**  

Inserted document IDs are now returned as BSON rather than ObjectId. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)
- **Behavior changed**  

Embedded object types that link in a cycle are now rejected at the schema level. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)
- **Behavior changed**  

Primary key properties are once again marked as indexed. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)
- **Signature changed**  

Paired return types from Swift completion handlers are now a Result value. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)
- **Signature changed** `RealmSwift.Object`  

Subclass initializers of Object may need an added override keyword for Library Evolution. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)

## RealmSwift 10.0.0-rc.1 breaking changes

RealmSwift 10.0.0-rc.1: 10 breaking changes.

- **Signature changed** `[RLMApp allUsers]`  

Access allUsers as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `[RLMApp currentUser]`  

Access currentUser as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `[RLMApp emailPasswordAuth]`  

Access emailPasswordAuth as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `[RLMUser allSessions]`  

Access allSessions as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `[RLMUser apiKeysAuth]`  

Access apiKeysAuth as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `[RLMUser emailPasswordAuth]`  

Access emailPasswordAuth as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `[RLMUser identities]`  

Access identities as a property instead of calling a method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `RealmSwift.Credentials`  

Credentials is now an enum; construct it with cases such as Credentials.google. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `RLMUser.customData`  

The customData property no longer has a nullable annotation. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)
- **Signature changed** `RLMUser.identifier`  

The identifier property no longer has a nullable annotation. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)

## RealmSwift 10.0.0-beta.6 breaking changes

RealmSwift 10.0.0-beta.6: 3 breaking changes.

- **Renamed** `Realm.Publishers`  

Use RealmPublishers in place of Realm.Publishers. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.6)
- **Signature changed** `[RLMCredentials credentialsWithGoogleToken:]`  

Use credentialsWithGoogleAuthCode in place of credentialsWithGoogleToken. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.6)
- **Signature changed** `Credentials`  

Use the googleAuthCode parameter in place of googleToken. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.6)

## RealmSwift 10.0.0-beta.5 breaking changes

RealmSwift 10.0.0-beta.5: 11 breaking changes.

- **Removed** `RLMSyncManager.pinnedCertificatePaths`  

The pinnedCertificatePaths property has been removed. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Removed** `RLMSyncManager.shared`  

The shared sync manager is removed and is now a property on the app. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Removed** `RLMUserAccountInfo`  

The user info classes have been removed. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Removed** `RLMUserInfo`  

The user info classes have been removed. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `-[RLMCredentials credentialsWithUsername:password:]`  

Use the email-based credential constructor instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `-[RLMEmailPasswordAuth registerEmail:password:completion:]`  

Use the registerUserWithEmail method instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `App.emailPasswordAuth().registerEmail`  

Use registerUser in Swift instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `Credentials`  

Use the email-based initializer instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `RLMUser.identity`  

Use the new identifier name in place of the old identity name. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `User.apiKeyAuth`  

Use apiKeysAuth in Swift instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

14 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### RealmSwift 10.0.0-beta.3 breaking changes

RealmSwift 10.0.0-beta.3: 5 breaking changes.

- **Renamed** `[RLMApp callFunctionNamed:]`  

Call functions through the User object instead of the App. [github.com](https://github.com/realm/realm-cocoa/blob/v10.0.0/CHANGELOG.md)
- **Renamed** `[RLMApp logOut:]`  

Log out through the User object instead of the App. [github.com](https://github.com/realm/realm-cocoa/blob/v10.0.0/CHANGELOG.md)

And 3 more in this version.

### RealmSwift 10.0.0-beta.1 breaking changes

RealmSwift 10.0.0-beta.1: 7 breaking changes.

- **Removed**  

Realm Object Server is no longer supported. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.1)
- **Removed**  

Path-based and object-level sync permissions are removed. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.1)

And 5 more in this version.

### RealmSwift 5.0.0 breaking changes

RealmSwift 5.0.0: 5 breaking changes.

- **Removed**  

Realm files containing Any properties cannot be opened in this release. That property type was undocumented and deprecated in 1.0. Users must migrate that stored data. [github.com](https://github.com/realm/realm-swift/releases/tag/v5.0.0)
- **Removed**  

Realm files containing Date properties written by versions before 1.0 cannot be opened in this release. Users must migrate that stored data. [github.com](https://github.com/realm/realm-swift/releases/tag/v5.0.0)

And 3 more in this version.

### RealmSwift 4.0.0 breaking changes

RealmSwift 4.0.0: 14 breaking changes.

- **Removed**  

Every API that was deprecated in earlier releases has been removed entirely, so code using those deprecated APIs must be updated before upgrading. [github.com](https://github.com/realm/realm-swift/releases/tag/v4.0.0)
- **Behavior changed**  

Schema discovery for RealmSwift.Object subclasses was rewritten. Valid class definitions should be unaffected, but some invalid definitions that previously worked may no longer do so. [github.com](https://github.com/realm/realm-swift/releases/tag/v4.0.0)

And 12 more in this version.

### RealmSwift 3.0.0 breaking changes

RealmSwift 3.0.0: 54 breaking changes.

- **Removed**  

iOS 7 is no longer supported, so apps must target a newer iOS version. [github.com](https://github.com/realm/realm-swift/releases/tag/v3.0.0)
- **Removed** `-[NSError rlmSync_clientResetBlock]`  

Use the error action token instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v3.0.0)

And 52 more in this version.

### RealmSwift 2.0.0 breaking changes

RealmSwift 2.0.0: 3 breaking changes.

- **Removed** `RealmSwift.Error`  

RealmSwift.Error has been moved into a Realm extension and is now Realm.Error; update references to use Realm.Error. [github.com](https://github.com/realm/realm-swift/releases/tag/v2.0.0)
- **Behavior changed**  

Files written by Realm 2.0 cannot be opened by 1.x or earlier versions, though old files can still be opened by 2.0. [github.com](https://github.com/realm/realm-swift/releases/tag/v2.0.0)

And 1 more in this version.

### RealmSwift 0.103.0 breaking changes

RealmSwift 0.103.0: 4 breaking changes.

- **Removed**  

Building with Xcode 6.x is no longer supported; use a newer Xcode version. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.103.0)
- **Removed**  

Every API that earlier releases marked as deprecated has been removed entirely, so code still calling those APIs will no longer compile or run and must be updated. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.103.0)

And 2 more in this version.

### RealmSwift 0.101.0 breaking changes

RealmSwift 0.101.0: 1 breaking change.

- **Behavior changed**  

Realm files written by 0.101.0 are upgraded automatically when opened, so older versions of Realm cannot read them. Keep older app builds from opening files that this version has written. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.101.0)

### RealmSwift 0.99.0 breaking changes

RealmSwift 0.99.0: 2 breaking changes.

- **Signature changed** `-[RLMArray addNotificationBlock:]`  

The block passed to addNotificationBlock now receives another parameter, so existing blocks must be updated to accept it. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.99.0)
- **Signature changed** `-[RLMResults addNotificationBlock:]`  

The block passed to addNotificationBlock now receives another parameter, so existing blocks must be updated to accept it. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.99.0)

### RealmSwift 0.98.0 breaking changes

RealmSwift 0.98.0: 2 breaking changes.

- **Removed**  

Code built with Swift 1.2 can no longer use this release. Move to a newer Swift version. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.98.0)
- **Behavior changed** `Realm.init`  

Opening a realm by path now uses the default configuration. Check code that relied on the previous settings. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.98.0)

### RealmSwift 0.97.0 breaking changes

RealmSwift 0.97.0: 4 breaking changes.

- **Removed**  

Everything deprecated in earlier releases has been removed entirely, so code still calling it will no longer compile or run. Move to the replacements named in the earlier deprecation notices. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.97.0)
- **Behavior changed**  

Adding a Realm notification block on a thread not running a run loop now throws an exception instead of silently never calling the block. Code must run on a thread with a run loop or handle the exception. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.97.0)

And 2 more in this version.

### RealmSwift 0.96.0-beta breaking changes

RealmSwift 0.96.0-beta: 3 breaking changes.

- **Behavior changed**  

Files written by Realm 0.96.0 can no longer be opened by previous Realm versions. Do not share these files with apps still on older versions. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.96.0-beta)
- **Configuration changed**  

Installing Realm and RealmSwift as pods now requires CocoaPods v0.38 or greater. Upgrade CocoaPods before updating the pods. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.96.0-beta)

And 1 more in this version.

### RealmSwift 0.95.0 breaking changes

RealmSwift 0.95.0: 2 breaking changes.

- **Renamed** `List.extend`  

List.extend has been replaced with List.appendContentsOf. Update calls to use the new name. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.95.0)
- **Behavior changed** `Object`  

Object properties on Object subclasses must be marked optional, or a runtime exception is thrown. Mark such properties as optional. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.95.0)

### RealmSwift 0.93.0 breaking changes

RealmSwift 0.93.0: 1 breaking change.

- **Signature changed**  

Schema versions are now uint64_t in Objective-C and UInt64 in Swift. Update code that passes or reads schema versions as other integer types. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.93.0)

## Related packages

- [Realm](https://since.dev/packages/cocoapods/Realm.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.
