Skip to content

Commit b875d7f

Browse files
authored
Upgrade to core 14.7.0 (#1746)
1 parent fd5a5ca commit b875d7f

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 2.0.0-SNAPSHOT (YYYY-MM-DD)
22

33
[!NOTE]
4-
This release will bump the Realm file format from version 23 to 24. Opening a file with an older format will automatically upgrade it from file format v10. If you want to upgrade from an earlier file format version you will have to use Realm Kotlin v1.13.1 or earlier. Downgrading to a previous file format is not possible.
4+
This release will bump the Realm file format 24. Opening a file with an older format will automatically upgrade it from file format v10. If you want to upgrade from an earlier file format version you will have to use Realm Kotlin v1.13.1 or earlier. Downgrading to a previous file format is not possible.
55

66
### Breaking changes
77
* Removed property `RealmLog.level`. Log levels can be set with `RealmLog.setLevel`. (Issue [#1691](https://github.com/realm/realm-kotlin/issues/1691) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1038))
@@ -13,7 +13,8 @@ This release will bump the Realm file format from version 23 to 24. Opening a fi
1313
* Add support for filtering logs by category. (Issue [#1691](https://github.com/realm/realm-kotlin/issues/1691) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1038))
1414

1515
### Fixed
16-
* None.
16+
* Inserting the same typed 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 (eg: `...@links.@count`) and possibly notifications (Core Issue [realm/realm-core#7676](https://github.com/realm/realm-core/issues/7676) since v1.16.0).
17+
* [Sync] Automatic client reset recovery would crash when recovering AddInteger instructions on a Mixed property if its type was changed to non-integer (Core issue [realm/realm-core#7683](https://github.com/realm/realm-core/pull/7683), since v0.11.0).
1718

1819
### Compatibility
1920
* File format: Generates Realms with file format v24 (reads and upgrades file format v10 or later).
@@ -31,7 +32,8 @@ This release will bump the Realm file format from version 23 to 24. Opening a fi
3132
* Minimum R8: 8.0.34.
3233

3334
### Internal
34-
* None.
35+
* Updated to Realm Core 14.7.0 commit c280bdb17522323d5c30dc32a2b9efc9dc80ca3b.
36+
3537

3638
## 1.16.0 (2024-05-01)
3739

packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ class FunctionsTests {
954954

955955
@Test
956956
fun unknownFunction() {
957-
assertFailsWithMessage<FunctionExecutionException>("function not found: 'unknown'") {
957+
assertFailsWithMessage<FunctionExecutionException>("function not found") {
958958
runBlocking {
959959
functions.call<String>("unknown", 32)
960960
}

packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/ProgressListenerTests.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ import kotlinx.coroutines.withTimeout
5454
import org.mongodb.kbson.ObjectId
5555
import kotlin.test.AfterTest
5656
import kotlin.test.BeforeTest
57-
import kotlin.test.Ignore
5857
import kotlin.test.Test
5958
import kotlin.test.assertEquals
6059
import kotlin.test.assertFailsWith
@@ -85,7 +84,6 @@ class ProgressListenerTests {
8584
}
8685

8786
@Test
88-
@Ignore // https://github.com/realm/realm-core/issues/7627
8987
fun downloadProgressListener_changesOnly() = runBlocking {
9088
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { uploadRealm ->
9189
// Verify that we:
@@ -175,7 +173,6 @@ class ProgressListenerTests {
175173
}
176174

177175
@Test
178-
@Ignore // https://github.com/realm/realm-core/issues/7627
179176
fun worksAfterExceptions() = runBlocking {
180177
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { realm ->
181178
realm.writeSampleData(TEST_SIZE, timeout = TIMEOUT)
@@ -198,7 +195,6 @@ class ProgressListenerTests {
198195
}
199196

200197
@Test
201-
@Ignore // https://github.com/realm/realm-core/issues/7627
202198
fun worksAfterCancel() = runBlocking {
203199
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { realm ->
204200
realm.writeSampleData(TEST_SIZE, timeout = TIMEOUT)
@@ -229,7 +225,6 @@ class ProgressListenerTests {
229225
}
230226

231227
@Test
232-
@Ignore // https://github.com/realm/realm-core/issues/7627
233228
fun triggerImmediatelyWhenRegistered() = runBlocking {
234229
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { realm ->
235230
withTimeout(10.seconds) {

0 commit comments

Comments
 (0)