mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +00:00
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:
parent
9527b84ba9
commit
682332c7db
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user