v0.5.0-preview
Pre-release
Pre-release
leemaguire
released this
27 Nov 14:45
·
61 commits
to main
since this release
Enhancements
- Add support for Frozen Realm / Objects. An object can be made frozen by calling the
freeze()
method on the instance.
Subsequently, if you can make a frozen Realm / Object live again by callingthaw()
.
It is not recommended to have too many long-lived frozen Realm's / Objects in your application as it may balloon memory consumption. - Add ability to sort
experimental::results
/managed<std::vector<T>>
. - Add support for HTTP tunneling. Usage:
realm::proxy_config proxy_config;
proxy_config.type = realm::proxy_config_type::HTTP;
proxy_config.port = 8080;
proxy_config.address = "127.0.0.1";
proxy_config.username_password = {"username", "password"};
realm::App::configuration app_config;
app_config.proxy_configuration = proxy_config;
auto app = realm::App(app_config);
auto user = app.get_current_user();
auto sync_config = user->flexible_sync_configuration();
sync_config.set_proxy_config(proxy_config);
auto synced_realm = experimental::db(sync_config);
Compatibility
- Fileformat: Generates files with format v23. Reads and automatically upgrade from fileformat v5.
Internals
- Upgraded to Core v13.23.4