All Versions
210
Latest Version
Avg Release Cycle
11 days
Latest Release
9 days ago

Changelog History
Page 1

  • v10.0.0-beta.5

    September 16, 2020

    ✨ Enhancements

    • ➕ Add User.loggedIn.
    • ➕ Add support for multiple Realm Apps.
    • ✂ Remove [RLMSyncManager shared]. This is now instatiated as a property on
      the app itself.
    • ➕ Add Combine support for:
      • PushClient
      • APIKeyAuth
      • User
      • MongoCollection
      • EmailPasswordAuth
      • App.login

    🛠 Fixed

    • 🛠 Fix MongoCollection.watch to consistently deliver events on a given queue.
    • 🛠 Fix [RLMUser logOutWithCompletion] and User.logOut to now log out the
      correct user.
    • 🛠 Fix crash on startup on iOS versions older than 13 (since v10.0.0-beta.3).

    💥 Breaking Changes

    • 🚚 RLMSyncManager.pinnedCertificatePaths has been removed.
    • Classes RLMUserAccountInfo & RLMUserInfo (swift: UserInfo,
      🚚 UserAccountInfo) have been removed.
    • The following functionality has been renamed to align Cocoa with the other
      Realm SDKs:
    Old API New API
    RLMUser.identity RLMUser.identifier
    User.identity User.id
    -[RLMCredentials credentialsWithUsername:password:] -[RLMCredentials credentialsWithEmail:password:]
    Credentials(username:password:) Credentials(email:password:)
    -[RLMUser apiKeyAuth] -[RLMUser apiKeysAuth]
    User.apiKeyAuth() User.apiKeysAuth()
    -[RLMEmailPasswordAuth registerEmail:password:completion:] -[RLMEmailPasswordAuth registerUserWithEmail:password:completion:]
    App.emailPasswordAuth().registerEmail(email:password:) App.emailPasswordAuth().registerUser(email:password:)

    Compatibility

    • ⬆️ File format: Generates Realms with format v12 (Reads and upgrades all previous formats)
    • Realm Studio: 10.0.0 or later.
    • 🚀 APIs are backwards compatible with all previous releases in the 5.x.y series.
    • 🚀 Carthage release for Swift is built with Xcode 11.6.

    Internal

    • ⬆️ Upgraded realm-core from v10.0.0-beta.6 to v10.0.0-beta.7
    • ⬆️ Upgraded realm-sync from v10.0.0-beta.10 to v10.0.0-beta.11
  • v10.0.0-beta.4

    September 03, 2020

    ✨ Enhancements

    • ➕ Add support for the 64-bit watchOS simulator added in Xcode 12.
    • ➕ Add ability to stream change events on a remote MongoDB collection with [RLMMongoCollection watch:delegate:delegateQueue], MongoCollection.watch(delegate). When calling watch(delegate) you will be given a RLMChangeStream (ChangeStream), this will be used to invalidate and stop the streaming session by calling [RLMChangeStream close] (ChangeStream.close()) when needed.
    • ➕ Add MongoCollection.watch, which is a Combine publisher that will stream
      ⚡️ change events each time the remote MongoDB collection is updated.
    • ➕ Add ability to open a synced Realm with a nil partition value.

    🛠 Fixed

    • <How to hit and notice issue? what was the impact?> (#????, since v?.?.?)
    • 🔧 Realm.Configuration.objectTypes now accepts embedded objects
    • 🛠 Ports fixes from 5.3.5

    Compatibility

    • ⬆️ File format: Generates Realms with format v10 (Reads and upgrades all previous formats)
    • Realm Studio: 3.11 or later.
    • 🚀 APIs are backwards compatible with all previous releases in the v10.0.0-beta.x series.
    • 🚀 Carthage release for Swift is built with Xcode 11.5.

    Internal

    • ⬆️ Upgraded realm-core from v10.0.0-beta.1 to v10.0.0-beta.5
    • ⬆️ Upgraded realm-sync from v10.0.0-beta.2 to v10.0.0-beta.8
  • v10.0.0-beta.3

    August 18, 2020
  • v10.0.0-beta.2

    June 09, 2020

    ✨ Enhancements

    • None.

    🛠 Fixed

    • 🚀 Opening a SyncSession with LOCAL app deployments would not use the correct endpoints.
    • 🔗 Linking from embedded objects to top-level objects was incorrectly disallowed.

    Compatibility

    • ⬆️ File format: Generates Realms with format v11 (Reads and upgrades all previous formats)
    • MongoDB Realm: 84893c5 or later.
    • 🚀 APIs are backwards compatible with all previous releases in the 10.0.0-alpha series.
    • 🚀 Carthage release for Swift is built with Xcode 11.5.

    Internal

    • ⬆️ Upgraded realm-core from v6.0.3 to v10.0.0-beta.1
    • ⬆️ Upgraded realm-sync from v5.0.1 to v10.0.0-beta.2
  • v10.0.0-beta.1

    June 09, 2020

    🚀 NOTE: This version bumps the Realm file format to version 11. It is not possible to downgrade to earlier versions. Older files will automatically be upgraded to the new file format. Only Realm Studio 10.0.0 or later will be able to open the new file format.

    ✨ Enhancements

    • ➕ Add support for next generation sync. Support for syncing to MongoDB instead of Realm Object Server. Applications must be created at realm.mongodb.com
    • 👍 The memory mapping scheme for Realm files has changed to better support opening very large files.
    • ➕ Add support for the ObjectId data type. This is an automatically-generated unique identifier similar to a GUID or a UUID. (PR #6450).
    • ➕ Add support for the Decimal128 data type. This is a 128-bit IEEE 754 decimal floating point number similar to NSDecimalNumber. (PR #6450).
    • ➕ Add support for embedded objects. Embedded objects are objects which are owned by a single parent object, and are deleted when that parent object is deleted. They are defined by subclassing EmbeddedObject / RLMEmbeddedObject rather than Object / RLMObject.
    • ➕ Add -[RLMSyncUser customData]/SyncUser.customData. Custom data is a can be configured in your MongoDB Realm App.
    • ➕ Add -[RLMApp callFunctionNamed:arguments]/RealmApp.functions. This is the entry point for calling Remote MongoDB Realm functions. Functions allow you to define and execute server-side logic for your application. Functions are written in modern JavaScript (ES6+) and execute in a serverless manner. When you call a function, you can dynamically access components of the current application as well as information about the request to execute the function and the logged in user that sent the request.
    • ➕ Add -[RLMApp mongoClientWithServiceName]/RealmApp.mongoClient. This is the entry point for calling your Remote MongoDB Service.The read operations are -[RLMMongoCollection findWhere:completion:], -[RLMMongoCollection countWhere:completion:] and -[RLMMongoCollection aggregateWithPipeline:completion:]. The write operations are -[RLMMongoCollection insertOneDocument:completion:], -[RLMMongoCollection insertManyDocuments:completion:],
      ⚡️ -[RLMMongoCollection updateOneDocument:completion:], -[RLMMongoCollection updateManyDocuments:completion:], -[RLMMongoCollection deleteOneDocument:completion:], and -[RLMMongoCollection deleteManyDocuments:completion:]. If you are already familiar with MongoDB drivers, it is important to understand that the remote MongoCollection only provides access to the operations available in MongoDB Realm.
    • 🔄 Change [RLMSyncUser configurationWithPartitionValue:]/SyncUser.configuration(with:) to accept all BSON types. Partition values can currently be of types String, Int, or ObjectId. Opening a realm by partition value is the equivalent of previously opening a realm by URL. In this case,partitions are meant to be more closely associated with your data. E.g., if you are running a Dog kennel, and have a field breed that acts as your partition key, you could open up realms based on the breed of the dogs.

    💥 Breaking Changes

    • 🏗 We no longer support Realm Cloud (legacy), but instead the new "MongoDB Realm" Cloud. MongoDB Realm is a serverless platform that enables developers to quickly build applications without having to set up server infrastructure. MongoDB Realm is built on top of MongoDB Atlas, automatically integrating the connection to your database.
    • ✂ Remove support for Query-based sync, including the configuration parameters and the RLMSyncSubscription and SyncSubscription types (#6437).
    • Primary key properties are no longer marked as being indexed. This reflects an internal change to how primary keys are handled that should not have any other visible effects. (#6440).
    • ✂ Remove everything related to sync permissions, including both the path-based permission system and the object-level privileges for query-based sync. (#6445)
    • Primary key uniqueness is now enforced when creating new objects during migrations, rather than only at the end of migrations. Previously new objects could be created with duplicate primary keys during a migration as long as the property was changed to a unique value before the end of the migration, but now a unique value must be supplied when creating the object.
    • ✂ Remove support for Realm Object Server.

    Compatibility

    • ⬆️ File format: Generates Realms with format v11 (Reads and upgrades all previous formats)
    • MongoDB Realm: 84893c5 or later.
    • 🚀 APIs are backwards compatible with all previous releases in the 10.0.0-alpha series.
    • 🚀 Carthage release for Swift is built with Xcode 11.5.

    Internal

    • ⬆️ Upgraded realm-core from v6.0.3 to v10.0.0-beta.1
    • ⬆️ Upgraded realm-sync from v5.0.1 to v10.0.0-beta.2
  • v10.0.0-alpha.6

    May 31, 2020
  • v10.0.0-alpha.5

    May 29, 2020
  • v10.0.0-alpha.4

    May 06, 2020
  • v10.0.0-alpha.3

    May 06, 2020
  • v10.0.0-alpha.1

    April 23, 2020