Skip to content

Commit 54c2210

Browse files
Kasper Overgård Nielsennirinchev
andauthored
RDART-1015: Update core to v14.6.2 (#1651)
* Update realm-core to v14.6.0-14-g970e558fb (prep for next release) Update bindings * Fix 'App get users' test. Order not guarenteed * Adapt test to changed semantics wrt. progress notifications * Bump to Core 14.6.1 * Tweak macos runners * make 'SyncSession.getProgressStream forCurrentlyOutstandingWork' test less brittle * Bump core to v14.6.2 --------- Co-authored-by: Nikola Irinchev <[email protected]>
1 parent cf61e32 commit 54c2210

File tree

9 files changed

+163
-133
lines changed

9 files changed

+163
-133
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
name: Build IOS
5252
uses: ./.github/workflows/build-native.yml
5353
with:
54-
runner: macos-latest
54+
runner: macos-12
5555
binary: ios
5656
build: '["ios-device", "ios-simulator", "ios-catalyst"]'
5757

@@ -231,7 +231,7 @@ jobs:
231231
secrets: inherit
232232
with:
233233
os: macos
234-
runner: macos-13 # workaround to: https://github.com/flutter/flutter/issues/118469 latest is still macos-12 ¯\_(ツ)_/¯
234+
runner: macos-latest
235235
differentiator: fm${{ github.run_id }}${{ github.run_attempt }}
236236

237237
cleanup-cluster-flutter-macos:
@@ -281,7 +281,7 @@ jobs:
281281
differentiator: fi${{ github.run_id }}${{ github.run_attempt }}
282282

283283
flutter-tests-ios:
284-
runs-on: macos-latest
284+
runs-on: macos-12
285285
name: Flutter Tests iOS
286286
timeout-minutes: 45
287287
needs:

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,20 @@
2525
### Fixed
2626
* Avoid: Attempt to execute code removed by Dart AOT compiler (TFA). (Issue [#1647](https://github.com/realm/realm-dart/issues/1647))
2727
* Fixed nullability annotations for the experimental API `App.baseUrl` and `App.updateBaseUrl`. The former is guaranteed not to be `null`, while the latter will now accept a `null` argument, in which case the base url will be restored to its default value. (Issue [#1523](https://github.com/realm/realm-dart/issues/1523))
28+
* `App.users` included logged out users only if they were logged out while the App instance existed. It now always includes all logged out users. (Core 14.6.0)
29+
* Fixed several issues around encrypted file portability (copying a "bundled" encrypted Realm from one device to another): (Core 14.6.0)
30+
* Fixed `Assertion failed: new_size % (1ULL << m_page_shift) == 0` when opening an encrypted Realm less than 64Mb that was generated on a platform with a different page size than the current platform.
31+
* Fixed a `DecryptionFailed` exception thrown when opening a small (<4k of data) Realm generated on a device with a page size of 4k if it was bundled and opened on a device with a larger page size.
32+
* Fixed an issue during a subsequent open of an encrypted Realm for some rare allocation patterns when the top ref was within ~50 bytes of the end of a page. This could manifest as a DecryptionFailed exception or as an assertion: `encrypted_file_mapping.hpp:183: Assertion failed: local_ndx < m_page_state.size()`.
33+
* Schema initialization could hit an assertion failure if the sync client applied a downloaded changeset while the Realm file was in the process of being opened. (Core 14.6.0)
34+
* Improve perfomance of "chained OR equality" queries for UUID/ObjectId types and RQL parsed "IN" queries on string/int/uuid/objectid types. (Core 14.6.0)
35+
* Fixed a bug when running a IN query (or a query of the pattern `x == 1 OR x == 2 OR x == 3`) when evaluating on a string property with an empty string in the search condition. Matches with an empty string would have been evaluated as if searching for a null string instead. (Core 14.6.2)
2836

2937
### Compatibility
3038
* Realm Studio: 15.0.0 or later.
3139

3240
### Internal
33-
* Using Core x.y.z.
41+
* Using Core 14.6.2.
3442
* Flutter: ^3.19.0
3543
* Dart: ^3.3.0
3644

packages/realm_dart/ffigen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ comments:
2727
compiler-opts:
2828
- '-DRLM_NO_ANON_UNIONS'
2929
- '-DFFI_GEN'
30+
- '-DREALM_APP_SERVICES'
3031
- '-I src/realm-core/src'
3132
- '-I src/dart-dl'
3233
sort: true

0 commit comments

Comments
 (0)