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

chore(deps): bump android-adapters from 2.1.1 to 4.0.0 #2230

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2021

Bumps android-adapters from 2.1.1 to 4.0.0.

Changelog

Sourced from android-adapters's changelog.

4.0.0 (2017-10-16)

Breaking Changes

The internal file format has been upgraded. Opening an older Realm will upgrade the file automatically, but older versions of Realm will no longer be able to read the file.

  • [ObjectServer] Updated protocol version to 22 which is only compatible with Realm Object Server >= 2.0.0.
  • [ObjectServer] Removed deprecated APIs SyncUser.retrieveUser() and SyncUser.retrieveUserAsync(). Use SyncUser.retrieveInfoForUser() and retrieveInfoForUserAsync() instead.
  • [ObjectServer] SyncUser.Callback now accepts a generic parameter indicating type of object returned when onSuccess is called.
  • [ObjectServer] Renamed SyncUser.getAccessToken to SyncUser.getRefreshToken.
  • [ObjectServer] Removed deprecated API SyncUser.getManagementRealm().
  • Calling distinct() on a sorted RealmResults no longer clears any sorting defined (#3503).
  • Relaxed upper bound of type parameter of RealmList, RealmQuery, RealmResults, RealmCollection, OrderedRealmCollection and OrderedRealmCollectionSnapshot.
  • Realm has upgraded its RxJava1 support to RxJava2 (#3497)
    • Realm.asObservable() has been renamed to Realm.asFlowable().
    • RealmList.asObservable() has been renamed to RealmList.asFlowable().
    • RealmResults.asObservable() has been renamed to RealmResults.asFlowable().
    • RealmObject.asObservable() has been renamed to RealmObject.asFlowable().
    • RxObservableFactory now return RxJava2 types instead of RxJava1 types.
  • Removed deprecated APIs RealmSchema.close() and RealmObjectSchema.close(). Those don't have to be called anymore.
  • Removed deprecated API RealmResults.removeChangeListeners(). Use RealmResults.removeAllChangeListeners() instead.
  • Removed deprecated API RealmObject.removeChangeListeners(). Use RealmObject.removeAllChangeListeners() instead.
  • Removed UNSUPPORTED_TABLE, UNSUPPORTED_MIXED and UNSUPPORTED_DATE from RealmFieldType.
  • Removed deprecated API RealmResults.distinct()/RealmResults.distinctAsync(). Use RealmQuery.distinct()/RealmQuery.distinctAsync() instead.
  • RealmQuery.createQuery(Realm, Class), RealmQuery.createDynamicQuery(DynamicRealm, String), RealmQuery.createQueryFromResult(RealmResults) and RealmQuery.createQueryFromList(RealmList) have been removed. Use Realm.where(Class), DynamicRealm.where(String), RealmResults.where() and RealmList.where() instead.

Enhancements

  • [ObjectServer] SyncUserInfo now also exposes a users metadata using SyncUserInfo.getMetadata()
  • RealmList can now contain String, byte[], Boolean, Long, Integer, Short, Byte, Double, Float and Date values. Queries and Importing primitive lists from JSON are not supported yet.
  • Added support for lists of primitives in RealmObjectSchema with addRealmListField(String fieldName, Class<?> primitiveType)
  • Added support for lists of primitives in DynamicRealmObject with setList(String fieldName, RealmList<?> list) and getList(String fieldName, Class<?> primitiveType).
  • Minor performance improvement when copy/insert objects into Realm.
  • Added static RealmObject.getRealm(RealmModel), RealmObject.getRealm() and DynamicRealmObject.getDynamicRealm() (#4720).
  • Added RealmResults.asChangesetObservable() that emits the pair (results, changeset) (#4277).
  • Added RealmList.asChangesetObservable() that emits the pair (list, changeset) (#4277).
  • Added RealmObject.asChangesetObservable() that emits the pair (object, changeset) (#4277).
  • All Realm annotations are now kept at runtime, allowing runtime tools access to them (#5344).
  • Speedup schema initialization when a Realm file is first accessed (#5391).

Bug Fixes

  • [ObjectServer] Exposing a RealmConfiguration that allows a user to open the backup Realm after the client reset (#4759/#5223).
  • [ObjectServer] Realm no longer throws a native “unsupported instruction” exception in some cases when opening a synced Realm asynchronously (realm/realm-object-store#502).
  • [ObjectServer] Fixed "Cannot open the read only Realm" issue when getPermissionManager (#5414).
  • Throw IllegalArgumentException instead of IllegalStateException when calling string/binary data setters if the data length exceeds the limit.
  • Added support for ISO8601 2-digit time zone designators (#5309).
  • "Bad File Header" caused by the device running out of space while compacting the Realm (#5011).
  • RealmQuery.equalTo() failed to find null values on an indexed field if using Case.INSENSITIVE (#5299).
  • Assigning a managed object's own list to itself would accidentally clear it (#5395).

... (truncated)

Commits

Dependabot compatibility score

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 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 Dependencies Adding dependencies and libraries java Pull requests that update Java code labels Oct 4, 2021
Bumps [android-adapters](https://github.com/realm/realm-java) from 2.1.1 to 4.0.0.
- [Release notes](https://github.com/realm/realm-java/releases)
- [Changelog](https://github.com/realm/realm-java/blob/master/CHANGELOG.md)
- [Commits](realm/realm-java@v2.1.1...v4.0.0)

---
updated-dependencies:
- dependency-name: io.realm:android-adapters
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/io.realm-android-adapters-4.0.0 branch from 039780f to 454403f Compare October 4, 2021 23:38
@CloudyPadmal CloudyPadmal merged commit 66918e4 into development Oct 6, 2021
@CloudyPadmal CloudyPadmal deleted the dependabot/gradle/io.realm-android-adapters-4.0.0 branch October 6, 2021 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Adding dependencies and libraries java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant