Skip to content

Commit 1e1e48a

Browse files
knethelle-j
andauthored
RJS-2752: Upgrade to Realm Core v14.2.0 (#6549)
* RJS-2752: Upgrade to Realm Core v14.2.0 --------- Co-authored-by: LJ <[email protected]>
1 parent 7cfe724 commit 1e1e48a

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
### Enhancements
1010
* Updated bundled OpenSSL version to 3.2.0. ([realm/realm-core#7303](https://github.com/realm/realm-core/pull/7303))
11+
* Improved performance of object notifiers with complex schemas by ~20%. ([realm/realm-core#7424](https://github.com/realm/realm-core/pull/7424))
12+
* Improved performance with very large number of notifiers by ~75%. ([realm/realm-core#7424](https://github.com/realm/realm-core/pull/7424))
1113
* Property keypath in RQL can be substituted with value given as argument. Use `$P<i>` in query string. ([realm/realm-core#7033](https://github.com/realm/realm-core/issues/7033))
1214
* You can now use query substitution for the `@type` argument. ([realm/realm-core#7289](https://github.com/realm/realm-core/issues/7289))
1315
* Storage of `Decimal128` properties has been optimized so that the individual values will take up 0 bits (if all nulls), 32 bits, 64 bits or 128 bits depending on what is needed. ([realm/realm-core#6111]https://github.com/realm/realm-core/pull/6111))
@@ -24,15 +26,18 @@
2426
* Fixed queries like `indexed_property == NONE {x}` which mistakenly matched on only `x` instead of not `x`. This only applies when an indexed property with equality (`==`, or `IN`) matches with `NONE` on a list of one item. If the constant list contained more than one value then it was working correctly. ([realm/realm-java#7862](https://github.com/realm/realm-java/issues/7862), since v10.20.0)
2527
* Uploading the changesets recovered during an automatic client reset recovery may lead to `Bad server version` errors and a new client reset. ([realm/realm-core#7279](https://github.com/realm/realm-core/issues/7279), since v12.5.0)
2628
* Fixed crash in full text index using prefix search with no matches ([realm/realm-core#7309](https://github.com/realm/realm-core/issues/7309), since v12.2.0)
27-
* Fixed a race condition when backing up Realm files before a client reset which could have lead to overwriting an existing file. ([realm/realm-core#7341](https://github.com/realm/realm-core/pull/7341)).
29+
* Fixed a race condition when backing up Realm files before a client reset which could have lead to overwriting an existing file. ([realm/realm-core#7341](https://github.com/realm/realm-core/pull/7341))
30+
* Fixed a bug when removing items from a list that could result in invalidated links becoming visible which could cause crashes or exceptions when accessing those list items later on. This affects synced Realms where another client had previously removed a list with over 1000 items in it, and then further local removals from the same list caused the list to have fewer than 1000 items. ([#7414](https://github.com/realm/realm-core/pull/7414), since v10.0.0)
31+
*
32+
2833

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

3439
### Internal
35-
* Upgraded Realm Core from v13.26.0 to v14.1.0. ([#6499](https://github.com/realm/realm-js/issues/6499))
40+
* Upgraded Realm Core from v13.26.0 to v14.2.0. ([#6499](https://github.com/realm/realm-js/issues/6499) and [#6541](https://github.com/realm/realm-js/issues/6541))
3641

3742
## 12.6.2 (2024-03-04)
3843

packages/realm/scripts/submit-analytics.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,16 @@ function getRealmVersion() {
140140
}
141141

142142
/**
143-
* Reads and parses `dependencies.list`.
144-
* Each line has be form "KEY=VALUE", and we to find "REALM_CORE_VERSION"
143+
* Reads and parses `dependencies.yml`.
144+
* Each line has be form "KEY: VALUE", and we to find "REALM_CORE_VERSION"
145145
* @returns the Realm Core version as a string
146146
*/
147147
function getRealmCoreVersion() {
148-
const dependenciesListPath = path.resolve(realmCorePackagePath, "dependencies.list");
148+
const dependenciesListPath = path.resolve(realmCorePackagePath, "dependencies.yml");
149149
const dependenciesList = fs
150150
.readFileSync(dependenciesListPath, "utf8")
151151
.split("\n")
152-
.map((s) => s.split("="));
152+
.map((s) => s.split(":"));
153153
return dependenciesList.find((e) => e[0] === "VERSION")[1];
154154
}
155155

0 commit comments

Comments
 (0)