Skip to content

Commit

Permalink
Merge branch 'releases'
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Jun 3, 2024
2 parents e8949fe + 73ff3b9 commit d7947dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
13 changes: 5 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## 2.0.0-SNAPSHOT (YYYY-MM-DD)

[!NOTE]
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.
> [!NOTE]
> 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.
### Breaking changes
* 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))
Expand All @@ -12,7 +12,7 @@ This release will bump the Realm file format 24. Opening a file with an older fo
* [Sync] Removed deprecated methods `User.identity` and `User.provider`, user identities can be accessed with the already existing `User.identities`. (Issue [#1751](https://github.com/realm/realm-kotlin/issues/1751) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1083))
* [Sync] `App.allUsers` does no longer return a map, but only a list of users known locally. (Issue [#1751](https://github.com/realm/realm-kotlin/issues/1751) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1083))
* [Sync] Removed deprecated `DiscardUnsyncedChangesStrategy.onError`. (Issue [#1755](https://github.com/realm/realm-kotlin/issues/1755) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1085))
* [Sync] Sync progress notifications now reports an estimate ranged from `0.0` to `1.0` with `Progress.estimate` instead of `transferredBytes` and `totalBytes`. (Issue [#1744](https://github.com/realm/realm-kotlin/issues/1744) [RKOTLIN-1079](https://jira.mongodb.org/browse/RKOTLIN-1079)).
* [Sync] Sync progress notifications now reports an estimate ranged from `0.0` to `1.0` with `Progress.estimate` instead of `transferredBytes` and `totalBytes`. (Issue [#1744](https://github.com/realm/realm-kotlin/issues/1744)/[RKOTLIN-1079](https://jira.mongodb.org/browse/RKOTLIN-1079)).

### Enhancements
* Support for RealmLists and RealmDictionaries in `RealmAny`. (Issue [#1434](https://github.com/realm/realm-kotlin/issues/1434))
Expand Down Expand Up @@ -48,11 +48,8 @@ This release will bump the Realm file format 24. Opening a file with an older fo

## 1.16.0 (2024-05-01)


## 1.16.0 (2024-05-01)

[!NOTE]
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.
> [!NOTE]
> 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.
### Breaking changes
* None.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import kotlinx.coroutines.withTimeout
import kotlin.random.Random
import kotlin.test.AfterTest
import kotlin.test.BeforeTest
import kotlin.test.Ignore
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
Expand Down Expand Up @@ -81,6 +82,7 @@ class PBSProgressListenerTests {
}

@Test
@Ignore // https://github.com/realm/realm-core/issues/7627
fun downloadProgressListener_changesOnly() = runBlocking {
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { uploadRealm ->
// Verify that we:
Expand Down Expand Up @@ -182,6 +184,7 @@ class PBSProgressListenerTests {
}

@Test
@Ignore // https://github.com/realm/realm-core/issues/7627
fun worksAfterExceptions() = runBlocking {
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { realm ->
realm.writeSampleData(TEST_SIZE, timeout = TIMEOUT)
Expand All @@ -205,6 +208,7 @@ class PBSProgressListenerTests {
}

@Test
@Ignore // https://github.com/realm/realm-core/issues/7627
fun worksAfterCancel() = runBlocking {
Realm.open(createSyncConfig(app.createUserAndLogIn())).use { realm ->
realm.writeSampleData(TEST_SIZE, timeout = TIMEOUT)
Expand Down Expand Up @@ -236,6 +240,7 @@ class PBSProgressListenerTests {
}

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

0 comments on commit d7947dc

Please sign in to comment.