You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add 4 new fields to `NamedSubscription` which reprents query-based subscriptions: `createdAt`, `updatedAt`, `expiresAt` and `timeToLive`. These make it possible to better reason about and control current subscriptions. ([#2266](https://github.com/realm/realm-js/issues/2266))
* Add `Realm.Results.description()` which returns a string representation of the query.
8
8
* Add support for defining mapped properties in the schema using `name: { type: 'int', mapTo: 'internalName' }`. In that case the mapped name is used internally in the underlying Realm file, while the property key is used for reading/writing the property as well as querying it.
9
9
* Add `RealmObject.addListener()`, `RealmObject.removeListener()`, and `RealmObject.removeAllListeners()` to set up and remove object-level notifications. ([#763](https://github.com/realm/realm-js/issues/763))
10
-
*Added a new `Realm.UpdateMode` enum with the values: `never`, `modified`, `all`. This replaces the current
10
+
*Add a new `Realm.UpdateMode` enum with the values: `never`, `modified`, `all`. This replaces the current
11
11
`Realm.create(type, properties, update)` with `Realm.create(type, properties, updateMode)`.
12
12
`Realm.create(type, properties, 'modified')` is a new mode that only update existing properties that actually
13
13
changed, while `Realm.create(type, properties, 'never')` is equal to `Realm.create(type, properties, false)` and
14
14
`Realm.create(type, properties, 'all')` is equal to `Realm.create(type, properties, true)`.
15
15
`Realm.create(type, properties, update)` is now deprecated. ([#2089](https://github.com/realm/realm-js/issues/2089))
16
16
17
17
### Fixed
18
-
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-js/issues/????), since v?.?.?)
19
18
* Fixed retrying authentication requests. The issue could be observed as "Cannot read property 'get' of undefined." errors being thrown when the authenticate requests were retried. ([#2297](https://github.com/realm/realm-js/issues/2297), since v2.24.0)
20
19
* Due to a rare race condition in some Android devices (including Samsung SM-T111), an app could crash hard. A workaround was introduced but never included in any releases. ([#1895](https://github.com/realm/realm-js/issues/1895), since v2.11.0)
0 commit comments