Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDART-989: Update realm-core to v14.4.1 #1603

Merged
merged 3 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
## 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

### 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)

Expand Down
21 changes: 17 additions & 4 deletions packages/realm_dart/lib/src/native/realm_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,17 @@ class RealmLibrary {
_realm_app_get_current_userPtr.asFunction<
ffi.Pointer<realm_user_t> Function(ffi.Pointer<realm_app_t>)>();

ffi.Pointer<ffi.Char> realm_app_get_default_base_url() {
return _realm_app_get_default_base_url();
}

late final _realm_app_get_default_base_urlPtr =
_lookup<ffi.NativeFunction<ffi.Pointer<ffi.Char> Function()>>(
'realm_app_get_default_base_url');
late final _realm_app_get_default_base_url =
_realm_app_get_default_base_urlPtr
.asFunction<ffi.Pointer<ffi.Char> 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
Expand Down Expand Up @@ -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<realm_async_open_task_init_subscription_func_tFunction>>;
typedef realm_async_open_task_init_subscription_func_tFunction = ffi.Void
Function(ffi.Pointer<realm_t> realm, ffi.Pointer<ffi.Void> userdata);
typedef Dartrealm_async_open_task_init_subscription_func_tFunction = void
Function(ffi.Pointer<realm_t> realm, ffi.Pointer<ffi.Void> userdata);
typedef realm_async_open_task_init_subscription_func_tFunction
= ffi.Void Function(ffi.Pointer<realm_thread_safe_reference_t> realm,
ffi.Pointer<ffi.Void> userdata);
typedef Dartrealm_async_open_task_init_subscription_func_tFunction
= void Function(ffi.Pointer<realm_thread_safe_reference_t> realm,
ffi.Pointer<ffi.Void> userdata);

final class realm_async_open_task_progress_notification_token
extends ffi.Opaque {}
Expand Down
Loading