All Versions
254
Latest Version
Avg Release Cycle
12 days
Latest Release
11 days ago

Changelog History
Page 5

  • v10.0.0-beta.3 Changes

    August 18, 2020

    ๐Ÿš€ This release also contains all changes from 5.3.2.

    ๐Ÿ’ฅ Breaking Changes

    • The following classes & aliases have been renamed to align Cocoa with the other Realm SDKs:
    Old API New API
    RLMSyncUser RLMUser
    ๐Ÿ”€ SyncUser
    RLMAppCredential RLMCredential
    AppCredential Credential
    RealmApp App
    RLMUserAPIKeyProviderClient RLMAPIKeyAuth
    RLMUsernamePasswordProviderClient RLMEmailPasswordAuth
    UsernamePasswordProviderClient EmailPasswordAuth
    UserAPIKeyProviderClient APIKeyAuth
    • ๐Ÿšš The following functionality has also moved to the User
    Old API New API
    [RLMApp callFunctionNamed:] [RLMUser callFunctionNamed:]
    App.functions User.functions
    [RLMApp mongoClientWithServiceName:] [RLMUser mongoClientWithServiceName:]
    App.mongoClient(serviceName) User.mongoClient(serviceName)
    [RLMApp userAPIKeyProviderClient] [RLMUser apiKeyAuth]
    App.userAPIKeyProviderClient App.apiKeyAuth()
    [RLMApp logOut:] [RLMUser logOut]
    App.logOut(user) User.logOut()
    ๐Ÿšš [RLMApp removeUser:]
    ๐Ÿšš App.remove(user)
    [RLMApp linkUser:credentials:] [RLMUser linkWithCredentials:]
    App.linkUser(user, credentials) User.link(credentials)
    • refreshCustomData() on User now returns void and passes the custom data to the callback on success.

    Compatibility

    • ๐Ÿš€ This release introduces breaking changes w.r.t some sync classes and MongoDB Realm Cloud functionality. ๐Ÿ‘€ (See the breaking changes section for the full list)
    • โฌ†๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats)
    • Realm Studio: 10.0.0 or later.
    • ๐Ÿš€ Carthage release for Swift is built with Xcode 11.5.

    Internal

    • โฌ†๏ธ Upgraded realm-core from ? to ?
    • โฌ†๏ธ Upgraded realm-sync from ? to ?
  • v10.0.0-beta.2 Changes

    June 09, 2020

    ๐Ÿ‘ Xcode 11.3 and iOS 9 are now the minimum supported versions.

    โœจ Enhancements

    • โž• Add support for building with Xcode 12 beta 1. watchOS currently requires removing x86_64 from the supported architectures. Support for the new 64-bit watch simulator will come in a future release.

    ๐Ÿ›  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.

    • Opening a Realm file in file format v6 (created by Realm Cocoa versions between 2.4 and 2.10) would crash. (Since 5.0.0, Core #3764).

    • โฌ†๏ธ Upgrading v9 (pre-5.0) Realm files would create a redundant search index for primary key properties. This index would then be removed the next time the Realm was opened, resulting in some extra i/o in the upgrade process. (Since 5.0.0, Core #3787).

    • ๐Ÿ›  Fixed a performance issue with upgrading v9 files with search indexes on non-primary-key properties. (Since 5.0.0, Core #3767).

    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 Changes

    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 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.
    • List.index(of:) would give incorrect results if it was the very first thing called on that List after a Realm was refreshed following a write which modified the List. (Since 5.0.0, #6606).
    • If a ThreadSafeReference was the only remaining reference to a Realm, multiple copies of the file could end up mapped into memory at once. This probably did not have any symptoms other than increased memory usage. (Since 5.0.0).

    Compatibility

    • โฌ†๏ธ File format: Generates Realms with format v10 (Reads and upgrades all previous formats)
    • Realm Object Server: 3.21.0 or later.
    • Realm Studio: 3.11 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.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
    • โฌ†๏ธ Upgraded realm-core from v6.0.6 to v6.0.7
    • โฌ†๏ธ Upgraded realm-sync from v5.0.5 to v5.0.6
    • โฌ†๏ธ Upgraded realm-core from v6.0.6 to v6.0.8
    • โฌ†๏ธ Upgraded realm-sync from v5.0.5 to v5.0.7
  • 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
  • v10.0.0-alpha.0

    April 23, 2020
  • v5.5.0 Changes

    October 12, 2020

    โœจ Enhancements

    • โž• Add the ability to capture a NotificationToken when using a Combine publisher that observes a Realm Object or Collection. The user will call saveToken(on:at:) directly after invoking the publisher to use the feature.

    ๐Ÿ›  Fixed

    • When using Realm.write(withoutNotifying:) there was a chance that the supplied observation blocks would not be skipped when in a write transaction. (Object Store #1103)
    • Comparing two identical unmanaged List<>/RLMArray objects would fail. (#5665).

    Compatibility

    • โฌ†๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats)
    • Realm Object Server: 3.21.0 or later.
    • Realm Studio: 5.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 12.