v0.4.0-preview
Pre-release
Pre-release
·
67 commits
to main
since this release
Fixed
- Primary keys could be changed after an object was inserted (since 0.1.0)
- Using a property type of vector of enums would cause a compilation error (since 0.1.0).
- Fixed a bug preventing SSL handshake from completing successfully due to failed hostname verification when linking against BoringSSL. (PR #7034)
Enhancements
- The Sync metadata Realm is now encrypted by default on Apple platforms unless the
REALM_DISABLE_METADATA_ENCRYPTION
environment variable is set.
To enable encryption on the metadata Realm on other platforms you must set an encryption key onrealm::App::configuration
.
std::array<char, 64> example_key = {...};
realm::App::configuration app_config;
app_config.app_id = ...
app_config.metadata_encryption_key = example_key;
auto encrypted_app = realm::App(app_config);
- Add ability to encrypt a Realm. Usage:
realm::config::set_encryption_key(const std::array<char, 64>&)
. - Add support for
std::set
in object models.
Breaking Changes
realm::App(const std::string &app_id, const std::optional<std::string> &base_url, const std::optional<std::string> &path, const std::optional<std::map<std::string, std::string>> &custom_http_headers)
has been deprecated.
userealm::App(const realm::App::configuration&);
instead.
Compatibility
- Fileformat: Generates files with format v23. Reads and automatically upgrade from fileformat v5.
Internals
- Upgraded to Core v13.23.1