Skip to content

Commit

Permalink
Upgrade to core 13.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Mar 31, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b5d33c0 commit 946893e
Showing 5 changed files with 17 additions and 8 deletions.
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -5,10 +5,19 @@ Switch to building the Carthage release with Xcode 14.3.

### Enhancements
* Add Xcode 14.3 binaries to the release package. Note that CocoaPods 1.12.0 does not support Xcode 14.3.
* Add support for sharing encrypted Realms between multiple processes. ([Core #1845](https://github.com/realm/realm-core/issues/1845))

### Fixed
* Address memory leaks caused by `URL.path` in `Realm.Configuration.fileURL` and std::string bytes being
incorrectly captured when using a string partition key in Partition Based Sync ([#8195](https://github.com/realm/realm-swift/pull/8195)), since v10.0.0).
* Fix a memory leak reported by Instruments on `URL.path` in
`Realm.Configuration.fileURL` when using a string partition key in Partition
Based Sync ([#8195](https://github.com/realm/realm-swift/pull/8195)), since v10.0.0).
* Fix a data race in version management. If one thread committed a write
transaction which increased the number of live versions above the previous
highest seen during the current session at the same time as another thread
began a read, the reading thread could read from a no-longer-valid memory
mapping. This could potentially result in strange crashes when opening,
refreshing, freezing or thawing a Realm
([Core #6411](https://github.com/realm/realm-core/pull/6411), since v10.35.0).

<!-- ### Breaking Changes - ONLY INCLUDE FOR NEW MAJOR version -->

@@ -20,7 +29,7 @@ Switch to building the Carthage release with Xcode 14.3.
* Xcode: 13.4-14.3.

### Internal
* Upgraded realm-core from ? to ?
* Upgraded realm-core from 13.8.0 to 13.9.0.

10.37.2 Release notes (2023-03-29)
=============================================================
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import PackageDescription
import Foundation

let coreVersionStr = "13.8.0"
let coreVersionStr = "13.9.0"
let cocoaVersionStr = "10.37.2"

let coreVersionPieces = coreVersionStr.split(separator: ".")
2 changes: 1 addition & 1 deletion Realm/ObjectServerTests/RLMObjectServerTests.mm
Original file line number Diff line number Diff line change
@@ -948,7 +948,7 @@ - (void)testEncryptedSyncedRealmWrongKey {
c.encryptionKey = RLMGenerateKey();
RLMAssertRealmExceptionContains([RLMRealm realmWithConfiguration:c error:nil],
RLMErrorInvalidDatabase,
@"Failed to open Realm file at path '%@': Realm file decryption failed (Decryption failed)",
@"Failed to open Realm file at path '%@': Realm file decryption failed (Decryption failed: 'unable to decrypt after 0 seconds",
c.fileURL.path);
}

4 changes: 2 additions & 2 deletions Realm/Tests/EncryptionTests.mm
Original file line number Diff line number Diff line change
@@ -88,13 +88,13 @@ - (void)testReopenWithWrongKeyThrows {
NSData *key = RLMGenerateKey();
RLMAssertRealmExceptionContains([self realmWithKey:key],
RLMErrorInvalidDatabase,
@"Failed to open Realm file at path '%@': Realm file decryption failed (Decryption failed)",
@"Failed to open Realm file at path '%@': Realm file decryption failed (Decryption failed: 'unable to decrypt after 0 seconds",
RLMDefaultRealmURL().path);
}

- (void)testOpenUnencryptedWithKeyThrows {
@autoreleasepool {
[RLMRealm defaultRealm];
[self realmWithKey:nil];
}

NSData *key = RLMGenerateKey();
2 changes: 1 addition & 1 deletion dependencies.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION=10.37.2
REALM_CORE_VERSION=13.8.0
REALM_CORE_VERSION=13.9.0
STITCH_VERSION=bf6d15b08759f11811a811484f76a4235171757d

0 comments on commit 946893e

Please sign in to comment.