Skip to content

v2.1.0

Compare
Choose a tag to compare
@leemaguire leemaguire released this 27 Jun 13:37
· 9 commits to main since this release
ae469c1

Fixed

  • Fixed a compilation issue seen in MSVC 19.40.33811 due to usage of std::apply.

Enhancements

  • Add realm::default_scheduler::set_default_factory(std::function<std::shared_ptr<realm::scheduler>()>&& factory_fn) for generating a default scheduler.
    Set your scheduler factory before instantiating a realm::db_config.
  • Add realm::default_scheduler::make_default() which generates a platform default scheduler if realm::default_scheduler::set_default_factory is not set.
  • Add managed<T>::to_json(std::ostream&) which allows managed objects to be printed as json.
  • Add rbool::truepredicate() and rbool::falsepredicate() expressions for type safe queries.
  • Add ability to build the Realm C++ SDK without stack allocated bridging types. Use the CMake flag -DREALM_DISABLE_ALIGNED_STORAGE=1 to disable.

Compatibility

  • Fileformat: Generates files with format v24. Reads and automatically upgrade from fileformat v10.

Internals

  • None