Realm v3.2.0 Release Notes
Release Date: 2018-03-15 // about 6 years ago-
๐ Realm Object Server v3.0.0 or newer is required when using synchronized Realms.
โจ Enhancements
- โ Added an improved API for adding subscriptions in partially-synchronized Realms.
Results.subscribe()
can be used to subscribe to any result set, and the returnedSyncSubscription
object can be used to observe the state of the subscription and ultimately to remove the subscription. See the documentation for more information (https://docs.realm.io/platform/v/3.x/using-synced-realms/syncing-data). - โ Added a fine-grained permissions system for use with partially-synchronized Realms. This allows permissions to be defined at the level of individual objects or classes. See the documentation for more information (https://docs.realm.io/platform/v/3.x/using-synced-realms/access-control).
- โ Added
SyncConfiguration.automatic()
andSyncConfiguration.automatic(user:)
. These methods return aRealm.Configuration
appropriate for syncing with the default synced Realm for the current (or specified) user. These should be considered the preferred methods for accessing synced Realms going forwards. - โ Added
+[RLMSyncSession sessionForRealm:]
to retrieve the sync session corresponding to aRLMRealm
.
๐ Bugfixes
- ๐ Fix incorrect initalization of
RLMSyncManager
that made it impossible to seterrorHandler
. - ๐ Fix compiler warnings when building with Xcode 9.3.
- ๐ Fix some warnings when running with UBsan.
- โ Added an improved API for adding subscriptions in partially-synchronized Realms.