@realm-ci realm-ci released this Oct 19, 2018 · 1 commit to master since this release

Assets 5

Fixed

  • Fix SyncUser.requestEmailConfirmation not triggering the email confirmation
    flow on ROS. (PR #5953, since 3.5.0)
  • Add some missing validation in the getters and setters of properties on
    managed Realm objects, which would sometimes result in an application
    crashing with a segfault rather than the appropriate exception being thrown
    when trying to write to an object which has been deleted.
    (PR #5952, since 2.8.0)

Compatibility

  • File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
  • Realm Object Server: 3.11.0 or later.

@realm-ci realm-ci released this Oct 5, 2018 · 6 commits to master since this release

Assets 5

Enhancements

  • Reduce memory usage when integrating synchronized changes sent by ROS.
  • Devices will now report download progress for read-only Realms, allowing the
    server to compact Realms more aggressively and reducing the amount of
    server-side storage space required.

Fixed

  • Fix a crash when adding an object with a non-@objc String? property which
    has not been explicitly ignored to a Realm on watchOS 5 (and possibly other
    platforms when building with Xcode 10).
    (Issue: 5929).
  • Fix some merge algorithm bugs which could result in BadChangesetError
    being thrown when integrating changes sent by the server.

Compatibility

  • File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
  • NOTE!!!
    You will need to upgrade your Realm Object Server to at least version 3.11.0
    or use Realm Cloud.
    If you try to connect to a ROS v3.10.x or previous, you will see an error
    like Wrong protocol version in Sync HTTP request, client protocol version = 25, server protocol version = 24.

Internal

  • Update to Sync 3.12.2.

@realm-ci realm-ci released this Sep 19, 2018 · 15 commits to master since this release

Assets 5

Prebuilt binaries are now built for Xcode 9.2, 9.3, 9.4 and 10.0.

Older versions of Xcode are still supported when building from source, but you
should be migrating to at least Xcode 9.2 as soon as possible.

Enhancements

  • Add support for Watch Series 4 by adding an arm64_32 slice to the library.

@realm-ci realm-ci released this Sep 10, 2018 · 32 commits to master since this release

Assets 5

Enhancements

  • Expose RLMSyncUser.refreshToken publicly so that it can be used for custom
    HTTP requests to Realm Object Server.
  • Add RLMSyncSession.connectionState, which reports whether the session is
    currently connected to the Realm Object Server or if it is offline.
  • Add -suspend and -resume methods to RLMSyncSession to enable manually
    pausing data synchronization.
  • Add support for limiting the number of objects matched by a query-based sync
    subscription. This requires a server running ROS 3.10.1 or newer.

Bugfixes

  • Fix crash when getting the description of a MigrationObject which has
    List properties.
  • Fix crash when calling dynamicList() on a MigrationObject.

@tgoyne tgoyne released this Sep 14, 2018 · 32 commits to master since this release

Assets 5

A test build of Realm Cocoa v3.9.0 built for watchOS with Xcode 10, including a slice for the new arm64_32 architecture.

To use with CocoaPods, install 3.9.0, build, then replace the copy of librealm-watchos.a found in the Pods directory with this copy and rebuild. For other installation methods simply replace Realm.framework and RealmSwift.framework with this build.

@realm-ci realm-ci released this Sep 5, 2018 · 47 commits to master since this release

Assets 5

Enhancements

  • Remove some old and no longer applicable migration logic which created an
    unencrypted file in the sync metadata directory containing a list of ROS URLs
    connected to.
  • Add support for pinning SSL certificates used for https and realms
    connections by setting RLMSyncManager.sharedManager.pinnedCertificatePaths
    in obj-c and SyncManager.shared.pinnedCertificatePaths in Swift.

Bugfixes

  • Fix warnings when building Realm as a static framework with CocoaPods.

@realm-ci realm-ci released this Aug 9, 2018 · 66 commits to master since this release

Assets 5

Enhancements

  • Speed up the actual compaction when using compact-on-launch.
  • Reduce memory usage when locally merging changes from sync.
  • When first connecting to a server, wait to begin uploading changes until
    after all changes have been downloaded to reduce the server-side load for
    query-based sync.

@realm-ci realm-ci released this Jul 23, 2018 · 69 commits to master since this release

Assets 5

Enhancements

  • Improve performance of applying remote changesets from sync.
  • Improve performance of creating objects with string primary keys.
  • Improve performance of large write transactions.
  • Adjust file space allocation strategy to reduce fragmentation, producing
    smaller Realm files and typically better performance.
  • Close network connections immediately when a sync session is destroyed.
  • Report more information in InvalidDatabase exceptions.

Bugfixes

  • Fix permission denied errors for RLMPlatform.h when building with CocoaPods
    and Xcode 10 beta 3.
  • Fix a use-after-free when canceling a write transaction which could result in
    incorrect "before" values in KVO observations (typically nil when a non-nil
    value is expected).
  • Fix several bugs in the merge algorithm that could lead to memory corruption
    and crashes with errors like "bad changeset" and "unreachable code".

@realm-ci realm-ci released this Jun 19, 2018 · 82 commits to master since this release

Assets 5

Bugfixes

  • Fix a bug which could potentially flood Realm Object Server with PING
    messages after a client device comes back online.

@realm-ci realm-ci released this Jun 18, 2018 · 83 commits to master since this release

Assets 5

Enhancements

  • Avoid performing potentially large amounts of pointless background work for
    LinkingObjects instances which are accessed and then not immediate deallocated.

Bugfixes

  • Fix crashes which could result from extremely fragmented Realm files.
  • Fix a bug that could result in a crash with the message "bad changeset error"
    when merging changesets from the server.