From d0014489b385bf7025575e470e67910cadc265a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Fri, 22 Mar 2024 11:04:25 +0100 Subject: [PATCH 1/3] Update realm-core to v14.4.1 --- .../lib/src/native/realm_bindings.dart | 21 +++++++++++++++---- packages/realm_dart/src/realm-core | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/packages/realm_dart/lib/src/native/realm_bindings.dart b/packages/realm_dart/lib/src/native/realm_bindings.dart index 55b29cdc8..71f036ac1 100644 --- a/packages/realm_dart/lib/src/native/realm_bindings.dart +++ b/packages/realm_dart/lib/src/native/realm_bindings.dart @@ -1082,6 +1082,17 @@ class RealmLibrary { _realm_app_get_current_userPtr.asFunction< ffi.Pointer Function(ffi.Pointer)>(); + ffi.Pointer realm_app_get_default_base_url() { + return _realm_app_get_default_base_url(); + } + + late final _realm_app_get_default_base_urlPtr = + _lookup Function()>>( + 'realm_app_get_default_base_url'); + late final _realm_app_get_default_base_url = + _realm_app_get_default_base_urlPtr + .asFunction Function()>(); + /// Links the currently authenticated user with a new identity, where the identity is defined by the credentia /// specified as a parameter. /// @param app ptr to realm_app @@ -12018,10 +12029,12 @@ typedef Dartrealm_async_open_task_completion_func_tFunction = void Function( /// callback runs. typedef realm_async_open_task_init_subscription_func_t = ffi.Pointer< ffi.NativeFunction>; -typedef realm_async_open_task_init_subscription_func_tFunction = ffi.Void - Function(ffi.Pointer realm, ffi.Pointer userdata); -typedef Dartrealm_async_open_task_init_subscription_func_tFunction = void - Function(ffi.Pointer realm, ffi.Pointer userdata); +typedef realm_async_open_task_init_subscription_func_tFunction + = ffi.Void Function(ffi.Pointer realm, + ffi.Pointer userdata); +typedef Dartrealm_async_open_task_init_subscription_func_tFunction + = void Function(ffi.Pointer realm, + ffi.Pointer userdata); final class realm_async_open_task_progress_notification_token extends ffi.Opaque {} diff --git a/packages/realm_dart/src/realm-core b/packages/realm_dart/src/realm-core index b645fb75b..374dd672a 160000 --- a/packages/realm_dart/src/realm-core +++ b/packages/realm_dart/src/realm-core @@ -1 +1 @@ -Subproject commit b645fb75b8a9e870e8a85a216c92863717646266 +Subproject commit 374dd672af357732dccc135fecc905406fec3223 From bba6a6ffa733ab7a2e902ccc029fa7c2d1f2ec72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Fri, 22 Mar 2024 15:02:04 +0100 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08fbf1c2a..b7bbf5bce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,18 @@ ## vNext (TBD) ### Enhancements -* None +* Improve file compaction performance on platforms with page sizes greater than 4k (for example arm64 Apple platforms) for files less than 256 pages in size (Core 14.4.0). ### Fixed -* None +* Modifying nested collections left the accessor used to make the modification in a stale state, resulting in some unneccesary work being done when making multiple modifications via one accessor (Core 14.4.0). +* Fix opening realm with cached user while offline results in fatal error and session does not retry connection. (Core 14.4.0) +* Fix disallow Sets in ArrayMixed. (Core 14.4.0) ### Compatibility * Realm Studio: 13.0.0 or later. ### Internal -* Using Core x.y.z. +* Using Core 14.4.1. ## 2.0.0 (2024-03-20) From d46d245e8d4e6e7beb8faee1b602540bb1a613b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Fri, 22 Mar 2024 16:01:03 +0100 Subject: [PATCH 3/3] Address PR feedback --- CHANGELOG.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7bbf5bce..cd0dda54d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,6 @@ * Improve file compaction performance on platforms with page sizes greater than 4k (for example arm64 Apple platforms) for files less than 256 pages in size (Core 14.4.0). ### Fixed -* Modifying nested collections left the accessor used to make the modification in a stale state, resulting in some unneccesary work being done when making multiple modifications via one accessor (Core 14.4.0). -* Fix opening realm with cached user while offline results in fatal error and session does not retry connection. (Core 14.4.0) -* Fix disallow Sets in ArrayMixed. (Core 14.4.0) ### Compatibility * Realm Studio: 13.0.0 or later.