Realm v2.3.0 Release Notes
Release Date: 2017-01-19 // about 7 years ago-
Object Server API Changes
- ๐ Realm Sync v1.0.0 has been released, and Realm Mobile Platform is no longer considered in beta.
- ๐ฅ Breaking change: Location of Realm files are now placed in
getFilesDir()/<userIdentifier>
instead ofgetFilesDir()/
. This is done in order to support shared Realms among users, while each user retaining their own local copy. - ๐ฅ Breaking change:
SyncUser.all()
now returns Map instead of List. - ๐ฅ Breaking change: Added a default
UserStore
saving users in a Realm file (RealmFileUserStore
). - ๐ฅ Breaking change: Added multi-user support to
UserStore
. Addedget(String)
andremove(String)
, removedremove()
and renamedget()
togetCurrent()
. - ๐ฅ Breaking change: Changed the order of arguments to
SyncCredentials.custom()
to match iOS: token, provider, userInfo. - โ Added support for
PermissionOffer
andPermissionOfferResponse
toSyncUser.getManagementRealm()
. - Exceptions thrown in error handlers are ignored but logged (#3559).
- โ Removed unused public constants in
SyncConfiguration
(#4047). - ๐ Fixed bug, preventing Sync client to renew the access token (#4038) (#4039).
- ๐ Now
SyncUser.logout()
properly revokes tokens (#3639).
๐ Bug fixes
- ๐ Fixed native memory leak setting the value of a primary key (#3993).
- โ Activated Realm's annotation processor on connectedTest when the project is using kapt (#4008).
- ๐ Fixed "too many open files" issue (#4002).
- โ Added temporary work-around for bug crashing Samsung Tab 3 devices on startup (#3651).
โจ Enhancements
- โ Added
like
predicate for String fields (#3752).
Internal
- โก๏ธ Updated to Realm Sync v1.0.0.
- โ Added a Realm backup when receiving a Sync client reset message from the server.