Skip to content

v1.0.0 GA Release

Compare
Choose a tag to compare
@leemaguire leemaguire released this 08 Jan 18:16
· 47 commits to main since this release
43a6881

Fixed

  • When observing results<> the notifications would not fire after the results<> instance left the scope.
  • Platform-agnostic network transport would pass the incorrect port value when using a proxy configuration.

Enhancements

  • Add the following methods for control over the sync session state:
    • realm::sync_session::pause()
    • realm::sync_session::resume()
    • realm::sync_session::reconnect()
    • realm::sync_session::state()
    • realm::sync_session::connection_state()
    • realm::sync_session::observe_connection_change(std::function<void(enum connection_state old_state, enum connection_state new_state)>&& callback)
    • realm::sync_session::unregister_connection_change_observer(uint64_t token)
  • Add support for the following client reset modes:
    • realm::client_reset::manual()
    • realm::client_reset::discard_unsynced_changes(std::function<void(experimental::db local)> before, std::function<void(experimental::db local, experimental::db remote)> after)
    • realm::client_reset::recover_unsynced_changes(std::function<void(experimental::db local)> before, std::function<void(experimental::db local, experimental::db remote)> after)
    • realm::client_reset::recover_or_discard_unsynced_changes(std::function<void(experimental::db local)> before, std::function<void(experimental::db local, experimental::db remote)> after)
  • Add realm::db::close() for closing an open Realm.
  • Add realm::db::is_closed() for checking if a Realm is closed.
  • Add support for manual compaction via realm::db_config::should_compact_on_launch(std::function<bool(uint64_t total_bytes, uint64_t unused_bytes)>&&).

Breaking Changes

  • The experimental namespace has been removed and all types under it have been elevated to the realm namespace.
  • The Realm C++ 'Alpha' SDK has been removed.

Compatibility

  • Fileformat: Generates files with format v23. Reads and automatically upgrade from fileformat v5.

Internals

  • Upgraded to Core v13.25.1