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 of getFilesDir()/. 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. Added get(String) and remove(String), removed remove() and renamed get() to getCurrent().
    • ๐Ÿ’ฅ Breaking change: Changed the order of arguments to SyncCredentials.custom() to match iOS: token, provider, userInfo.
    • โž• Added support for PermissionOffer and PermissionOfferResponse to SyncUser.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.