RealmSwift 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: 7 breaking changes in 1 version.
- From 0.93.0 to 20.0.0: 147 breaking changes in 19 versions.
RealmSwift 20.0.0 breaking changes
- Removed
Map.asKeyValueSequence
The method .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
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 - 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 - Configuration changed
The minimum supported version of Xcode is now 15.3. github.com - 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 - Signature changed
Map
Iterating a Map now produces the tuple (key: KeyType, value: ValueType) instead of a struct, aligning it with Dictionary. github.com
RealmSwift 10.0.0 breaking changes
- Removed
RLMSyncManager.shared
The shared sync manager is removed and is now a property on the app. github.com - Renamed
RLMSyncUser
Use RLMUser and User in place of the sync user classes. github.com - Renamed
SyncUser
Use User in place of SyncUser. github.com - Behavior changed
Non-embedded objects in synchronized Realms must use a primary key named _id. github.com - Signature changed
Failable async callbacks receive one Result parameter instead of separate value and error parameters. github.com
RealmSwift 10.0.0-rc.2 breaking changes
- Behavior changed
Inserted document IDs are now returned as BSON rather than ObjectId. github.com - Behavior changed
Embedded object types that link in a cycle are now rejected at the schema level. github.com - Behavior changed
Primary key properties are once again marked as indexed. github.com - Signature changed
Paired return types from Swift completion handlers are now a Result value. github.com - Signature changed
RealmSwift.Object
Subclass initializers of Object may need an added override keyword for Library Evolution. github.com
RealmSwift 10.0.0-rc.1 breaking changes
- Signature changed
[RLMApp allUsers]
Access allUsers as a property instead of calling a method. github.com - Signature changed
[RLMApp currentUser]
Access currentUser as a property instead of calling a method. github.com - Signature changed
[RLMApp emailPasswordAuth]
Access emailPasswordAuth as a property instead of calling a method. github.com - Signature changed
[RLMUser allSessions]
Access allSessions as a property instead of calling a method. github.com - Signature changed
[RLMUser apiKeysAuth]
Access apiKeysAuth as a property instead of calling a method. github.com - Signature changed
[RLMUser emailPasswordAuth]
Access emailPasswordAuth as a property instead of calling a method. github.com - Signature changed
[RLMUser identities]
Access identities as a property instead of calling a method. github.com - Signature changed
RealmSwift.Credentials
Credentials is now an enum; construct it with cases such as Credentials.google. github.com - Signature changed
RLMUser.customData
The customData property no longer has a nullable annotation. github.com - Signature changed
RLMUser.identifier
The identifier property no longer has a nullable annotation. github.com
RealmSwift 10.0.0-beta.6 breaking changes
- Renamed
Realm.Publishers
Use RealmPublishers in place of Realm.Publishers. github.com - Signature changed
[RLMCredentials credentialsWithGoogleToken:]
Use credentialsWithGoogleAuthCode in place of credentialsWithGoogleToken. github.com - Signature changed
Credentials
Use the googleAuthCode parameter in place of googleToken. github.com
RealmSwift 10.0.0-beta.5 breaking changes
- Removed
RLMSyncManager.pinnedCertificatePaths
The pinnedCertificatePaths property has been removed. github.com - Removed
RLMSyncManager.shared
The shared sync manager is removed and is now a property on the app. github.com - Removed
RLMUserAccountInfo
The user info classes have been removed. github.com - Removed
RLMUserInfo
The user info classes have been removed. github.com - Renamed
-[RLMCredentials credentialsWithUsername:password:]
Use the email-based credential constructor instead. github.com - Renamed
-[RLMEmailPasswordAuth registerEmail:password:completion:]
Use the registerUserWithEmail method instead. github.com - Renamed
App.emailPasswordAuth().registerEmail
Use registerUser in Swift instead. github.com - Renamed
Credentials
Use the email-based initializer instead. github.com - Renamed
RLMUser.identity
Use the new identifier name in place of the old identity name. github.com - Renamed
User.apiKeyAuth
Use apiKeysAuth in Swift instead. github.com
And 1 more in this version. Sign up to see every change
Older versions
14 older versions, each with its first changes. Sign up to see every change
Show 14 older versions
RealmSwift 10.0.0-beta.3 breaking changes
- Renamed
[RLMApp callFunctionNamed:]
Call functions through the User object instead of the App. github.com - Renamed
[RLMApp logOut:]
Log out through the User object instead of the App. github.com
And 3 more in this version.
RealmSwift 10.0.0-beta.1 breaking changes
- Removed
Realm Object Server is no longer supported. github.com - Removed
Path-based and object-level sync permissions are removed. github.com
And 5 more in this version.
RealmSwift 5.0.0 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 - 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
And 3 more in this version.
RealmSwift 4.0.0 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 - 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
And 12 more in this version.
RealmSwift 3.0.0 breaking changes
- Removed
iOS 7 is no longer supported, so apps must target a newer iOS version. github.com - Removed
-[NSError rlmSync_clientResetBlock]
Use the error action token instead. github.com
And 52 more in this version.
RealmSwift 2.0.0 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 - 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
And 1 more in this version.
RealmSwift 0.103.0 breaking changes
- Removed
Building with Xcode 6.x is no longer supported; use a newer Xcode version. github.com - 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
And 2 more in this version.
RealmSwift 0.101.0 breaking changes
- 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
RealmSwift 0.99.0 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 - Signature changed
-[RLMResults addNotificationBlock:]
The block passed to addNotificationBlock now receives another parameter, so existing blocks must be updated to accept it. github.com
RealmSwift 0.98.0 breaking changes
- Removed
Code built with Swift 1.2 can no longer use this release. Move to a newer Swift version. github.com - Behavior changed
Realm.init
Opening a realm by path now uses the default configuration. Check code that relied on the previous settings. github.com
RealmSwift 0.97.0 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 - 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
And 2 more in this version.
RealmSwift 0.96.0-beta 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 - Configuration changed
Installing Realm and RealmSwift as pods now requires CocoaPods v0.38 or greater. Upgrade CocoaPods before updating the pods. github.com
And 1 more in this version.
RealmSwift 0.95.0 breaking changes
- Renamed
List.extend
List.extend has been replaced with List.appendContentsOf. Update calls to use the new name. github.com - 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
RealmSwift 0.93.0 breaking changes
- 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
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.