Upgrading to Realm Core v5.6.1 (#1859)

* Upgrading to Realm Core v5.6.1
* Upgrading to Realm Sync v3.5.3.
This commit is contained in:
Kenneth Geisshirt 2018-06-13 15:44:16 +02:00 committed by GitHub
parent 9527b84ba9
commit 682332c7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 4 deletions

View File

@ -14,10 +14,11 @@ X.Y.Z Release notes
### Bug fixes
* Fixed a bug in how arrays of primitive types are represented. The bug prevented a schema from one Realm to be used when opening another (#1847).
* Added a more readable error message in the query parser when requesting an a bad argument (#1808).
### Internal
* Realm Core v5.6.0.
* Realm Sync v3.5.2.
* Upgraded to Realm Core v5.6.1.
* Upgraded to Realm Sync v3.5.3.
2.8.2 Release notes (2018-6-12)

View File

@ -1,6 +1,6 @@
PACKAGE_NAME=realm-js
VERSION=2.8.2
REALM_CORE_VERSION=5.6.0
REALM_SYNC_VERSION=3.5.2
REALM_CORE_VERSION=5.6.1
REALM_SYNC_VERSION=3.5.3
REALM_OBJECT_SERVER_VERSION=3.0.0

View File

@ -22,6 +22,7 @@
var Realm = require('realm');
var TestCase = require('./asserts');
var testCases = require('./query-tests.json');
var schemas = require('./schemas');
var typeConverters = {};
@ -157,5 +158,11 @@ module.exports = {
},
testOrderingQueries: function() {
runQuerySuite(testCases.orderingTests);
},
testMalformedQueries: function() {
var realm = new Realm({ schema: [schemas.StringOnly] });
TestCase.assertThrows(function() {
realm.objects(schemas.StringOnly.name).filtered('stringCol = $0');
}, "Request for argument at index 0 but no arguments are provided");
}
};