Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump realm from 1.16.0 to 2.0.0 #1180

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 8, 2024

Bumps realm from 1.16.0 to 2.0.0.
Updates io.realm.kotlin:library-base from 1.16.0 to 2.0.0

Changelog

Sourced from io.realm.kotlin:library-base's changelog.

2.0.0 (2024-06-03)

[!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 JIRA)
  • Removed LogConfiguration. Log levels and custom loggers can be set with RealmLog. (Issue #1691 JIRA)
  • Removed deprecated io.realm.kotlin.types.ObjectId. Use org.mongodb.kbson.BsonObjectId or its type alias org.mongodb.kbson.ObjectId instead. (Issue #1749 JIRA)
  • Removed deprecated RealmClass.isEmbedded. Class embeddeness can be check with RealmClassKind.EMBEDDED. (Issue #1753 JIRA)
  • Some authentication related operations will no longer throw specialized InvalidCredentialsException and CredentialsCannotBeLinkedException but the more general AuthException and ServiceException. (Issue #1763/RKOTLIN-1091)
  • [Sync] Removed deprecated methods User.identity and User.provider, user identities can be accessed with the already existing User.identities. (Issue #1751 JIRA)
  • [Sync] App.allUsers does no longer return a map, but only a list of users known locally. (Issue #1751 JIRA)
  • [Sync] Removed deprecated DiscardUnsyncedChangesStrategy.onError. (Issue #1755 JIRA)
  • [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/RKOTLIN-1079).

Enhancements

  • Support for RealmLists and RealmDictionaries in RealmAny. (Issue #1434)
  • Optimized RealmList.indexOf() and RealmList.contains() using Core implementation of operations instead of iterating elements and comparing them in Kotlin. (Issue #1625 RKOTLIN-995).
  • Add support for filtering logs by category. (Issue #1691 JIRA)
  • [Sync] Add Mongo Client API to access Atlas App Service collections. It can be accessed through User.mongoClient. (Issue #972/RKOTLIN-612)
  • [Sync] Sync progress notifications is now also supported for flexible sync configurations. (Issue #1744 RKOTLIN-1079).

Fixed

  • 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 since v1.16.0).
  • [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, since v0.11.0).
  • [Sync] Typos [SubscriptionSetState.SUPERSEDED], [SyncTimeoutOptions.pingKeepalivePeriod] and [SyncTimeoutOptions.pongKeepalivePeriod]. (Issue #1754

Compatibility

  • File format: Generates Realms with file format v24 (reads and upgrades file format v10 or later).
  • Realm Studio 15.0.0 or above is required to open Realms created by this version.
  • This release is compatible with the following Kotlin releases:
  • Minimum Kbson 0.4.0.
  • Minimum Gradle version: 7.2.
  • Minimum Android Gradle Plugin version: 7.1.3.
  • Minimum Android SDK: 16.
  • Minimum R8: 8.0.34.

Internal

Commits

Updates io.realm.kotlin from 1.16.0 to 2.0.0

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the Dependencies Pull requests that update a dependency file label Jun 8, 2024
Bumps `realm` from 1.16.0 to 2.0.0.

Updates `io.realm.kotlin:library-base` from 1.16.0 to 2.0.0
- [Changelog](https://github.com/realm/realm-kotlin/blob/main/CHANGELOG.md)
- [Commits](realm/realm-kotlin@v1.16.0...v2.0.0)

Updates `io.realm.kotlin` from 1.16.0 to 2.0.0

---
updated-dependencies:
- dependency-name: io.realm.kotlin:library-base
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.realm.kotlin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/realm-2.0.0 branch from 4661c5b to 1478fee Compare June 22, 2024 13:37
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 23, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/gradle/realm-2.0.0 branch June 23, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant