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

# github.com/realm/realm-swift breaking changes

github.com/realm/realm-swift 20.0.0 (September 9, 2024) is its newest release with breaking changes, 9 of them. The first: Realm Swift v20 drops Realm Studio below 15.0.0 in github.com/realm/realm-swift 20.0.0. Every breaking API change we have recorded in github.com/realm/realm-swift on Swift Package Index: 176 breaking changes in 30 versions. Below, its 30 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-swift)

Its 3.0.0 release drops iOS 7. [iOS end of life dates](https://since.dev/calendar/ios.md).

- From [10.0.0](#v-10-0-0) to [20.0.0](#v-20-0-0): 9 breaking changes in 1 version.
- From [0.80.0](#v-0-80-0) to [20.0.0](#v-20-0-0): 174 breaking changes in 29 versions.

## github.com/realm/realm-swift 20.0.0 breaking changes

github.com/realm/realm-swift 20.0.0, released September 9, 2024: 9 breaking changes.

- **Removed**  

Compatibility now requires Realm Studio 15.0.0 or later. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Removed**  

All Atlas App Services and Atlas Device Sync functionality has been removed. Users of Atlas Device Sync should pin to v10. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Removed** `Map.asKeyValueSequence`  

Map.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** `Map`  

Iterating a Map now yields the tuple (key: KeyType, value: ValueType) rather than a struct, so code relying on the old struct type must change. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Behavior changed** `observe`  

Passing an empty array for keyPaths now filters out all keypaths rather than being treated like nil, so only deletion or collection-level changes are reported. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)
- **Behavior changed** `Realm`  

Realms are now returned retained in both debug and release builds, so chained calls like try! Realm().beginWrite() will break instead of appearing to work. [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`  

Decimal128(string:) is no longer marked as throws; callers using try must drop it, and unparseable strings still return NaN. [github.com](https://github.com/realm/realm-swift/releases/tag/v20.0.0)

## github.com/realm/realm-swift 10.0.0 breaking changes

github.com/realm/realm-swift 10.0.0: 3 breaking changes.

- **Removed** `RLMSyncManager.shared`  

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

SyncUser and RLMSyncUser are renamed to User and RLMUser. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0)
- **Behavior changed**  

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

## github.com/realm/realm-swift 10.0.0-rc.2 breaking changes

github.com/realm/realm-swift 10.0.0-rc.2: 4 breaking changes.

- **Behavior changed**  

Schemas with cyclic embedded object links are now rejected. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)
- **Behavior changed**  

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

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

Paired value and error completion handler parameters are replaced by a single Result parameter. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.2)

## github.com/realm/realm-swift 10.0.0-rc.1 breaking changes

github.com/realm/realm-swift 10.0.0-rc.1: 8 breaking changes.

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

Access allUsers as a property instead of 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 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 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 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 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 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 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 with case-specific constructors such as Credentials.google(serverAuthCode:). [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-rc.1)

## github.com/realm/realm-swift 10.0.0-beta.6 breaking changes

github.com/realm/realm-swift 10.0.0-beta.6: 3 breaking changes.

- **Renamed** `[RLMCredentials credentialsWithGoogleToken:]`  

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

Use googleAuthCode instead of googleToken. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.6)
- **Renamed** `Realm.Publishers`  

Use RealmPublishers instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.6)

## github.com/realm/realm-swift 10.0.0-beta.5 breaking changes

github.com/realm/realm-swift 10.0.0-beta.5: 10 breaking changes.

- **Removed** `RLMSyncManager.pinnedCertificatePaths`  

pinnedCertificatePaths is removed from the sync manager. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Removed** `RLMUserAccountInfo`  

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

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

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

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

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

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

Use the new identifier property instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `User.apiKeyAuth`  

Use the plural apiKeysAuth method. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)
- **Renamed** `User.identity`  

Use the new id property instead. [github.com](https://github.com/realm/realm-swift/releases/tag/v10.0.0-beta.5)

## Older versions

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

### github.com/realm/realm-swift 10.0.0-beta.3 breaking changes

github.com/realm/realm-swift 10.0.0-beta.3: 5 breaking changes.

- **Renamed** `RealmApp`  

Use App in place of RealmApp. [github.com](https://github.com/realm/realm-swift/blob/v10.0.0/CHANGELOG.md)
- **Renamed** `SyncUser`  

Use User in place of SyncUser. [github.com](https://github.com/realm/realm-swift/blob/v10.0.0/CHANGELOG.md)

And 3 more in this version.

### github.com/realm/realm-swift 10.0.0-beta.1 breaking changes

github.com/realm/realm-swift 10.0.0-beta.1: 7 breaking changes.

- **Removed**  

Legacy Realm Cloud is no longer supported; move to the MongoDB Realm cloud instead. [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.

### github.com/realm/realm-swift 5.0.0 breaking changes

github.com/realm/realm-swift 5.0.0: 5 breaking changes.

- **Removed**  

Realm files containing Any properties, a previously deprecated and undocumented type, can no longer be opened, so such stored data must be migrated before use. [github.com](https://github.com/realm/realm-swift/releases/tag/v5.0.0)
- **Behavior changed**  

Realm files containing Date properties written by versions before 1.0 fail to open in this release, so such stored data must be migrated before use. [github.com](https://github.com/realm/realm-swift/releases/tag/v5.0.0)

And 3 more in this version.

### github.com/realm/realm-swift 4.0.0 breaking changes

github.com/realm/realm-swift 4.0.0: 14 breaking changes.

- **Removed**  

Every API that was deprecated in earlier releases is now gone. Code that still calls deprecated functionality must be moved to its replacement before upgrading. [github.com](https://github.com/realm/realm-swift/releases/tag/v4.0.0)
- **Behavior changed**  

Permission functions no longer use their own error type and error codes. They now produce SyncAuthErrors, so error handling code must be updated. [github.com](https://github.com/realm/realm-swift/releases/tag/v4.0.0)

And 12 more in this version.

### github.com/realm/realm-swift 3.0.0 breaking changes

github.com/realm/realm-swift 3.0.0: 56 breaking changes.

- **Removed** `-[NSError rlmSync_clientResetBlock]`  

NSError rlmSync_clientResetBlock removed in github.com/realm/realm-swift 3.0.0 [github.com](https://github.com/realm/realm-swift/releases/tag/v3.0.0)
- **Removed** `-[NSError rlmSync_deleteRealmBlock]`  

NSError rlmSync_deleteRealmBlock removed in github.com/realm/realm-swift 3.0.0 [github.com](https://github.com/realm/realm-swift/releases/tag/v3.0.0)

And 54 more in this version.

### github.com/realm/realm-swift 2.0.0 breaking changes

github.com/realm/realm-swift 2.0.0: 2 breaking changes.

- **Renamed** `RealmSwift.Error`  

RealmSwift.Error is now Realm.Error so it no longer conflicts with Swift.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 still open in 2.0. Keep older clients on files they can read. [github.com](https://github.com/realm/realm-swift/releases/tag/v2.0.0)

### github.com/realm/realm-swift 0.103.0 breaking changes

github.com/realm/realm-swift 0.103.0: 4 breaking changes.

- **Removed**  

Everything that was deprecated in earlier releases has been removed entirely, so code using those deprecated APIs must be updated. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.103.0)
- **Removed**  

Support for Xcode 6.x and Swift versions before 2.2 has been completely removed. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.103.0)

And 2 more in this version.

### github.com/realm/realm-swift 0.101.0 breaking changes

github.com/realm/realm-swift 0.101.0: 1 breaking change.

- **Behavior changed**  

Files written by this version cannot be read by older Realm versions. Existing files are upgraded automatically when opened, so older versions must not be used with files this version has written. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.101.0)

### github.com/realm/realm-swift 0.99.0 breaking changes

github.com/realm/realm-swift 0.99.0: 2 breaking changes.

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

The block passed to addNotificationBlock now takes another parameter. Update existing block signatures to match. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.99.0)
- **Signature changed** `-[RLMResults addNotificationBlock:]`  

The block passed to addNotificationBlock now takes another parameter. Update existing block signatures to match. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.99.0)

### github.com/realm/realm-swift 0.98.0 breaking changes

github.com/realm/realm-swift 0.98.0: 3 breaking changes.

- **Removed**  

Support for Swift 1.2 was dropped in this release; projects still compiling with Swift 1.2 must upgrade their toolchain. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.98.0)
- **Behavior changed** `+[RLMRealm realmWithPath:]`  

Opening a realm by path with realmWithPath: now inherits from the default configuration, so code relying on the previous settings may behave differently. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.98.0)

And 1 more in this version.

### github.com/realm/realm-swift 0.97.0 breaking changes

github.com/realm/realm-swift 0.97.0: 5 breaking changes.

- **Removed**  

Everything deprecated in previous releases is removed entirely, so code still using those deprecated APIs must be moved to their replacements. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.97.0)
- **Behavior changed**  

Defining Object properties of an unsupported type now throws an exception. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.97.0)

And 3 more in this version.

### github.com/realm/realm-swift 0.96.0-beta breaking changes

github.com/realm/realm-swift 0.96.0-beta: 3 breaking changes.

- **Behavior changed**  

Once a file is created with 0.96.0, earlier Realm versions can no longer open it, so keep older versions away from shared files. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.96.0-beta)
- **Configuration changed**  

Users who install Realm or RealmSwift as pods must upgrade CocoaPods to version 0.38 or greater. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.96.0-beta)

And 1 more in this version.

### github.com/realm/realm-swift 0.95.0 breaking changes

github.com/realm/realm-swift 0.95.0: 2 breaking changes.

- **Renamed** `List.extend`  

Call List.appendContentsOf where List.extend was used. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.95.0)
- **Behavior changed**  

Object properties on Object subclasses in Realm Swift must now be declared optional, otherwise a runtime exception is thrown. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.95.0)

### github.com/realm/realm-swift 0.92.0 breaking changes

github.com/realm/realm-swift 0.92.0: 2 breaking changes.

- **Behavior changed**  

Migration blocks are no longer called when a Realm file is first created. Code that relies on the migration block running on a new file must handle that case separately. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.92.0)
- **Behavior changed**  

Int8 properties defined in Swift are now treated as integers rather than booleans. Code that depended on the boolean treatment must be updated. [github.com](https://github.com/realm/realm-swift/releases/tag/v0.92.0)

### github.com/realm/realm-swift 0.91.0 breaking changes

github.com/realm/realm-swift 0.91.0: 5 breaking changes.

- **Removed** `RLMObject`  

Object and array properties of type RLMObject are no longer allowed; existing code declaring them will need to change. [github.com](https://github.com/realm/realm-swift/blob/v0.91.0/CHANGELOG.md)
- **Removed** `RLMObject.attributesForProperty:`  

attributesForProperty: has been removed from RLMObject. Specify indexed properties by implementing the indexedProperties method instead. [github.com](https://github.com/realm/realm-swift/blob/v0.91.0/CHANGELOG.md)

And 3 more in this version.

### github.com/realm/realm-swift 0.90.0 breaking changes

github.com/realm/realm-swift 0.90.0: 2 breaking changes.

- **Renamed** `-[RLMRealm encryptedRealmWithPath:key:readOnly:error:]`  

The encrypted Realm opening method is renamed. Update calls to use the new name with the encryptionKey parameter. [github.com](https://github.com/realm/realm-swift/blob/v0.90.0/CHANGELOG.md)
- **Behavior changed** `-[RLMRealm setSchemaVersion:withMigrationBlock]`  

Schema version must now be set for each Realm path used. Use the default-Realm method for the default Realm and the path-specific method for others. [github.com](https://github.com/realm/realm-swift/blob/v0.90.0/CHANGELOG.md)

### github.com/realm/realm-swift 0.88.0 breaking changes

github.com/realm/realm-swift 0.88.0: 2 breaking changes.

- **Renamed** `RLMObject.isDeletedFromRealm`  

The -\[RLMObject isDeletedFromRealm\] method has been renamed to -\[RLMObject isInvalidated\]. Update call sites to use the new name. [github.com](https://github.com/realm/realm-swift/blob/v0.88.0/CHANGELOG.md)
- **Behavior changed** `RLMRealm`  

An RLMRealm deallocated during a write transaction without an explicit commit or cancel is now cancelled instead of committed. Commit explicitly if you rely on the old behavior. [github.com](https://github.com/realm/realm-swift/blob/v0.88.0/CHANGELOG.md)

### github.com/realm/realm-swift 0.87.0 breaking changes

github.com/realm/realm-swift 0.87.0: 5 breaking changes.

- **Renamed** `addObjectsFromArray:`  

Call addObjects: on RLMRealm instead. addObjects: accepts any container class implementing NSFastEnumeration. [github.com](https://github.com/realm/realm-swift/blob/v0.87.0/CHANGELOG.md)
- **Renamed** `arraySortedByProperty:ascending:`  

Use sortedResultsUsingProperty:ascending instead of the old sorting method name. [github.com](https://github.com/realm/realm-swift/blob/v0.87.0/CHANGELOG.md)

And 3 more in this version.

### github.com/realm/realm-swift 0.86.0 breaking changes

github.com/realm/realm-swift 0.86.0: 2 breaking changes.

- **Removed**  

Xcode 5 is no longer supported. Build the main Realm.xcodeproj with Xcode 6 instead. [github.com](https://github.com/realm/realm-swift/blob/v0.86.0/CHANGELOG.md)
- **Behavior changed** `RLMObject`  

Adding an already persisted RLMObject to a different Realm now throws an exception instead of creating an uninitialized object. Check code that relied on the old behavior. [github.com](https://github.com/realm/realm-swift/blob/v0.86.0/CHANGELOG.md)

### github.com/realm/realm-swift 0.85.0 breaking changes

github.com/realm/realm-swift 0.85.0: 3 breaking changes.

- **Behavior changed**  

Realm change notifications sent when beginning a write transaction now fire after the update rather than before it, matching refresh. Code that depends on the old ordering must be adjusted. [github.com](https://github.com/realm/realm-swift/blob/v0.85.0/CHANGELOG.md)
- **Behavior changed** `-isEqual:`  

\-isEqual: now uses the default NSObject implementation unless a primary key is specified for an RLMObject. With a primary key, it calls -isEqualToObject: and -hash is implemented to match. [github.com](https://github.com/realm/realm-swift/blob/v0.85.0/CHANGELOG.md)

And 1 more in this version.

### github.com/realm/realm-swift 0.84.0 breaking changes

github.com/realm/realm-swift 0.84.0: 1 breaking change.

- **Removed**  

Notifications are now only triggered by commits made in other threads; changes made by other processes no longer trigger them until a future redesign. [github.com](https://github.com/realm/realm-swift/blob/v0.84.0/CHANGELOG.md)

### github.com/realm/realm-swift 0.83.0 breaking changes

github.com/realm/realm-swift 0.83.0: 3 breaking changes.

- **Behavior changed**  

Properties to be persisted in Swift classes must now be explicitly declared as dynamic; update existing model properties to add the dynamic modifier. [github.com](https://github.com/realm/realm-swift/blob/v0.83.0/CHANGELOG.md)
- **Behavior changed** `RLMObject`  

Subclasses of RLMObject subclasses now throw an exception on startup rather than when added to a Realm. [github.com](https://github.com/realm/realm-swift/blob/v0.83.0/CHANGELOG.md)

And 1 more in this version.

### github.com/realm/realm-swift 0.82.0 breaking changes

github.com/realm/realm-swift 0.82.0: 3 breaking changes.

- **Removed**  

The Realm-Xcode6.xcodeproj project no longer builds with other Xcode versions. Use Xcode6-Beta4 to build it. [github.com](https://github.com/realm/realm-swift/blob/v0.82.0/CHANGELOG.md)
- **Behavior changed**  

The framework now checks at compile time that the correct iOS or OS X build is used. Builds that link the wrong framework will now fail. [github.com](https://github.com/realm/realm-swift/blob/v0.82.0/CHANGELOG.md)

And 1 more in this version.

### github.com/realm/realm-swift 0.80.0 breaking changes

github.com/realm/realm-swift 0.80.0: 2 breaking changes.

- **Renamed** `-migrateDefaultRealmWithBlock:`  

Migration methods were renamed to -migrateDefaultRealmWithBlock: and -migrateRealmAtPath:withBlock:; update call sites to the new names. [github.com](https://github.com/realm/realm-swift/blob/v0.80.0/CHANGELOG.md)
- **Renamed** `-migrateRealmAtPath:withBlock:`  

Migration methods were renamed to -migrateDefaultRealmWithBlock: and -migrateRealmAtPath:withBlock:; update call sites to the new names. [github.com](https://github.com/realm/realm-swift/blob/v0.80.0/CHANGELOG.md)

## Related packages

- [github.com/realm/realm-core](https://since.dev/packages/swift/github.com/realm/realm-core.md)
- [github.com/realm/swiftlint](https://since.dev/packages/swift/github.com/realm/swiftlint.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.
