mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-04 10:43:29 +00:00
Merge branch 'master' of github.com:realm/realm-js into 2.3.x
This commit is contained in:
commit
217ca17b9a
35
CHANGELOG.md
35
CHANGELOG.md
@ -15,14 +15,43 @@
|
||||
- Any number of sort/distinct conditions can be indicated, they will be applied in the specified order.
|
||||
- Sort or distinct cannot operate independently, these conditions must be attached to at least one query filter.
|
||||
|
||||
### Bug fixes
|
||||
* None.
|
||||
|
||||
### Internal
|
||||
* Updated to Realm Core 5.2.0.
|
||||
* Updated to Realm Sync 3.0.0-beta.3.
|
||||
* Tested against Realm Object Server 3.0.0-alpha.2.
|
||||
|
||||
2.2.8 Release notes (2018-2-13)
|
||||
=============================================================
|
||||
### Breaking changes
|
||||
* None.
|
||||
|
||||
### Enhancements
|
||||
* [Object Server] For OpenSSL, the sync client includes a fixed list of certificates in its SSL certificate verification besides the default trust store in the case where the user is not specifying its own trust certificates or callback.
|
||||
|
||||
### Bug fixes
|
||||
* None.
|
||||
|
||||
### Internal
|
||||
* Updated to Realm Sync 2.2.10.
|
||||
|
||||
|
||||
2.2.7 Release notes (2018-2-6)
|
||||
=============================================================
|
||||
### Breaking changes
|
||||
* None.
|
||||
|
||||
### Enhancements
|
||||
* [Object Server] Wait for pending notifications to complete when removing a sync listener (#1648).
|
||||
* Add schema name to missing primary key error message
|
||||
|
||||
### Bug fixes
|
||||
* [Object Server] Fixed a bug causing use-after-free crashes in Global Notifier (realm-js-private #405).
|
||||
|
||||
### Internal
|
||||
* None.
|
||||
|
||||
>>>>>>> 1ad557b47fa03b4085b8fb5c682598a36d79b966
|
||||
|
||||
2.2.6 Release notes (2018-1-26)
|
||||
=============================================================
|
||||
### Breaking changes
|
||||
|
@ -247,7 +247,7 @@ ObjectSchema Schema<T>::parse_object_schema(ContextType ctx, ObjectType object_s
|
||||
object_schema.primary_key = Value::validated_to_string(ctx, primary_value);
|
||||
Property *property = object_schema.primary_key_property();
|
||||
if (!property) {
|
||||
throw std::runtime_error("Missing primary key property '" + object_schema.primary_key + "'");
|
||||
throw std::runtime_error("Schema named '" + object_schema.name + "' specifies primary key of '" + object_schema.primary_key + "' but does not declare a property of that name.");
|
||||
}
|
||||
property->is_primary = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user