github.com/realm/realm-swift breaking changes
Updated December 4, 2026
On this page
Latest version 20.0.6, released September 27, 2026. Source repository
Its 3.0.0 release drops iOS 7. iOS end of life dates.
- From 10.0.0 to 20.0.0: 9 breaking changes in 1 version.
- From 0.80.0 to 20.0.0: 174 breaking changes in 29 versions.
github.com/realm/realm-swift 20.0.0 breaking changes
- Removed
Compatibility now requires Realm Studio 15.0.0 or later. github.com - Removed
All Atlas App Services and Atlas Device Sync functionality has been removed. Users of Atlas Device Sync should pin to v10. github.com - Removed
Map.asKeyValueSequence
Map.asKeyValueSequence() has been removed; iterate the Map directly instead. github.com - Behavior changed
AnyRealmValue
Strings and Data are now considered different types, so queries for one will not match the other. github.com - 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 - 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 - 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 - Configuration changed
The minimum supported version of Xcode is now 15.3. github.com - 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
github.com/realm/realm-swift 10.0.0 breaking changes
- Removed
RLMSyncManager.shared
The sync manager is now a property on the app instead of a shared singleton. github.com - Renamed
RLMSyncUser
SyncUser and RLMSyncUser are renamed to User and RLMUser. github.com - Behavior changed
Non-embedded objects in synced realms must use a primary key named _id. github.com
github.com/realm/realm-swift 10.0.0-rc.2 breaking changes
- Behavior changed
Schemas with cyclic embedded object links are now rejected. github.com - Behavior changed
Inserted document IDs are returned as BSON instead of ObjectId. github.com - Behavior changed
Primary key properties are marked as indexed again. github.com - Signature changed
Paired value and error completion handler parameters are replaced by a single Result parameter. github.com
github.com/realm/realm-swift 10.0.0-rc.1 breaking changes
- Signature changed
[RLMApp allUsers]
Access allUsers as a property instead of a method. github.com - Signature changed
[RLMApp currentUser]
Access currentUser as a property instead of a method. github.com - Signature changed
[RLMApp emailPasswordAuth]
Access emailPasswordAuth as a property instead of a method. github.com - Signature changed
[RLMUser allSessions]
Access allSessions as a property instead of a method. github.com - Signature changed
[RLMUser apiKeysAuth]
Access apiKeysAuth as a property instead of a method. github.com - Signature changed
[RLMUser emailPasswordAuth]
Access emailPasswordAuth as a property instead of a method. github.com - Signature changed
[RLMUser identities]
Access identities as a property instead of a method. github.com - Signature changed
RealmSwift.Credentials
Credentials is now an enum with case-specific constructors such as Credentials.google(serverAuthCode:). github.com
github.com/realm/realm-swift 10.0.0-beta.6 breaking changes
- Renamed
[RLMCredentials credentialsWithGoogleToken:]
Use credentialsWithGoogleAuthCode instead. github.com - Renamed
Credentials
Use googleAuthCode instead of googleToken. github.com - Renamed
Realm.Publishers
Use RealmPublishers instead. github.com
github.com/realm/realm-swift 10.0.0-beta.5 breaking changes
- Removed
RLMSyncManager.pinnedCertificatePaths
pinnedCertificatePaths is removed from the sync manager. github.com - Removed
RLMUserAccountInfo
The user account info classes are removed. github.com - Removed
RLMUserInfo
The user info classes are removed. github.com - Renamed
-[RLMCredentials credentialsWithUsername:password:]
Use the email-based constructor instead. github.com - Renamed
-[RLMEmailPasswordAuth registerEmail:password:completion:]
Use registerUserWithEmail instead. github.com - Renamed
App.emailPasswordAuth().registerEmail
Use registerUser instead. github.com - Renamed
Credentials
Use the email-based constructor instead. github.com - Renamed
RLMUser.identity
Use the new identifier property instead. github.com - Renamed
User.apiKeyAuth
Use the plural apiKeysAuth method. github.com - Renamed
User.identity
Use the new id property instead. github.com
Older versions
24 older versions, each with its first changes. Sign up to see every change
Show 24 older versions
github.com/realm/realm-swift 10.0.0-beta.3 breaking changes
- Renamed
RealmApp
Use App in place of RealmApp. github.com - Renamed
SyncUser
Use User in place of SyncUser. github.com
And 3 more in this version.
github.com/realm/realm-swift 10.0.0-beta.1 breaking changes
- Removed
Legacy Realm Cloud is no longer supported; move to the MongoDB Realm cloud instead. github.com - Removed
Path-based and object-level sync permissions are removed. github.com
And 5 more in this version.
github.com/realm/realm-swift 5.0.0 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 - 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
And 3 more in this version.
github.com/realm/realm-swift 4.0.0 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 - 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
And 12 more in this version.
github.com/realm/realm-swift 3.0.0 breaking changes
- Removed
-[NSError rlmSync_clientResetBlock]
NSError rlmSync_clientResetBlock removed in github.com/realm/realm-swift 3.0.0 github.com - Removed
-[NSError rlmSync_deleteRealmBlock]
NSError rlmSync_deleteRealmBlock removed in github.com/realm/realm-swift 3.0.0 github.com
And 54 more in this version.
github.com/realm/realm-swift 2.0.0 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 - 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
github.com/realm/realm-swift 0.103.0 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 - Removed
Support for Xcode 6.x and Swift versions before 2.2 has been completely removed. github.com
And 2 more in this version.
github.com/realm/realm-swift 0.101.0 breaking changes
- 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
github.com/realm/realm-swift 0.99.0 breaking changes
- Signature changed
-[RLMArray addNotificationBlock:]
The block passed to addNotificationBlock now takes another parameter. Update existing block signatures to match. github.com - Signature changed
-[RLMResults addNotificationBlock:]
The block passed to addNotificationBlock now takes another parameter. Update existing block signatures to match. github.com
github.com/realm/realm-swift 0.98.0 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 - 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
And 1 more in this version.
github.com/realm/realm-swift 0.97.0 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 - Behavior changed
Defining Object properties of an unsupported type now throws an exception. github.com
And 3 more in this version.
github.com/realm/realm-swift 0.96.0-beta 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 - Configuration changed
Users who install Realm or RealmSwift as pods must upgrade CocoaPods to version 0.38 or greater. github.com
And 1 more in this version.
github.com/realm/realm-swift 0.95.0 breaking changes
- Renamed
List.extend
Call List.appendContentsOf where List.extend was used. github.com - Behavior changed
Object properties on Object subclasses in Realm Swift must now be declared optional, otherwise a runtime exception is thrown. github.com
github.com/realm/realm-swift 0.92.0 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 - 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
github.com/realm/realm-swift 0.91.0 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 - Removed
RLMObject.attributesForProperty:
attributesForProperty: has been removed from RLMObject. Specify indexed properties by implementing the indexedProperties method instead. github.com
And 3 more in this version.
github.com/realm/realm-swift 0.90.0 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 - 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
github.com/realm/realm-swift 0.88.0 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 - 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
github.com/realm/realm-swift 0.87.0 breaking changes
- Renamed
addObjectsFromArray:
Call addObjects: on RLMRealm instead. addObjects: accepts any container class implementing NSFastEnumeration. github.com - Renamed
arraySortedByProperty:ascending:
Use sortedResultsUsingProperty:ascending instead of the old sorting method name. github.com
And 3 more in this version.
github.com/realm/realm-swift 0.86.0 breaking changes
- Removed
Xcode 5 is no longer supported. Build the main Realm.xcodeproj with Xcode 6 instead. github.com - 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
github.com/realm/realm-swift 0.85.0 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 - 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
And 1 more in this version.
github.com/realm/realm-swift 0.84.0 breaking changes
- 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
github.com/realm/realm-swift 0.83.0 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 - Behavior changed
RLMObject
Subclasses of RLMObject subclasses now throw an exception on startup rather than when added to a Realm. github.com
And 1 more in this version.
github.com/realm/realm-swift 0.82.0 breaking changes
- Removed
The Realm-Xcode6.xcodeproj project no longer builds with other Xcode versions. Use Xcode6-Beta4 to build it. github.com - 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
And 1 more in this version.
github.com/realm/realm-swift 0.80.0 breaking changes
- Renamed
-migrateDefaultRealmWithBlock:
Migration methods were renamed to -migrateDefaultRealmWithBlock: and -migrateRealmAtPath:withBlock:; update call sites to the new names. github.com - Renamed
-migrateRealmAtPath:withBlock:
Migration methods were renamed to -migrateDefaultRealmWithBlock: and -migrateRealmAtPath:withBlock:; update call sites to the new names. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.