Realm breaking changes
Updated December 4, 2026
On this page
Latest version 20.0.6, released September 27, 2026. Source repository
- From 10.0.0 to 20.0.0: 10 breaking changes in 1 version.
- From 0.80.0 to 20.0.0: 162 breaking changes in 34 versions.
Realm 20.0.0 breaking changes
- Removed
The minimum supported Xcode is now 15.3, so projects on older Xcode must upgrade before building this release. github.com - Removed
Atlas Device Sync code no longer works in this release. Users of Atlas Device Sync should pin to v10. github.com - Removed
Map.asKeyValueSequence
Iterate the Map directly, since it now yields key-value tuples like Dictionary. github.com - Removed
Realm
Use try await Realm.open() instead; the actor is now inferred and should not be passed in. github.com - Behavior changed
Strings and Data are now distinct types in AnyRealmValue queries, so a query for one will not match the other. github.com - Behavior changed
@ThreadSafe
In Swift 6 mode, @ThreadSafe works only on class properties and as a manual wrapper locally. github.com - Behavior changed
Map
Iteration over Map produces (key: KeyType, value: ValueType) tuples rather than the previous struct, which changes code that accesses its fields. github.com - Behavior changed
obj.observe
Passing an empty array for keyPaths no longer behaves like nil; only deletion or collection-level changes are reported. github.com - Behavior changed
Realm
Realm instances are returned retained in both debug and release builds, so code that calls methods on a temporary Realm without keeping a reference will now break. github.com - Signature changed
Decimal128
The initializer no longer throws, so callers that catch its errors will need to be updated. github.com
Realm 10.0.0 breaking changes
- Removed
RLMSyncManager.pinnedCertificatePaths
pinnedCertificatePaths has been removed. github.com - Removed
RLMSyncManager.shared
[RLMSyncManager shared] is removed; sync manager is now a property on App/RLMApp. github.com - Removed
RLMSyncUser
RLMSyncUser and SyncUser are renamed to RLMUser and User. github.com - Removed
RLMUserAccountInfo
RLMUserAccountInfo and RLMUserInfo are removed. github.com - Behavior changed
Realm file format
Realm files are automatically upgraded and cannot be read by versions older than v10.0.0. github.com
Realm 10.0.0-rc.2 breaking changes
- Behavior changed
RLMUser.completion handlers
Paired return types from Swift completion handlers are changed to Result<Value, Error>. github.com - Signature changed
RealmSwift.Object
Object definition changed for Library Evolution; initializers of object subclasses may need override. github.com
Realm 10.0.0-rc.1 breaking changes
- Signature changed
Credentials
RealmSwift.Credentials is now an enum; initializers like Credentials(googleAuthCode:) change to static constructors. github.com - Signature changed
RLMApp.allUsers
allUsers, currentUser and emailPasswordAuth are now properties instead of methods. github.com - Signature changed
RLMUser.emailPasswordAuth
emailPasswordAuth, identities, allSessions and apiKeysAuth are now properties instead of methods. github.com
Realm 10.0.0-beta.6 breaking changes
- Renamed
[RLMCredentials credentialsWithGoogleToken:]
credentialsWithGoogleToken: is renamed to credentialsWithGoogleAuthCode:. github.com - Renamed
Credentials
Credentials(googleToken:) is renamed to Credentials(googleAuthCode:). github.com - Renamed
Realm.Publishers
Realm.Publishers is renamed to RealmPublishers. github.com
Realm 10.0.0-beta.5 breaking changes
- Removed
RLMSyncManager.pinnedCertificatePaths
pinnedCertificatePaths has been removed from RLMSyncManager. github.com - Removed
RLMSyncManager.shared
[RLMSyncManager shared] is removed; the sync manager is now a property on the app. github.com - Removed
RLMUserAccountInfo
RLMUserAccountInfo and RLMUserInfo (UserInfo, UserAccountInfo in Swift) are removed. github.com - Renamed
-[RLMCredentials credentialsWithUsername:password:]
The username/password credential constructor is renamed to use email. github.com - Renamed
-[RLMEmailPasswordAuth registerEmail:password:completion:]
The registerEmail method is renamed to registerUserWithEmail. github.com - Renamed
App.emailPasswordAuth().registerEmail
registerEmail(email:password:) is renamed to registerUser(email:password:). github.com - Renamed
Credentials
Credentials(username:password:) is renamed to Credentials(email:password:). github.com - Renamed
RLMUser.identity
RLMUser.identity is renamed to RLMUser.identifier. github.com - Renamed
User.apiKeyAuth
User.apiKeyAuth() is renamed to User.apiKeysAuth(). github.com - Renamed
User.identity
User.identity is renamed to User.id. github.com
Older versions
29 older versions, each with its first changes. Sign up to see every change
Show 29 older versions
Realm 10.0.0-beta.3 breaking changes
- Removed
[RLMApp logOut:]
logOut, removeUser and linkUser move from RLMApp to RLMUser. github.com - Renamed
[RLMApp callFunctionNamed:]
callFunctionNamed and mongoClientWithServiceName move from RLMApp to RLMUser. github.com
And 2 more in this version.
Realm 10.0.0-beta.1 breaking changes
- Removed
Realm Object Server
Realm Object Server is no longer supported; sync must target MongoDB Realm instead. github.com - Removed
RLMSyncSubscription
RLMSyncSubscription is removed along with query-based sync. github.com
And 4 more in this version.
Realm 5.0.0 breaking changes
- Removed
Realm files containing Any properties can no longer be opened. This property type was undocumented and deprecated in 1.0, so users must migrate that stored data. github.com - Removed
Realm files containing Date properties written by versions of Realm before 1.0 can no longer be opened. Users must migrate that stored data. github.com
And 4 more in this version.
Realm 4.0.0 breaking changes
- Removed
All functionality deprecated in earlier releases has been removed entirely, so code using it must be updated. github.com - Behavior changed
Some invalid class definitions that previously worked by coincidence may no longer work. github.com
And 12 more in this version.
Realm 3.0.0-rc.1 breaking changes
- Removed
RLMSyncPermissionOffer
Use the createOfferForRealmAtURL method on RLMSyncUser instead. github.com - Removed
RLMSyncPermissionOfferResponse
Use the acceptOfferForToken method on RLMSyncUser instead. github.com
And 1 more in this version.
Realm 3.0.0-beta.4 breaking changes
- Removed
RLMPropertyTypeArray
Use the array property on RLMProperty instead. github.com - Removed
RLMSyncPermissionResults
Permissions are now returned as RLMResults. github.com
And 6 more in this version.
Realm 3.0.0-beta.3 breaking changes
- Removed
Apps targeting iOS 7 are no longer supported by this release. github.com - Removed
-[NSError rlmSync_clientResetBlock]
Use the action token from the error instead. github.com
And 21 more in this version.
Realm 3.0.0-beta.2 breaking changes
- Removed
-[RLMArray sortedResultsUsingProperty:ascending:]
Deprecated property-name sorting methods were removed in favor of key path APIs; update callers to use key paths. github.com - Removed
-[RLMCollection sortedResultsUsingProperty:ascending:]
Deprecated property-name sorting methods were removed in favor of key path APIs; update callers to use key paths. github.com
And 11 more in this version.
Realm 3.0.0-beta breaking changes
- Behavior changed
Synchronized Realms need Realm Object Server v2.0 or later; older servers are no longer usable for sync. github.com
Realm 2.0.0 breaking changes
- Removed
RealmSwift.Error
RealmSwift.Error has been moved from the top-level namespace into a Realm extension and is now Realm.Error; update references to use Realm.Error. github.com - Behavior changed
Files written by Realm 2.0 cannot be read by 1.x or earlier versions, though old files can still be opened by 2.0. github.com
Realm 0.103.0 breaking changes
- Removed
Support for Xcode 6.x and Swift versions before 2.2 has been removed, so projects using them can no longer build with this release. github.com - Removed
Everything deprecated in earlier releases has been removed entirely, so code using those deprecated APIs must be updated. github.com
And 2 more in this version.
Realm 0.101.0 breaking changes
- Behavior changed
Files written by this version cannot be opened by older Realm versions. Existing files are upgraded automatically when opened, so older versions must not be used with those files. github.com
Realm 0.99.0 breaking changes
- Signature changed
-[RLMArray addNotificationBlock:]
The block passed to addNotificationBlock now takes another parameter, so existing blocks must be updated to accept it. github.com - Signature changed
-[RLMResults addNotificationBlock:]
The block passed to addNotificationBlock now takes another parameter, so existing blocks must be updated to accept it. github.com
Realm 0.98.0 breaking changes
- Removed
Swift 1.2 is no longer supported. Projects still building with Swift 1.2 must upgrade their toolchain. github.com - Behavior changed
+[RLMRealm realmWithPath:]
Opening a realm by path now inherits settings from the default configuration. Check code that relied on the previous behavior. github.com
And 1 more in this version.
Realm 0.97.0 breaking changes
- Removed
Everything deprecated in previous releases has been removed entirely, so code still calling those deprecated APIs will no longer compile or work and must be updated. github.com - Behavior changed
An exception is now thrown when an Object property has an unsupported type, so models with such properties must be changed to supported types. github.com
And 2 more in this version.
Realm 0.96.0-beta breaking changes
- Behavior changed
Realm and RealmSwift can only be installed as pods with CocoaPods v0.38 or greater. Upgrade CocoaPods before installing. github.com - Behavior changed
Files created with 0.96.0 can no longer be read by earlier Realm versions. Older app builds sharing these files will fail to open them. github.com
And 1 more in this version.
Realm 0.95.0 breaking changes
- Renamed
List.extend
Use List.appendContentsOf in place of List.extend. github.com - Behavior changed
Object
Object properties on Object subclasses must be marked optional, or a runtime exception is thrown. github.com
Realm 0.94.0 breaking changes
- Behavior changed
In-memory Realms no longer write files to the Documents directory on iOS or Application Support on OS X. Code that reads those files must change. github.com
Realm 0.92.0 breaking changes
- Behavior changed
Swift Int8 properties are now stored and read as integers rather than booleans. Code relying on the boolean treatment must be updated. github.com - Behavior changed
Migration blocks are no longer called when a Realm file is first created. Code that relies on the migration block running on new files must be changed. github.com
Realm 0.91.0 breaking changes
- Removed
Models that declare object or array properties of type RLMObject must change those properties, since they are no longer supported. github.com - Removed
RLMObject.attributesForProperty:
Indexed properties are now specified by implementing the indexedProperties method instead of attributesForProperty:. github.com
And 4 more in this version.
Realm 0.90.0 breaking changes
- Renamed
-[RLMRealm encryptedRealmWithPath:key:readOnly:error:]
The encrypted Realm opening method was renamed. Call the new method name instead. github.com - Behavior changed
-[RLMRealm setSchemaVersion:withMigrationBlock]
The schema version and migration block now apply per Realm path, so each Realm path must be set separately. Use the default-Realm method for the default Realm and the path-specific method for others. github.com
And 1 more in this version.
Realm 0.88.0 breaking changes
- Renamed
-[RLMObject isDeletedFromRealm]
Replace calls to isDeletedFromRealm with isInvalidated. github.com - Behavior changed
RLMRealm
A Realm deallocated during a write transaction without an explicit commit or cancel is now cancelled rather than committed. Call commit explicitly if you rely on the old behavior. github.com
Realm 0.87.0 breaking changes
- Renamed
addObjectsFromArray:
Calls to addObjectsFromArray: on RLMRealm and RLMArray must use addObjects:, which now accepts any NSFastEnumeration container. github.com - Renamed
arraySortedByProperty:ascending:
Calls to arraySortedByProperty:ascending: must use sortedResultsUsingProperty:ascending instead. github.com
And 2 more in this version.
Realm 0.86.0 breaking changes
- Removed
Xcode 5 is no longer supported. Build the main Realm.xcodeproj project with Xcode 6. github.com - Behavior changed
Adding an already persisted RLMObject to a different Realm now throws an exception instead of creating an uninitialized object. Code that relied on the old behavior must change. github.com
And 1 more in this version.
Realm 0.85.0 breaking changes
- Behavior changed
Realm change notifications sent when beginning a write transaction now arrive after the update rather than before it, matching refresh. github.com - Behavior changed
RLMObject.isEqual:
RLMObject isEqual: now uses the default NSObject implementation unless a primary key is specified. Objects with a primary key compare through isEqualToObject:. github.com
And 1 more in this version.
Realm 0.84.0 breaking changes
- Removed
Notifications are now only triggered by commits made in other threads, not by changes from other processes. Interprocess notifications will return in a future release. github.com
Realm 0.83.0 breaking changes
- Behavior changed
Properties persisted in Swift classes must now be explicitly marked dynamic, so existing Swift model properties need that modifier. github.com - Behavior changed
Subclasses of RLMObject subclasses now throw an exception on startup instead of when they are added to a Realm, so such classes must be fixed before launch. github.com
And 1 more in this version.
Realm 0.82.0 breaking changes
- Default changed
The default Realm file on OS X moved from ~/Documents to ~/Library/Application Support/[bundle identifier]/default.realm. Code that relies on the old path must update it. github.com - Configuration changed
The Realm-Xcode6 project no longer builds with other Xcode 6 betas. Build it with Xcode6-Beta4. github.com
Realm 0.80.0 breaking changes
- Renamed
The migration methods were renamed to -migrateDefaultRealmWithBlock: and -migrateRealmAtPath:withBlock:. Update calls to the new names. github.com - Renamed
-allObjects:
Realm-specific query methods moved from RLMRealm instance methods to class methods on RLMObject, for example -allObjects: became +allObjectsInRealm:. Update calls to the new methods. 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.