Changelog History
Page 4
-
v10.0.0-BETA.5 Changes
June 19, 2020๐ 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.
๐จ The old Realm Cloud legacy API's have undergone significant refactoring. The new API's are all located in the
io.realm.mongodb
package withio.realm.mongodb.App
as the entry point.โจ Enhancements
- ๐ฒ [RealmApp] Added support for Api Keys, Server Api Keys and Custom Functions as Credential types when logging in.
- โ Added support for
distinct
queries on non-index and linked fields. (Issue #1906)
๐ Fixed
- None.
Compatibility
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 10.x.y series.
- Realm Studio 10.0.0 and above is required to open Realms created by this version.
Internal
- โฌ๏ธ Upgraded to Object Store commit: e1570f8d3d7cf4d77f049933e6a241a501301383.
-
v10.0.0-BETA.4 Changes
June 11, 2020๐ 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.
๐จ The old Realm Cloud legacy API's have undergone significant refactoring. The new API's are all located in the
io.realm.mongodb
package withio.realm.mongodb.App
as the entry point.๐ฅ Breaking Changes
- None.
โจ Enhancements
- ๐ [RealmApp] Added support for Custom Data using
User.customData()
andUser.refreshCustomData()
. - ๐ [RealmApp] Added support for managing push notifications using
App.getPush()
.
๐ Fixed
- ๐ [RealmApp] Opening a synced Realm for a cached user with expired access token would crash the app with
Assertion failed: cls with (class_name) = ["io/realm/internal/objectstore/OsJavaNetworkTransport$Response"]
. (Issue #6937, since 10.0.0-BETA.1)
Compatibility
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 10.x.y series.
- Realm Studio 10.0.0 and above is required to open Realms created by this version.
Internal
- โก๏ธ Updated to Object Store commit: 017d58fbec8a18ab003976b4c346308df88349a6.
-
v10.0.0-BETA.3 Changes
June 09, 2020๐ 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.
๐จ The old Realm Cloud legacy API's have undergone significant refactoring. The new API's are all located in the
io.realm.mongodb
package withio.realm.mongodb.App
as the entry point.๐ฅ Breaking Changes
- None.
โจ Enhancements
- None.
๐ Fixed
- [RealmApp] When restarting an app, the base URL used would in some cases be incorrect. (Since 10.0.0-BETA.2)
Compatibility
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 10.x.y series.
- Realm Studio 10.0.0 and above is required to open Realms created by this version.
Internal
- โก๏ธ Updated to Object Store commit: c02707bc28e1886970c5da29ef481dc0cb6c3dd8.
-
v10.0.0-BETA.2 Changes
June 08, 2020๐ 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.
๐จ The old Realm Cloud legacy API's have undergone significant refactoring. The new API's are all located in the
io.realm.mongodb
package withio.realm.mongodb.App
as the entry point.๐ฅ Breaking Changes
- None.
โจ Enhancements
- None.
๐ Fixed
- 0๏ธโฃ [RealmApp]
AppConfiguration
did not fallback to the correct default baseUrl if none was provided. (Since 10.0.0-BETA.1) - ๐ [RealmApp] When restarting an app, re-using the already logged in user would result in Sync not resuming. (Since 10.0.0-BETA.1)
Compatibility
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 10.x.y series.
- Realm Studio 10.0.0 and above is required to open Realms created by this version.
Internal
- โก๏ธ Updated to Object Store commit: c50be4dd178ef7e11d453f61a5ac2afa8c1c10bf.
- โก๏ธ Updated to Realm Sync 10.0.0-beta.2.
-
v10.0.0-BETA.1 Changes
June 05, 2020๐ 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.
๐จ The old Realm Cloud legacy API's have undergone significant refactoring. The new API's are all located in the
io.realm.mongodb
package withio.realm.mongodb.App
as the entry point.๐ฅ Breaking Changes
- ๐ [RealmApp] Removed all references and API's releated to permissions. These are now managed through MongoDB Realm.
- ๐ [RealmApp] Query Based Sync API's and Subscriptions. These API's are not initially supported by MongoDB Realm. They will be re-introduced in a future release.
SyncConfiguration.partitionKey()
has been added as a replacement. - ๐ [RealmApp] Removed support for Client Resync. These API's are not initially supported by MongoDB Realm. They will be re-introduced in a future release.
- ๐ [RealmApp] Removed suppport for custom SSL certificates. These API's are not initially supported by MongoDB Realm. They will be re-introduced in a future release.
- โก๏ธ [RealmApp] Destructive updates of a schema of a synced Realm will now consistently throw an
UnsupportedOperationException
instead of some methods throwingIllegalArgumentException
. The affected methods areRealmSchema.remove(String)
,RealmSchema.rename(String, String)
,RealmObjectSchema.setClassName(String)
,RealmObjectSchema.removeField(String)
,RealmObjectSchema.renameField(String, String)
,RealmObjectSchema.removeIndex(String)
,RealmObjectSchema.removePrimaryKey()
,RealmObjectSchema.addPrimaryKey(String)
andRealmObjectSchema.addField(String, Class<?>, FieldAttribute)
โจ Enhancements
- โ Added support for
org.bson.types.Decimal128
andorg.bson.types.ObjectId
as supported fields in model classes. - โ Added support for
org.bson.types.ObjectId
as a primary key. - โ Added support for "Embedded Objects". They are enabled using
@RealmClass(embedded = true)
. An embedded object must have exactly one parent object linking to it and it will be deleted when the the parent is. Embedded objects can also be the parent of other embedded classes. Read more here. (Issue #6713)
๐ Fixed
- โฌ๏ธ After upgrading a Realm file, you may at some point receive a 'NoSuchTable' exception. (Issue Core#3701, since 7.0.0)
- โฌ๏ธ If the Realm file upgrade process was interrupted/killed for various reasons, the following run would some assertions failing. (Issue #6866, since 7.0.0).
Compatibility
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 10.x.y series.
- Realm Studio 10.0.0 and above is required to open Realms created by this version.
Internal
- โก๏ธ Updated to Object Store commit: 6d081a53377514f9b77736cb03051a03d829da922.
- โก๏ธ Updated to Realm Sync 10.0.0-beta.1.
- โก๏ธ Updated to Realm Core 10.0.0-beta.1.
- โฌ๏ธ OKHttp was upgraded to 3.12.0 from 3.10.0.
- โก๏ธ Updated Android Gradle Plugin to 3.6.1.
- โก๏ธ Updated Gradle to 5.6.4
- โก๏ธ Updated Dokka to 0.10.1
- โก๏ธ Updated Android Build Tools to 29.0.2.
- โก๏ธ Updated compileSdkVersion to 29.
-
v10.0.0-ALPHA.1
May 11, 2020 -
v7.0.8 Changes
October 01, 2020โจ Enhancements
- ๐ Slightly improve performance of most operations which read data from the Realm file.
๐ Fixes
- ๐ป Making a query in an indexed property may give a "Key not found" exception. (.NET issue #2025, since 7.0.0)
- Queries for null on non-nullable indexed integer properties could return wrong results if 0 entries should be found. (Since 7.0.0)
- ๐ป Rerunning an equals query on an indexed string column which previously had more than one match and now has one match would sometimes throw a "key not found" exception. (Cocoa issue #6536, Since 7.0.0)
Compatibility
- Realm Object Server: 3.23.1 or later.
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 7.x.y series.
Internal
- โฌ๏ธ Upgraded to Object Store commit: 8a68df3e9fa7743c13d927eb7fc330ed9bb06693.
- โฌ๏ธ Upgraded to Realm Sync: 5.0.28.
- โฌ๏ธ Upgraded to Realm Core: 6.1.3.
-
v7.0.7 Changes
September 25, 2020โจ Enhancements
- None.
๐ Fixes
- When querying a class where object references are part of the condition, the application may crash if objects have recently been added to the target table. (Issue #7118, since v7.0.0)
Compatibility
- Realm Object Server: 3.23.1 or later.
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 7.x.y series.
Internal
- โฌ๏ธ Upgraded to Object Store commit: 37e86c2905bfd424c16fc5d7860a1298bfc0ffa2.
- โฌ๏ธ Upgraded to Realm Sync: 5.0.25.
- โฌ๏ธ Upgraded to Realm Core: 6.1.1.
-
v7.0.6 Changes
September 18, 2020โจ Enhancements
- ๐ Better exception messaging for UTF encoding errors. (Issue #7093)
๐ Fixes
- ๐ Fixes concurrent modification exceptions in the schema when refreshing a Realm (Issue #6876)
- ๐ If you use encryption your application cound crash with a message like "Opening Realm files of format version 0 is not supported by this version of Realm". (#6889 among others, since v7.0.0)
Compatibility
- Realm Object Server: 3.23.1 or later.
- Realm Studio: 5.0.0 or later.
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 7.x.y series.
Internal
- โฌ๏ธ Upgraded to Object Store commit: e29b5515df8b8adfe2454424b78878bb63879307.
- โฌ๏ธ Upgraded to Realm Sync: 5.0.23.
- โฌ๏ธ Upgraded to Realm Core: 6.0.26.
-
v7.0.5 Changes
September 09, 2020โจ Enhancements
- None.
๐ Fixes
- โก๏ธ If you have a Realm file growing towards 2Gb and have a model class with more than 16 properties, then you may get a "Key not found" exception when updating an object. (Realm JS issue #3194, since v7.0.0)
- In cases where you have more than 32 properties in a model class, you may get a currrupted file resulting in various crashes (Issue #7057, since v7.0.0)
Compatibility
- Realm Object Server: 3.23.1 or later.
- Realm Studio: 5.0.0 or later.
- โฌ๏ธ File format: Generates Realms with format v11 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- ๐ APIs are backwards compatible with all previous release of realm-java in the 7.x.y series.
Internal
- โฌ๏ธ Upgraded to Realm Sync: 5.0.22.
- โฌ๏ธ Upgraded to Realm Core: 6.0.25.