Realm Xamarin v4.1.0 Release Notes
Release Date: 2019-08-06 // over 4 years ago-
๐ฅ Breaking Changes
- โ Removed the
isAdmin
parameter fromCredentials.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 fromPermissionDeniedException.DeleteRealmInfo
as passingfalse
has no effect. Calling the method is now equivalent to calling it withdeleteRealm: 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 configuredrefreshTokenValidators
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 callingUser.RefreshToken = "my-new-token"
. This should only be used in combination with users obtained by callingCredentials.CustomRefreshToken
. (PR #1889)
๐ Fixed
- ๐ Constructing an IncludeDescriptor made unnecessary table comparisons. This resulted in poor performance when creating a query-based subscription (
Subscription.Subscribe
) withincludedBacklinks
. (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.
- โ Removed the