mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-26 22:39:05 +00:00
Merge branch '2.3.x' into jas/backlink-queries
This commit is contained in:
commit
6610971898
35
CHANGELOG.md
35
CHANGELOG.md
@ -1,4 +1,4 @@
|
||||
2.3.0 Release notes (2018-2-13)
|
||||
2.3.0 Release notes (2018-2-19)
|
||||
=============================================================
|
||||
### Breaking changes
|
||||
* Sync protocol changed to version 24.
|
||||
@ -15,13 +15,40 @@
|
||||
- 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.
|
||||
|
||||
### Internal
|
||||
* Updated to Realm Core 5.2.0.
|
||||
* Updated to Realm Sync 3.0.0-beta.5.
|
||||
* 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 Core 5.2.0.
|
||||
* Updated to Realm Sync 3.0.0-beta.3.
|
||||
* Tested against Realm Object Server 3.0.0-alpha.2.
|
||||
* 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.
|
||||
|
||||
2.2.6 Release notes (2018-1-26)
|
||||
=============================================================
|
||||
|
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME=realm-js
|
||||
VERSION=2.3.0-alpha.7
|
||||
VERSION=2.3.0-alpha.11
|
||||
REALM_CORE_VERSION=5.2.0
|
||||
REALM_SYNC_VERSION=3.0.0-beta.3
|
||||
REALM_SYNC_VERSION=3.0.0-beta.6
|
||||
REALM_OBJECT_SERVER_VERSION=3.0.0-alpha.2
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "realm",
|
||||
"description": "Realm is a mobile database: an alternative to SQLite and key-value stores",
|
||||
"version": "2.3.0-alpha.8",
|
||||
"version": "2.3.0-alpha.11",
|
||||
"license": "Apache-2.0",
|
||||
"homepage": "https://realm.io",
|
||||
"keywords": [
|
||||
|
@ -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