Realm Xamarin v4.1.0 Release Notes

Release Date: 2019-08-06 // over 4 years ago
  • ๐Ÿ’ฅ Breaking Changes

    • โœ‚ Removed the isAdmin parameter from Credentials.Nickname. It doesn't have any effect on new ROS versions anyway as logging in an admin nickname user is not supported - this change just makes it explicit. (Issue #1879)
    • ๐Ÿšš Marked the Credentials.Nickname method as deprecated - support for the Nickname auth provider is deprecated in ROS and will be removed in a future version. (Issue #1879)
    • โœ‚ Removed the deleteRealm parameter from PermissionDeniedException.DeleteRealmInfo as passing false has no effect. Calling the method is now equivalent to calling it with deleteRealm: true. (PR #1890)

    โœจ Enhancements

    • โž• Added support for unicode characters in realm path and filenames for Windows. (Core upgrade)
    • โž• Added new credentials type: Credentials.CustomRefreshToken that can be used to create a user with a custom refresh token. This will then be validated by ROS against the configured refreshTokenValidators to obtain access tokens when opening a Realm. If creating a user like that, it's the developer's responsibility to ensure that the token is valid and refreshed as necessary to ensure that access tokens can be obtained. To that end, you can now set the refresh token of a user object by calling User.RefreshToken = "my-new-token". This should only be used in combination with users obtained by calling Credentials.CustomRefreshToken. (PR #1889)

    ๐Ÿ›  Fixed

    • ๐ŸŽ Constructing an IncludeDescriptor made unnecessary table comparisons. This resulted in poor performance when creating a query-based subscription (Subscription.Subscribe) with includedBacklinks. (Core upgrade)
    • โฌ†๏ธ Queries involving an indexed int column which were constrained by a LinkList with an order different from the table's order would give incorrect results. (Core upgrade)
    • โฌ†๏ธ Queries involving an indexed int column had a memory leak if run multiple times. (Core upgrade)

    Compatibility

    • Realm Object Server: 3.23.1 or later.

    Internal

    • โฌ†๏ธ Upgraded Sync from 4.5.1 to 4.7.0 and Core 5.20.0 to 5.23.1.