diff --git a/CHANGELOG.md b/CHANGELOG.md index e2338fb2..08f84e74 100644 --- a/CHANGELOG.md +++ b/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) ============================================================= diff --git a/dependencies.list b/dependencies.list index 65a3062c..f68a8de1 100644 --- a/dependencies.list +++ b/dependencies.list @@ -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 diff --git a/package.json b/package.json index d6c8bc25..714e7346 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/src/js_schema.hpp b/src/js_schema.hpp index 3a5cf3d2..17fe3ddb 100644 --- a/src/js_schema.hpp +++ b/src/js_schema.hpp @@ -247,7 +247,7 @@ ObjectSchema Schema::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; }