realm-kotlin
realm-kotlin copied to clipboard
Update to Core 12.5.0
Fixes #867
Updated to Core 12.5.0 and fixed the following breaking changes
- Queries now receive a
realm_query_arg_tinstead of arealm_value_t- see https://github.com/realm/realm-core/issues/4266 for more details. - Anonymous logins now have the option of not reusing the same anonymous user - I've implemented it the same way .NET did, see https://github.com/realm/realm-dotnet/blob/d5b334a1fe5f5d5be1139e2e7f28558e2ebe417d/Realm/Realm/Sync/Credentials.cs#L99 - thoughts @cmelchior?
realm_convert_with_confignow receives a boolean that triggers copying over all objects present in the realm specified by the provided configuration, though we default it tofalseto avoid copying things - thoughs @cmelchior?- Added new recovery modes for client reset (though they are not used yet, they will be added when adding automatic reset with recovery).
onBeforeandonAfterclient reset callbacks now return a boolean to allow routing errors throughonErrorin Kotlin Native. As a consequence of thisSyncClientResetIntegrationJVMTests.ktwas no longer needed and was removed.- Sync-related download and upload completion blocks have been unified under
realm_sync_wait_for_completion_func_t.
TODO:
- [ ] update changelog
- [ ] missing tests for new anonymous login without
reuseExistinguser