Skip to content

v10.20.0

Compare
Choose a tag to compare
@realm-ci realm-ci released this 16 Nov 23:41
· 670 commits to master since this release

Enhancements

  • Conform @ThreadSafe and ThreadSafeReference to Sendable.
  • Allow using Swift enums which conform to PersistableEnum as the value type
    for all Realm collections.

Fixed

  • @AutoOpen will open the existing local Realm file on any connection error
    rather than only when the connection specifically times out.
  • Do not allow progress state changes for @AutoOpen and @AsyncOpen after
    changing state to open(let realm) or error(let error).
  • Logging out a sync user failed to remove the local Realm file for partitions
    with very long partition values that would have exceeded the maximum path
    length. (Core #4187, since v10.0.0)
  • Don't keep trying to refresh the access token if the client's clock is more
    than 30 minutes fast. (Core #4941)
  • Failed auth requests used a fixed long sleep rather than exponential backoff
    like other sync requests, which could result in very delayed reconnects after
    a device was offline long enough for the access token to expire (since v10.0.0).

Compatibility

  • Realm Studio: 11.0.0 or later.
  • APIs are backwards compatible with all previous releases in the 10.x.y series.
  • Carthage release for Swift is built with Xcode 13.1.
  • CocoaPods: 1.10 or later.
  • Xcode: 12.2-13.1.

Internal

  • Upgraded realm-core from 11.6.0 to 11.6.1.