Skip to content

Commit

Permalink
Upgrade to Realm Core v14.8.0 (#6681)
Browse files Browse the repository at this point in the history
* Upgrade to Realm Core v14.8.0
* Update expected error messages
  • Loading branch information
kneth authored May 24, 2024
1 parent 6349253 commit fc633f7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@
* None

### Fixed
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-js/issues/????), since v?.?.?)
* None
* A non-streaming progress notifier would not immediately call its callback after registration. Instead you would have to wait for a download message to be received to get your first update - if you were already caught up when you registered the notifier you could end up waiting a long time for the server to deliver a download that would call/expire your notifier. ([#7627](https://github.com/realm/realm-core/issues/7627), since v12.8.0)

### Compatibility
* React Native >= v0.71.4
* Realm Studio v15.0.0.
* File format: generates Realms with format v24 (reads and upgrades file format v10).

### Internal
<!-- * Either mention core version or upgrade -->
<!-- * Using Realm Core vX.Y.Z -->
<!-- * Upgraded Realm Core from vX.Y.Z to vA.B.C -->
* Upgraded Realm Core from v14.7.0 to v14.9.0.

## 12.9.0 (2024-05-23)

Expand Down
12 changes: 6 additions & 6 deletions integration-tests/tests/src/tests/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ describe("Queries", () => {
it("throws with invalid queries", function (this: RealmContext) {
expectQueryException(this.realm, NullableTypesObject, [
["Unsupported comparison between type", "intCol == false"],
["Cannot convert", "intCol == 'not an int'"],
["Cannot convert", "intCol == $0", "not an int"],
["Unsupported comparison between type 'int' and type 'string'", "intCol == 'not an int'"],
["Cannot compare argument $0 with value '\"not an int\"' to a int", "intCol == $0", "not an int"],
["Unsupported comparison operator", "intCol BEGINSWITH 1"],
["Unsupported comparison operator", "intCol CONTAINS 1"],
["Unsupported comparison operator", "intCol ENDSWITH 1"],
Expand Down Expand Up @@ -445,8 +445,8 @@ describe("Queries", () => {
it("throws with invalid queries", function (this: RealmContext) {
expectQueryException(this.realm, NullableTypesObject, [
["Unsupported comparison between type", "floatCol == false"],
["Cannot convert", "floatCol == 'not a float'"],
["Cannot convert", "floatCol == $0", "not a float"],
["Unsupported comparison between type 'float' and type 'string'", "floatCol == 'not a float'"],
["Cannot compare argument $0 with value '\"not a float\"' to a float", "floatCol == $0", "not a float"],
["Unsupported comparison operator", "floatCol BEGINSWITH 1"],
["Unsupported comparison operator", "floatCol CONTAINS 1"],
["Unsupported comparison operator", "floatCol ENDSWITH 1"],
Expand Down Expand Up @@ -491,8 +491,8 @@ describe("Queries", () => {
it("throws with invalid queries", function (this: RealmContext) {
expectQueryException(this.realm, NullableTypesObject, [
["Unsupported comparison between type", "doubleCol == false"],
["Cannot convert", "doubleCol == 'not a double'"],
["Cannot convert", "doubleCol == $0", "not a double"],
["Unsupported comparison between type 'double' and type 'string'", "doubleCol == 'not a double'"],
["Cannot compare argument $0 with value '\"not a double\"' to a double", "doubleCol == $0", "not a double"],
["Unsupported comparison operator", "doubleCol BEGINSWITH 1"],
["Unsupported comparison operator", "doubleCol CONTAINS 1"],
["Unsupported comparison operator", "doubleCol ENDSWITH 1"],
Expand Down

0 comments on commit fc633f7

Please sign in to comment.