From ef244a2a225a73e4aed6b645996a1e001b89bdb5 Mon Sep 17 00:00:00 2001 From: Diana Maria Perez Afanador Date: Mon, 20 May 2024 18:10:22 +0200 Subject: [PATCH 1/4] Upgrade to core 14.7.0 --- CHANGELOG.md | 11 ++++++++--- Package.swift | 2 +- dependencies.list | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b5c48fc9a..72a54e5fc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,8 +32,13 @@ x.y.z Release notes (yyyy-MM-dd) ``` ### Fixed -* ([#????](https://github.com/realm/realm-swift/issues/????), since v?.?.?) -* None. +* Accessing `App.currentUser` from within a notification produced by `App.switchToUser()` + (which includes notifications for a newly logged in user) would deadlock. + ([Core #7670](https://github.com/realm/realm-core/issues/7670), since v10.50.0). +* Inserting the same link to the same key in a dictionary more than once would incorrectly + create multiple backlinks to the object. This did not appear to cause any crashes later, but would + have affecting explicit backlink count queries and possibly notifications. + ([Core #7676](https://github.com/realm/realm-core/issues/7676), since v10.49.2). @@ -45,7 +50,7 @@ x.y.z Release notes (yyyy-MM-dd) * Xcode: 15.1.0-15.4.0. ### Internal -* Upgraded realm-core from ? to ? +* Upgraded realm-core from v14.6.2 to 14.7.0 10.50.1 Release notes (2024-05-21) ============================================================= diff --git a/Package.swift b/Package.swift index 63b21473d2..73255d9a7d 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ import PackageDescription import Foundation -let coreVersion = Version("14.6.2") +let coreVersion = Version("14.7.0") let cocoaVersion = Version("10.50.1") let cxxSettings: [CXXSetting] = [ diff --git a/dependencies.list b/dependencies.list index 3b1e4d8450..a1329fd3ce 100755 --- a/dependencies.list +++ b/dependencies.list @@ -1,3 +1,3 @@ VERSION=10.50.1 -REALM_CORE_VERSION=v14.6.2 +REALM_CORE_VERSION=v14.7.0 STITCH_VERSION=b4f0184c963eed8f6cc5e857fac147bef10966d7 From de1e589309359aa68bcd9b6f963ff1323020efd9 Mon Sep 17 00:00:00 2001 From: Diana Maria Perez Afanador Date: Tue, 28 May 2024 16:37:31 +0200 Subject: [PATCH 2/4] Upgrade to core 14.8.0 --- CHANGELOG.md | 11 ++++++++--- Package.swift | 2 +- dependencies.list | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72a54e5fc8..c81d94cba0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,10 +35,15 @@ x.y.z Release notes (yyyy-MM-dd) * Accessing `App.currentUser` from within a notification produced by `App.switchToUser()` (which includes notifications for a newly logged in user) would deadlock. ([Core #7670](https://github.com/realm/realm-core/issues/7670), since v10.50.0). -* Inserting the same link to the same key in a dictionary more than once would incorrectly - create multiple backlinks to the object. This did not appear to cause any crashes later, but would +* Inserting the same link to the same key in a dictionary more than once would incorrectly create + multiple backlinks to the object. This did not appear to cause any crashes later, but would have affecting explicit backlink count queries and possibly notifications. ([Core #7676](https://github.com/realm/realm-core/issues/7676), since v10.49.2). +* 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 + ([Core #7627](https://github.com/realm/realm-core/issues/7627), since v10.50.0). @@ -50,7 +55,7 @@ x.y.z Release notes (yyyy-MM-dd) * Xcode: 15.1.0-15.4.0. ### Internal -* Upgraded realm-core from v14.6.2 to 14.7.0 +* Upgraded realm-core from v14.6.2 to 14.8.0 10.50.1 Release notes (2024-05-21) ============================================================= diff --git a/Package.swift b/Package.swift index 73255d9a7d..5bc0dab444 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ import PackageDescription import Foundation -let coreVersion = Version("14.7.0") +let coreVersion = Version("14.8.0") let cocoaVersion = Version("10.50.1") let cxxSettings: [CXXSetting] = [ diff --git a/dependencies.list b/dependencies.list index a1329fd3ce..8de188d7c6 100755 --- a/dependencies.list +++ b/dependencies.list @@ -1,3 +1,3 @@ VERSION=10.50.1 -REALM_CORE_VERSION=v14.7.0 +REALM_CORE_VERSION=v14.8.0 STITCH_VERSION=b4f0184c963eed8f6cc5e857fac147bef10966d7 From 3c0a9f8fd3fb2d25edab50c2b8f12f052527e7fd Mon Sep 17 00:00:00 2001 From: Diana Maria Perez Afanador Date: Mon, 3 Jun 2024 19:05:43 +0200 Subject: [PATCH 3/4] Upgrade to core 14.9.0 --- CHANGELOG.md | 11 ++++++++--- Package.swift | 2 +- dependencies.list | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c81d94cba0..df04b72a8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,10 +26,12 @@ x.y.z Release notes (yyyy-MM-dd) realm.objects(MixedObject.self).where { $0.anyValue[0][0][1] == .double(76.54) } ``` - The `.all` operator allows looking up in all keys or indexes, which is the same that using a wildcard as a subscript `["*"]`. + The `.any` operator allows looking up in all keys or indexes. ```swift - realm.objects(MixedObject.self).where { $0.anyValue["key"].all == .bool(false) } + realm.objects(MixedObject.self).where { $0.anyValue["key"].any == .bool(false) } ``` +* Report the originating error that caused a client reset to occur. + ([Core #6154](https://github.com/realm/realm-core/issues/6154)) ### Fixed * Accessing `App.currentUser` from within a notification produced by `App.switchToUser()` @@ -44,6 +46,9 @@ x.y.z Release notes (yyyy-MM-dd) 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 ([Core #7627](https://github.com/realm/realm-core/issues/7627), since v10.50.0). +* After compacting, a file upgrade would be triggered. This could cause loss of data + if `deleteRealmIfMigrationNeeded` is set to true. + ([Core #7747](https://github.com/realm/realm-core/issues/7747), since v10.49.0). @@ -55,7 +60,7 @@ x.y.z Release notes (yyyy-MM-dd) * Xcode: 15.1.0-15.4.0. ### Internal -* Upgraded realm-core from v14.6.2 to 14.8.0 +* Upgraded realm-core from v14.6.2 to 14.9.0 10.50.1 Release notes (2024-05-21) ============================================================= diff --git a/Package.swift b/Package.swift index 5bc0dab444..4c17b92199 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ import PackageDescription import Foundation -let coreVersion = Version("14.8.0") +let coreVersion = Version("14.9.0") let cocoaVersion = Version("10.50.1") let cxxSettings: [CXXSetting] = [ diff --git a/dependencies.list b/dependencies.list index 8de188d7c6..b88a1fa51f 100755 --- a/dependencies.list +++ b/dependencies.list @@ -1,3 +1,3 @@ VERSION=10.50.1 -REALM_CORE_VERSION=v14.8.0 +REALM_CORE_VERSION=v14.9.0 STITCH_VERSION=b4f0184c963eed8f6cc5e857fac147bef10966d7 From 1ed5e5b1c7abface3701949105164a1640aed6b6 Mon Sep 17 00:00:00 2001 From: Diana Maria Perez Afanador Date: Thu, 6 Jun 2024 15:54:08 +0200 Subject: [PATCH 4/4] Update release Xcode version to 15.4 --- .github/workflows/master-push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master-push.yml b/.github/workflows/master-push.yml index fcf518d88f..ecfa4a6cea 100644 --- a/.github/workflows/master-push.yml +++ b/.github/workflows/master-push.yml @@ -10,9 +10,9 @@ env: XCODE_TEST_VERSIONS: "['15.1', '15.2', '15.3', '15.4']" PLATFORM: "['ios', 'osx', 'watchos', 'tvos', 'catalyst', 'visionos']" BUILD_PLATFORM: "['ios', 'iossimulator', 'osx', 'watchos', 'watchossimulator', 'tvos', 'tvossimulator', 'catalyst', 'visionos', 'visionossimulator']" - DOC_VERSION: '15.3' - RELEASE_VERSION: '15.3' - TEST_VERSION: '15.3' + DOC_VERSION: '15.4' + RELEASE_VERSION: '15.4' + TEST_VERSION: '15.4' jobs: cleanup: # Clean-up XCode cloud workflows, before running the pipeline runs-on: ubuntu-latest