Skip to content

Commit

Permalink
RDART-1015: Update core to v14.6.2 (#1651)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
nielsenko and nirinchev authored May 1, 2024
1 parent cf61e32 commit 54c2210
Show file tree
Hide file tree
Showing 9 changed files with 163 additions and 133 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
name: Build IOS
uses: ./.github/workflows/build-native.yml
with:
runner: macos-latest
runner: macos-12
binary: ios
build: '["ios-device", "ios-simulator", "ios-catalyst"]'

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

cleanup-cluster-flutter-macos:
Expand Down Expand Up @@ -281,7 +281,7 @@ jobs:
differentiator: fi${{ github.run_id }}${{ github.run_attempt }}

flutter-tests-ios:
runs-on: macos-latest
runs-on: macos-12
name: Flutter Tests iOS
timeout-minutes: 45
needs:
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,20 @@
### Fixed
* Avoid: Attempt to execute code removed by Dart AOT compiler (TFA). (Issue [#1647](https://github.com/realm/realm-dart/issues/1647))
* 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))
* `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)
* Fixed several issues around encrypted file portability (copying a "bundled" encrypted Realm from one device to another): (Core 14.6.0)
* 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.
* 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.
* 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()`.
* 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)
* 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)
* 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)

### Compatibility
* Realm Studio: 15.0.0 or later.

### Internal
* Using Core x.y.z.
* Using Core 14.6.2.
* Flutter: ^3.19.0
* Dart: ^3.3.0

Expand Down
1 change: 1 addition & 0 deletions packages/realm_dart/ffigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ comments:
compiler-opts:
- '-DRLM_NO_ANON_UNIONS'
- '-DFFI_GEN'
- '-DREALM_APP_SERVICES'
- '-I src/realm-core/src'
- '-I src/dart-dl'
sort: true
Expand Down
Loading

0 comments on commit 54c2210

Please sign in to comment.