2018-06-18 17:02:01 +00:00
X.Y.Z Release notes
2018-06-18 20:55:01 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
2018-06-18 17:02:01 +00:00
### Breaking changes
* None.
2018-06-18 20:55:01 +00:00
### Enhancements
2018-06-19 10:06:12 +00:00
* Added `Realm.createTemplateObject(objectSchema)` (#1870).
2018-06-18 20:55:01 +00:00
2018-06-18 17:02:01 +00:00
### Bug fixes
2018-06-19 12:46:09 +00:00
* [Sync] Fixed a bug which could potentially flood Realm Object Server with PING messages.
2018-06-18 17:02:01 +00:00
### Internals
2018-06-19 12:46:09 +00:00
* Upgraded to Realm Sync v3.5.6.
2018-06-19 10:06:12 +00:00
* Realm Core v5.6.2.
2018-06-19 08:56:49 +00:00
2.9.0 Release notes (2018-6-19)
2018-06-18 17:02:01 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
2018-06-19 08:56:49 +00:00
* Added support for compacting synchronized Realms and allowed setting the `shouldCompactOnLaunch` config property for them.
2018-06-18 17:02:01 +00:00
### Bug fixes
2018-06-18 17:03:17 +00:00
* Fix incorrect documentation of the `shouldCompactOnLaunch` parameters.
2018-06-18 17:02:01 +00:00
### Internals
2018-06-19 10:06:12 +00:00
* Realm Core v5.6.2.
* Realm Sync v3.5.5.
2018-06-18 17:02:01 +00:00
2018-06-18 13:58:15 +00:00
2.8.5 Release notes (2018-6-18)
2018-06-18 13:20:52 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* [Sync] Fixed a bug that could result in a crash with the message "bad changeset error".
### Internals
* Upgraded to Realm Sync v3.5.5.
* Realm Core v5.6.2.
2018-06-18 20:55:01 +00:00
2018-06-15 17:31:43 +00:00
2.8.4 Release notes (2018-6-15)
2018-06-15 17:04:14 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a potential corruption.
### Internals
* Upgraded to Realm Core v5.6.2.
* Upgraded to Realm Sync v3.5.4.
2018-06-13 13:45:32 +00:00
2.8.3 Release notes (2018-6-13)
2018-06-12 13:36:02 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a bug in how arrays of primitive types are represented. The bug prevented a schema from one Realm to be used when opening another (#1847).
2018-06-13 13:44:16 +00:00
* Added a more readable error message in the query parser when requesting an a bad argument (#1808).
2018-06-12 13:36:02 +00:00
### Internal
2018-06-13 13:44:16 +00:00
* Upgraded to Realm Core v5.6.1.
* Upgraded to Realm Sync v3.5.3.
2018-06-12 13:36:02 +00:00
2018-06-12 08:33:52 +00:00
2.8.2 Release notes (2018-6-12)
2018-06-12 08:30:14 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* [Sync] Fixed a problem which would sometimes cause `bad permission object` and `bad changeset` errors.
### Internal
* Upgraded to Realm Sync v3.5.2.
* Realm Core v5.6.0.
2018-06-12 13:36:02 +00:00
2018-06-07 23:03:33 +00:00
2.8.1 Release notes (2018-6-8)
2018-06-06 18:13:23 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
2018-06-07 09:23:59 +00:00
* Add the `oldModifications` and `newModifications` properties to the listener change objects, which report the indices that changed in the collection both before and after the changes being notified for. The `modifications` property is kept as an alias for `oldModifications` but might be removed in a future version.
2018-06-06 18:13:23 +00:00
### Bug fixes
* [Sync] Fixed a bug which crash query-based Realms. A bug in gcc's optimizer will generate code which in some case will lead to a memory violation and eventually a segmentation fault.
### Internal
2018-06-07 12:45:16 +00:00
* Changed download URL for Linux binaries (`scripts/download-realm.js`).
2018-06-06 18:13:23 +00:00
* Upgraded to Realm Sync v3.5.1.
* Realm Core v5.6.0.
* Realm Sync v3.5.1.
2018-06-06 07:00:12 +00:00
2.8.0 Release notes (2018-6-6)
2018-05-25 10:00:42 +00:00
=============================================================
### Compatibility
2018-05-30 08:47:12 +00:00
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
2018-05-25 10:00:42 +00:00
2018-05-30 11:36:54 +00:00
### Notes
2018-06-01 11:27:55 +00:00
The feature known as Partial synchronization has been renamed to Query-based synchronization and is now the default mode for synchronized Realms. This has impacted a number of APIs. See below for the details.
2018-05-30 10:54:51 +00:00
### Deprecated
* [Sync] `Realm.Configuration.SyncConfiguration.partial` has been deprecated in favor of `Realm.Configuration.SyncConfiguration.fullSynchronization` .
2018-06-01 11:27:55 +00:00
* [Sync] `Realm.automaticSyncConfiguration()` has been deprecated in favor of `Realm.Sync.User.createConfiguration()` .
2018-05-30 10:54:51 +00:00
2018-05-25 10:00:42 +00:00
### Breaking changes
* None.
### Enhancements
2018-05-30 10:54:51 +00:00
* [Sync] `Realm.Configuration.SyncConfiguration.fullSynchronization` has been added.
* [Sync] `Realm.Sync.User.createConfiguration(config)` has been added for creating default and user defined sync configurations.
2018-05-25 10:00:42 +00:00
### Bug fixes
2018-05-30 08:52:21 +00:00
* Fixed TypeScript definition of `Realm.objects()` and `Realm.objectForPrimaryKey()` (#1803).
2018-05-25 10:00:42 +00:00
### Internal
2018-05-30 10:54:51 +00:00
* [Sync] `Realm.Configuration.SyncConfig._disablePartialSyncUrlChecks` has been renamed to `Realm.Configuration.sync._disableQueryBasedSyncUrlChecks` .
2018-05-30 08:47:12 +00:00
* Realm Sync v3.3.0.
* Realm Core v5.6.0.
2018-06-01 09:39:13 +00:00
2.7.2 Release notes (2018-6-1)
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a segfault when the object schema is unknown (realm-js-private #454 ).
### Internal
* Realm Sync v3.3.0.
* Realm Core v5.6.0.
2018-05-31 12:28:44 +00:00
2.7.1 Release notes (2018-5-31)
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a crash when invalid schema cache is used to look up a property (realm-js-private #452 ).
### Internal
* Realm Sync v3.3.0.
* Realm Core v5.6.0.
2018-05-29 12:13:01 +00:00
2.7.0 Release notes (2018-5-29)
2018-05-25 10:00:42 +00:00
=============================================================
### Compatibility
2018-05-29 12:13:01 +00:00
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
2018-05-25 10:00:42 +00:00
### Breaking changes
* None.
### Enhancements
2018-05-29 11:24:54 +00:00
* Added `isEmpty()` method on `Realm.Results` and `Realm.List` .
2018-05-29 10:22:34 +00:00
* Added schema change listener to `Realm.addListener()` (#1825).
2018-05-25 10:00:42 +00:00
### Bug fixes
2018-05-30 08:47:12 +00:00
* Fixed `Realm.open()` to work without passing a config.
2018-05-29 12:13:01 +00:00
* Fixed a bug in `Realm.open()` to work without passing a config.
2018-05-25 10:00:42 +00:00
### Internal
2018-05-29 12:13:01 +00:00
* Realm Sync v3.3.0.
* Realm Core v5.6.0.
2018-05-25 10:00:42 +00:00
2018-05-16 11:48:38 +00:00
2.6.0 Release notes (2018-5-16)
2018-05-14 12:22:38 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* [Sync] The SSL configuration options are now grouped in a new config object. (#1465)
* [Sync] The Adapter can accept a new config parameter that specifies SSL settings for spawned sync sessions.
2018-05-15 12:31:54 +00:00
* Added `Object.linkingObjectsCount()` method, that returns total count of incoming links.
2018-05-14 12:22:38 +00:00
### Bug fixes
2018-05-16 13:20:52 +00:00
* Fix a crash when attempting to use the data adaptor or sync event listener introduced in 2.4.1.
2018-05-14 12:22:38 +00:00
### Internal
2018-05-16 13:20:52 +00:00
* Realm Sync v3.3.0.
* Realm Core v5.6.0.
2018-05-14 12:22:38 +00:00
2018-05-14 12:25:54 +00:00
2.5.0 Release notes (2018-5-14)
2018-05-08 09:32:28 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
2018-05-14 08:52:12 +00:00
* [Sync] Emit a `delete` event to the Sync event listener whenever a Realm matching the regex is deleted from the server.
2018-05-08 09:32:28 +00:00
### Bug fixes
* Building React Native Android projects using Java version 9 used deprecated API's (#1779).
### Internal
* None.
2018-05-07 12:50:07 +00:00
2.4.1 Release notes (2018-5-7)
2018-03-14 07:26:41 +00:00
=============================================================
2018-05-07 08:09:22 +00:00
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
2018-03-14 07:26:41 +00:00
### Breaking changes
* None.
### Enhancements
2018-05-07 12:50:07 +00:00
* Added minimal support for Realm deletions to the Global Notifier (realm-js-private #443 ).
2018-03-14 07:26:41 +00:00
### Bug fixes
2018-05-07 09:26:29 +00:00
* Fixed TypeScript defintion for `open_ssl_verify_callback` configuration option (#1652).
2018-03-14 07:26:41 +00:00
### Internal
2018-05-07 08:09:22 +00:00
* Updated to Relm Sync 3.3.0.
* Updated to Realm Core 5.6.0.
2018-04-26 09:45:38 +00:00
2.4.0 Release notes (2018-4-26)
2018-04-17 13:01:02 +00:00
=============================================================
2018-04-25 07:48:34 +00:00
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
2018-04-17 13:01:02 +00:00
### Breaking changes
2018-03-14 07:26:41 +00:00
* None.
2018-04-17 13:01:02 +00:00
### Enhancements
2018-04-25 10:54:25 +00:00
* Added password reset wrappers (#1699).
* Added a certificate validation using Android Keystore for RN (#1761).
2018-04-17 13:01:02 +00:00
### Bug fixes
* Fixed logout error due to fetch body not being stringified (#1731).
2018-04-25 07:48:34 +00:00
* Added `Subscription` import to `browser/index.js` and register type converter (#1711).
2018-04-26 09:45:38 +00:00
* Fixed call to `logout()` when debugging React Native apps (#1744).
2018-04-17 13:01:02 +00:00
### Internal
2018-04-25 07:48:34 +00:00
* Updated `scripts/test.sh` so it doesn't hang forever when the React tests fail to start (#1764).
2018-04-17 13:01:02 +00:00
2018-04-12 16:38:05 +00:00
2.3.4 Release notes (2018-4-12)
2018-04-03 09:48:33 +00:00
=============================================================
2018-04-12 16:38:05 +00:00
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
2018-04-03 09:48:33 +00:00
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-04-12 16:20:25 +00:00
* Fixed named LinkingObject queries across different classes (#1734).
* Fixed a bug when refreshing admin token due to network errors (realm-js-private #433 ).
2018-04-03 09:48:33 +00:00
### Internal
* None.
2018-03-23 10:22:29 +00:00
2.3.3 Release notes (2018-3-23)
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a bug where leaking Realms when an error occurs within an event handler (#1725).
### Internal
* Added trace logging to the global notifier (realm-js-private #426 ).
2018-03-21 17:45:36 +00:00
2.3.2 Release notes (2018-3-21)
2018-03-21 17:18:37 +00:00
=============================================================
### Compatibility
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
* Realm Object Server: 3.0.0 or later
### Breaking changes
* None.
### Enhancements
* Added `Realm.Sync.Subscription.removeAllListeners()` .
### Internal
* Tested with Realm Object Server 3.0.0.
2018-03-16 11:34:16 +00:00
2.3.1 Release notes (2018-3-16)
2018-03-14 07:26:41 +00:00
=============================================================
2018-03-16 12:45:40 +00:00
### Compatibility
2018-03-16 12:44:14 +00:00
* Sync protocol: 24
* Server-side history format: 4
* File format: 7
2018-03-21 17:18:37 +00:00
* Realm Object Server: 3.0.0-alpha.8 or later
2018-03-16 12:44:14 +00:00
2018-03-14 07:26:41 +00:00
### Breaking changes
* None.
### Enhancements
* Added an optional user as argument to `Realm.automaticSyncConfiguration` (#1708).
### Bug fixes
2018-03-15 23:08:48 +00:00
* [Sync] Avoid hammering the ROS authentication service when large numbers of Realms are opened at once.
2018-03-14 07:26:41 +00:00
### Internal
2018-03-21 17:18:37 +00:00
* Tested with Realm Object Server 3.0.0-rc.1.
2018-03-14 07:26:41 +00:00
2018-03-13 13:29:50 +00:00
2.3.0 Release notes (2018-3-13)
2018-01-31 09:17:32 +00:00
=============================================================
### Breaking changes
2018-02-27 09:58:58 +00:00
* [Sync] Sync protocol changed to version 24.
* [Sync] History schema format for server-side Realm files bumped to version 4. This means that after the server has been upgraded, it cannot be downgraded again without restoring state from backup.
* [Sync] `Realm.subscribeToObjects()` has been removed. Use `Realm.Results.subscribe()` instead.
2018-01-31 09:17:32 +00:00
### Enhancements
2018-02-27 09:58:58 +00:00
* [Sync] Reduced initial download times in Realms with long transaction histories.
2018-02-27 10:40:36 +00:00
* [Sync] Wait for pending notifications to complete when removing a sync listener (#1648).
2018-02-07 15:11:43 +00:00
* Enabled sort and distinct in the query string. If sort or distinct are also applied outside of the query string, the conditions are stacked.
- Example syntax: `age > 20 SORT(name ASC, age DESC) DISTINCT(name)`
- The ordering for sorting can be one of the following case insensitive literals: `ASC` , `ASCENDING` , `DESC` , `DESCENDING` .
- Any number of properties can appear inside the brackets in a comma separated list.
- Any number of sort/distinct conditions can be indicated, they will be applied in the specified order.
- Sort or distinct cannot operate independently, these conditions must be attached to at least one query filter.
2018-02-27 10:40:36 +00:00
* Added support for queries over named backlinks (#1498/#1660).
- Example syntax: `parents.age > 25` and `parents.@count == 2` .
2018-02-27 09:58:58 +00:00
* [Sync] Added `Realm.Results.subscribe()` to subscribe to partial synced Realms.
2018-03-06 17:05:17 +00:00
* [Sync] Added class `Realm.Sync.Subscription` and enum `Realm.Sync.SubscriptionState` to support partial synced Realms.
* [Sync] Added an object-level permission subsystem. It is possible to grant fine-grained priviliges to users.
* Added object-level permissions:
- Schemas `Realm.Permissions.Realm` , `Realm.Permissions.Class` , `Realm.Permissions.Role` , `Realm.Permissions.User` , and `Realm.Permissions.Permission` to support working with permissions. These schemas can be used in user-defined Realms and schemas.
- Permissions are enforced by the object server but connectivity is not required.
- Method `Realm.privilges()` to compute privileges on a Realm, a Realm object schema, or a Realm object. The method returns either a `Realm.Permissions.Realm` or `Realm.Permissions.Class` object.
- For non-synced Realms, all privileges are always granted.
- For more details, please read the reference documentation.
2018-03-12 09:42:51 +00:00
* [Sync] Revoke refresh token upon logout (#1354).
2018-03-13 13:27:31 +00:00
* Added `Realm.automaticSyncConfiguration()` which will return the configuration for a default synced Realm (#1688).
2018-03-12 09:42:51 +00:00
* [Sync] Deprecated `Realm.Sync.setFeatureToken` (#1689).
2018-01-31 09:17:32 +00:00
2018-03-09 08:56:30 +00:00
### Bug fixes
* Fixed usage of disk space preallocation which would occasionally fail on recent MacOS running with the APFS filesystem (Realm Core #3005 ).
2018-01-31 09:17:32 +00:00
### Internal
2018-03-09 08:56:30 +00:00
* Updated to Realm Core 5.4.0.
2018-03-13 13:27:31 +00:00
* Updated to Realm Sync 3.0.0.
2018-03-01 14:37:44 +00:00
* Tested against Realm Object Server 3.0.0-alpha.8.
2018-03-13 07:27:47 +00:00
* Added `_disablePartialSyncUrlChecks` to `Realm.Configuration` .
2018-01-31 09:17:32 +00:00
2018-05-03 09:24:09 +00:00
2018-04-13 08:09:19 +00:00
2.2.20 Release notes (2018-4-13)
2018-04-13 08:07:56 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* None.
### Internal
* Updated to Realm Sync 2.2.17
2018-04-10 08:44:51 +00:00
2.2.19 Release notes (2018-4-10)
2018-04-10 08:43:13 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Avoid crashing if partial Realms find their way into the admin Realm when using Realm Object Server v3.0.0 or later (realm-js-private #430 ).
2018-04-13 08:07:56 +00:00
### Internal
2018-04-10 08:43:13 +00:00
* None.
2018-03-23 08:57:42 +00:00
2.2.18 Release notes (2018-3-23)
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a bug where leaking Realms when an error occurs within an event handler (#1725).
### Internal
* Added trace logging to the global notifier (realm-js-private #426 ).
2018-03-21 09:33:49 +00:00
2.2.17 Release notes (2018-3-21)
2018-03-21 09:20:00 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* [Sync] Do a better job of not opening the notifier pipe file for global notifier realms.
### Internal
* None.
2018-03-16 08:38:35 +00:00
2.2.16 Release notes (2018-3-16)
2018-03-16 00:09:23 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* [Sync] Avoid hammering the ROS authentication service when large numbers of Realms are opened at once.
### Internal
* None.
2018-03-09 10:56:36 +00:00
2.2.15 Release notes (2018-3-9)
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fixed a bug that could result in notifications from the global notifier being delayed or not delivered at all when multiple Realms change at once.
### Internal
* None.
2018-02-20 17:03:54 +00:00
2018-03-05 09:48:44 +00:00
2.2.14 Release notes (2018-3-5)
2018-03-05 09:46:48 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-03-06 08:53:53 +00:00
* [Sync] Fixed race condition in handling of session bootstrapping in client.
2018-03-05 09:46:48 +00:00
### Internal
* Updated to Realm Sync 2.2.15.
2018-03-02 19:44:00 +00:00
2.2.13 Release notes (2018-3-2)
2018-03-02 18:43:06 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-03-06 08:53:53 +00:00
* [Sync] Fixed handling of SSL certificates for the sync client.
2018-03-02 18:43:06 +00:00
### Internal
* Updated to Realm Sync 2.2.14.
2018-02-22 23:29:41 +00:00
2.2.12 Release notes (2018-2-23)
2018-02-22 19:38:18 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Validate that a given type appears at most once in the schema.
### Internal
* None.
2018-02-20 13:50:43 +00:00
2.2.10 Release notes (2018-2-20)
2018-02-20 13:43:36 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] A use-after-free bug was fixed which could cause arrays of primitives to behave unexpectedly.
2018-02-20 13:43:36 +00:00
### Internal
* Updated to Realm Sync 2.2.12.
2018-02-19 20:04:13 +00:00
2.2.9 Release notes (2018-2-19)
2018-02-19 20:00:52 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Improved root certificate checking.
### Internal
* Updated to Realm Sync 2.2.11.
2018-02-13 21:19:48 +00:00
2.2.8 Release notes (2018-2-13)
2018-02-13 21:18:03 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
2018-02-27 09:58:58 +00:00
* [Sync] For OpenSSL, the sync client includes a fixed list of certificates in its SSL certificate verification besides the default trust store in the case where the user is not specifying its own trust certificates or callback.
2018-02-13 21:18:03 +00:00
### Bug fixes
* None.
2018-02-14 07:56:14 +00:00
### Internal
2018-02-13 21:18:03 +00:00
* Updated to Realm Sync 2.2.10.
2018-02-06 12:33:56 +00:00
2.2.7 Release notes (2018-2-6)
2018-02-02 08:13:36 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
2018-02-27 09:58:58 +00:00
* [Sync] Wait for pending notifications to complete when removing a sync listener (#1648).
2018-02-07 07:25:54 +00:00
* Add schema name to missing primary key error message
2018-02-02 08:13:36 +00:00
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug causing use-after-free crashes in Global Notifier (realm-js-private #405 ).
2018-02-02 08:13:36 +00:00
### Internal
* None.
2018-01-26 16:22:55 +00:00
2.2.6 Release notes (2018-1-26)
2018-01-26 16:21:09 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug where arguments were not transferred when debugging.
2018-01-26 16:21:09 +00:00
### Internal
* None.
2018-01-25 15:02:53 +00:00
2.2.5 Release notes (2018-1-25)
2018-01-24 07:07:19 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a typing error leading to `_getExistingUser` wasn't defined in the Chrome debugging support library (#1625).
2018-01-25 14:44:47 +00:00
* Fixed a bug in the TypeScript definition of `PermissionCondition` (#1574).
2018-01-25 12:26:44 +00:00
* [Electron] Fixed a `dlopen` error related to OpenSSL that prevented using realm-js on Linux (#1636).
2018-01-24 07:07:19 +00:00
### Internal
* None.
2018-01-18 12:32:03 +00:00
2.2.4 Release notes (2018-1-18)
2018-01-18 11:21:35 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug where errors in `refreshAdminToken` wasn't catched (#1627).
* [Sync] Added `_getExitingUser` to the Chrome debugging support library.
2018-01-18 11:21:35 +00:00
### Internal
* None.
2018-01-17 12:13:32 +00:00
2.2.3 Release notes (2018-1-17)
2018-01-17 11:15:20 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug in upload progress reporting.
* [Sync] Fixed a bug where any errors which occurred when trying to sync the admin Realm were ignored, which made attempting to add a listener with an invalid admin user silently do nothing.
2018-01-17 11:15:20 +00:00
### Internal
* None.
2018-01-16 09:48:05 +00:00
2.2.2 Release notes (2018-1-16)
2018-01-16 09:11:30 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Added missing `Realm.Sync` listener functions.
2018-01-16 09:11:30 +00:00
### Internal
* None.
2018-01-13 09:04:27 +00:00
2.2.1 Release notes (2018-1-13)
2018-01-13 09:02:08 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug preventing opening Realms with an admin token without a working ROS directory service (#1615).
2018-01-13 09:02:08 +00:00
### Internal
* None.
2018-01-12 09:35:28 +00:00
2.2.0 Release notes (2018-1-12)
2017-12-19 09:17:12 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
2018-01-11 10:52:46 +00:00
* Added new query features to support a subset of `NSPredicates` for example `LIKE` for string matches, `@count` and `@sum` in lists. See documentation for more details.
* Potential performance enhancements in cases of many writes between queries.
2018-02-27 09:58:58 +00:00
* [Sync] Added method `Realm.Sync.User.authenticate` to unify authentication of users.
* [Sync] Added JWT authenfication (#1548).
2017-12-19 09:17:12 +00:00
### Bug fixes
2018-01-11 15:00:31 +00:00
* Fix a bug where `Realm.open` could unexpectedly raise a "Realm at path ... already opened with different schema version" error.
2018-01-12 09:28:05 +00:00
* `subscribeToObjects` was added as a property for Chrome debugging (#1608).
2018-01-13 09:02:08 +00:00
* Increased request timeout for token refresh requests to 10 seconds. This should help with failing token refreshes on a loaded server (#1586).
2017-12-19 09:17:12 +00:00
### Internal
2018-01-11 10:52:46 +00:00
* Updated to Realm Sync 2.2.9.
* Updated to Realm Core 5.1.2 (see "Enhancements").
2018-01-08 09:32:05 +00:00
* Explicitly send `register: false` when logging in with `Realm.Sync.User.login` to avoid creating the user if they don't exist.
2017-12-19 09:17:12 +00:00
2017-12-15 16:33:45 +00:00
2.1.1 Release notes (2017-12-15)
2017-12-15 16:25:42 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug where long reconnection happens when a proxy in front of the sync worker returns one of those.
2017-12-15 16:25:42 +00:00
### Internal
2018-02-27 09:58:58 +00:00
* [Sync] Updated to Realm Object Server v2.2.0 for testing.
2017-12-15 16:25:42 +00:00
* Updated to Realm Sync 2.1.10 (see "Bug fixes").
2017-12-14 12:36:18 +00:00
2.1.0 Release notes (2017-12-14)
2017-12-13 09:09:26 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* Added property `Realm.isClosed` which indicates if a Realm instance is closed or not.
2017-12-14 06:53:03 +00:00
* Added property `disableFormatUpgrade` to the Realm configuration object which disables automatic file format upgrade when opening a Realm file.
2017-12-13 09:09:26 +00:00
### Bug fixes
* None.
### Internal
2017-12-14 12:36:18 +00:00
* Updated to React Native 0.50.4 (test and example apps).
2017-12-13 09:09:26 +00:00
2017-12-08 09:57:55 +00:00
2.0.13 Release notes (2017-12-8)
2017-12-07 09:36:24 +00:00
=============================================================
### Breaking changes
2017-12-08 09:57:55 +00:00
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-12-08 09:57:55 +00:00
* None.
2017-12-07 09:36:24 +00:00
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] When authentication fails due to a misbehaving server, a proper error is thrown.
2017-12-07 09:36:24 +00:00
### Internal
2018-02-27 09:58:58 +00:00
* [Sync] Strings can now be assigned to Date columns. When that happens the JavaScript Date constructor will be invoked to parse the string.
* [Sync] Base64 strings can now be assigned to Data columns.
2017-12-07 09:36:24 +00:00
2017-12-01 12:03:22 +00:00
2.0.12 Release notes (2017-12-1)
2017-11-24 14:06:53 +00:00
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-12-08 09:57:55 +00:00
* None.
2017-11-24 14:06:53 +00:00
### Bug fixes
* Fixed a bug in 3rd party JSON parser: `localeconv()` does not exist on Android API < 21 and should not be called .
### Internal
2017-12-01 12:00:02 +00:00
* Fixed issues in unit tests (`addListener` hangs on Android).
2017-11-30 21:38:57 +00:00
* Upgraded to Realm Sync 2.1.8 (no external effects).
2017-11-24 14:06:53 +00:00
2017-11-23 16:54:11 +00:00
2.0.11 Release notes (2017-11-23)
2017-11-23 16:21:03 +00:00
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-11-23 16:21:03 +00:00
* None
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Fixed a bug where deleted-then-recreated objects with identical primary keys to become empty.
* [Sync] Fixed a bug in outward partial sync is changed to ensure convergence of partial sync in the case where the client creates a primary key object, that is already present on the server, and subscribes to it in the same transaction.
2017-11-23 16:21:03 +00:00
### Internal
* Updated to Realm Sync 2.1.7 (see under "Bug fixes").
2017-11-21 09:26:07 +00:00
2.0.10 Release notes (2017-11-21)
2017-11-20 12:55:39 +00:00
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-11-21 07:47:27 +00:00
* None
2017-11-20 12:55:39 +00:00
### Bug fixes
2017-11-21 07:01:13 +00:00
* Fix json parsing in RN debugger.
2017-11-21 08:07:13 +00:00
### Internal
* None.
2.0.9 Release notes (2017-11-20)
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-11-21 08:07:13 +00:00
* None
### Bug fixes
2017-11-20 21:12:18 +00:00
* Reenable Realm for RN Android (#1506), which was disabled only in 2.0.8 by mistake.
2017-11-20 12:55:39 +00:00
### Internal
* None.
2017-11-17 20:28:15 +00:00
2.0.8 Release notes (2017-11-17)
2017-11-16 13:58:48 +00:00
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2018-02-27 09:58:58 +00:00
* [Sync] Improving performance of processing large changesets.
2017-11-16 13:58:48 +00:00
### Bug fixes
2018-02-27 09:58:58 +00:00
* [Sync] Changesets over 16MB in size are now handled correctly.
2017-11-16 13:58:48 +00:00
### Internal
2017-11-17 14:51:28 +00:00
* Updated to Realm Sync 2.1.6.
2017-11-16 13:58:48 +00:00
* Updated to JSON for Modern C++ 2.1.1.
2017-11-15 13:05:25 +00:00
2.0.7 Release notes (2017-11-15)
2017-11-14 09:11:28 +00:00
=============================================================
### Breaking changes
2017-11-15 19:51:10 +00:00
* None
2017-11-14 09:11:28 +00:00
2017-12-07 09:36:24 +00:00
### Enhancements
2017-11-14 09:11:28 +00:00
* None
### Bug fixes
* Fixes Realm.open hangs in React Native debugger for iOS and Android
### Internal
2017-11-14 14:04:30 +00:00
* Updated to Realm Sync 2.1.4.
2017-11-14 09:11:28 +00:00
2017-11-10 13:58:05 +00:00
2.0.6 Release notes (2017-11-10)
2017-11-09 22:04:49 +00:00
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-11-10 09:05:06 +00:00
* Improved notification performance for objects with no object or list properties.
2017-11-09 22:04:49 +00:00
### Bug fixes
2017-11-10 09:05:06 +00:00
* Fixed a compilation error related to object IDs for React Native on Android (#1480).
* Fixed a race condition where closing and immediately reopening a synchronized
2017-11-09 22:04:49 +00:00
Realm opened using an admin token user would fail.
### Internal
* None.
2017-11-09 07:18:30 +00:00
2.0.5 Release notes (2017-11-9)
2017-11-08 10:22:59 +00:00
=============================================================
### Breaking changes
* None.
2017-12-07 09:36:24 +00:00
### Enhancements
2017-11-08 10:22:59 +00:00
* None.
### Bug fixes
* None.
### Internal
* Added support for object IDs.
2017-11-09 07:15:17 +00:00
* Updated to Realm Sync 2.1.2.
2017-11-08 10:22:59 +00:00
2017-11-07 13:43:38 +00:00
2.0.4 Release notes (2017-11-7)
2017-11-07 13:39:54 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* None.
### Internal
* Updated to Realm Sync 2.1.1.
2017-11-06 12:54:38 +00:00
2.0.3 Release notes (2017-11-6)
2017-11-01 09:27:54 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* Better support for React Native 0.49 for iOS (#1431).
2017-11-06 12:51:33 +00:00
* Added property `name` to `error` in `Sync.error` callback.
* Sync error handler provides also a property called `name` ; `code` is not changed.
2017-11-01 09:27:54 +00:00
2017-11-06 12:51:33 +00:00
### Bug fixed
2017-11-01 09:27:54 +00:00
* Fixed missing Realm constructor in while debugging React Native apps (#1436).
2017-11-06 12:51:33 +00:00
* Removed argument in documentation of `Realm.Sync.Adapter.realmAtPath()` .
2017-11-01 09:27:54 +00:00
### Internal
* None.
2017-10-30 20:06:01 +00:00
2.0.2 Release notes (2017-10-30)
2017-10-30 18:20:52 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* Fix several cases where adding collection listeners from within a listener
callback would produce incorrect results.
### Internal
* None.
2017-10-23 11:49:54 +00:00
2.0.1 Release notes (2017-10-23)
2017-10-23 11:45:42 +00:00
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* None.
### Internal
* Upgraded to Realm Sync 2.1.0.
2017-10-16 22:27:39 +00:00
2.0.0 Release notes (2017-10-17)
2017-10-16 12:16:16 +00:00
=============================================================
### Breaking changes
2017-10-23 11:45:42 +00:00
* Switch to Sync protocol 2.0, compatible with Realm Object Server 2.0.0. This version does NOT support 1.x.x of Realm Object Server.
* Upgraded to Realm Core 4.0.1, which has a new file format. If older Realm versions are opened, the database will be migrated automatically.
2017-10-16 14:16:55 +00:00
* Deprecate node 4 and node 5 support.
2017-10-16 13:39:17 +00:00
* Renamed `setAccessToken()` to `setFeatureToken()` .
2017-10-16 13:20:47 +00:00
* During iteration (`for ... of`) of `Realm.Results` , the results will be frozen using the `snapshot()` method (#1366).
2017-10-10 10:55:47 +00:00
### Enhancements
2017-10-16 14:16:55 +00:00
* The data model now support arrays of primitive types!
2017-10-10 10:55:47 +00:00
* Added `update` method to `Realm.Results` to support bulk updates (#808).
2017-10-11 12:54:52 +00:00
* Added support for aggregate functions on `Realm.Results` and `Realm.List` of primitive types.
2017-10-16 14:16:55 +00:00
* Handling of the situation when the client has to reset due to mismatching Realm versions (#795).
2017-10-16 13:20:47 +00:00
* Added `Realm.subscribeToObjects()` to listen for changes in partially synced Realms.
* Add support for sorting Lists and Results on values from linked objects.
2017-10-16 14:16:55 +00:00
* Configuration of sync file system is not done on module import but later when actually needed by sync (#1351)
* `Realm.Sync.User.adminUser()` will now throw an exception if either token or server argument is invalid.
2017-10-10 10:55:47 +00:00
### Bug fixes
2017-10-10 22:41:27 +00:00
* Avoid closing then reopening a sync session when using `Realm.open` (#1391).
* Respect custom Realm paths when using `Realm.open` (#1392 and #1393 ).
2017-10-16 13:20:47 +00:00
* Fixed bug in `Realm.subscribeToObjects()` .
* An issue where access tokens were not refreshed correctly has been addressed.
2017-10-10 10:55:47 +00:00
2017-10-11 16:56:40 +00:00
### Internal
2017-10-11 19:58:27 +00:00
* OpenSSL for Android is distributed in a separate package, and the build system needed updates to accommendate this.
* Added `-fvisibility=hidden` to Android builds (reduces size of `.so` file).
2017-10-11 21:31:43 +00:00
* Add `Session._overrideServer` to force an existing session to connect to a different server.
2017-10-16 13:20:47 +00:00
* Alignment of permission schemas.
2017-10-16 14:16:55 +00:00
* Upgrading to Realm Sync 2.0.2.
* Upgrading to Realm Object Server 2.0.0
2017-09-22 09:17:59 +00:00
2017-09-28 07:29:37 +00:00
2017-10-16 13:20:47 +00:00
1.13.0 Release notes (2017-10-5)
2017-09-01 17:32:47 +00:00
=============================================================
### Breaking changes
2017-10-16 13:20:47 +00:00
* None.
2017-09-01 17:32:47 +00:00
2017-09-18 07:46:36 +00:00
### Enhancements
2017-10-16 13:20:47 +00:00
* Add a callback function used to verify SSL certificates in the sync config.
* Added aggregate functions `min()` , `max()` , `sum()` , and `avg()` to `Realm.Results` and `Realm.List` (#807).
* Added `deleteRealmIfMigrationNeeded` to configuration to delete a Realm if migration needed (#502).
2017-09-18 07:46:36 +00:00
### Bug fixes
2017-10-16 13:20:47 +00:00
* Fixed port conflict between RN >= 0.48 inspector proxy and RPC server used for Chrome debugging (#1294).
* Workaround for RN >= 0.49 metro-bundler check for single string literal argument to `require()` (#1342)
2017-09-01 17:32:47 +00:00
2017-09-18 07:46:36 +00:00
1.12.0 Release notes (2017-9-14)
=============================================================
2017-09-01 17:32:47 +00:00
### Enhancements
* Improve performance of the RPC worker for chrome debugging.
2017-09-11 12:49:43 +00:00
* Added Progress API `realm.syncSession.addProgressNotification` and `realm.syncSession.removeProgressNotification`
2017-09-25 14:04:43 +00:00
* Added additional parameter for `Realm.open` and `Realm.openAsync` for download progress notifications
2017-08-30 04:55:30 +00:00
* Added `Realm.deleteFile` for deleting a Realm (#363).
2017-09-11 05:45:08 +00:00
* Added `Realm.deleteModel` for deleting a Realm model in a migration (#573).
2017-09-13 18:42:23 +00:00
* Added support for in-memory Realms.
2017-08-27 16:18:41 +00:00
* `Realm.Sync.User.login` , `Realm.Sync.User.register` , and `Realm.Sync.User.registerWithProvider` return Promises and deprecate the callback style for them. Callbacks will continue to work for backward compatibility.
2017-09-01 17:32:47 +00:00
### Bug fixes
2017-09-13 07:21:26 +00:00
* Adding missing TypeScript definitions; Permissions (#1283), `setFeatureToken()` , and instructions (#1298).
2017-09-12 17:23:49 +00:00
* Removed `loginWithProvider` from TypeScript definition files. This API never existed and was incorrectly added.
2017-09-01 17:32:47 +00:00
2017-09-01 11:07:37 +00:00
1.11.1 Release notes (2017-9-1)
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bug fixes
* Fix accessToken.
2017-08-31 10:52:36 +00:00
1.11.0 Release notes (2017-8-31)
2017-08-18 12:22:29 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-08-21 15:48:53 +00:00
* Added methods `Realm.beginTransaction()` , `Realm.commitTransaction()` , `Realm.cancelTransaction()` to manually control write transactions.
* Added property `Realm.isInTransaction` which indicates if write transaction is in progress.
2017-08-18 12:22:29 +00:00
* Added `shouldCompactOnLaunch` to configuration (#507).
* Added `Realm.compact()` for manually compacting Realm files.
2017-08-29 13:23:22 +00:00
* Added various methods for permission management (#1204).
2017-08-18 12:22:29 +00:00
### Bug fixes
2017-09-12 17:23:49 +00:00
* None
2017-08-18 12:22:29 +00:00
2017-08-30 04:55:30 +00:00
2017-08-17 09:35:13 +00:00
1.10.3 Release notes (2017-8-16)
=============================================================
### Breaking changes
* setAccessToken renamed to setFeatureToken. setAccessToken still works for now.
### Enhancements
* None
### Bug fixes
2017-08-21 15:48:53 +00:00
* None
2017-08-17 09:35:13 +00:00
2017-08-16 09:11:28 +00:00
1.10.2 Release notes (2017-8-16)
2017-08-15 13:12:18 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bug fixes
* RN 0.47 no longer breaks for Android due to a superfluous @override annotation
2017-08-02 12:07:16 +00:00
1.10.1 Release notes (2017-8-2)
2017-07-17 21:22:59 +00:00
=============================================================
### Breaking changes
2017-08-02 12:07:16 +00:00
* None
2017-07-17 21:22:59 +00:00
### Enhancements
2017-08-02 12:07:16 +00:00
* None
2017-07-17 21:22:59 +00:00
### Bug fixes
2017-08-02 12:07:16 +00:00
* `Realm.openAsync` will no longer open the realm if a sync error has occured. Previously this resulted in the callback being invoked twice - once with an error and a second time - with the synchronously opened Realm.
* Database adapters will no longer process the sync history of realm files that are not requested by the adapter configuration. Previously this would lead to crashes for realm files that contained schemas that don't define primary keys.
2017-07-17 21:22:59 +00:00
2017-07-12 16:59:43 +00:00
=======
* None
2017-07-12 14:45:35 +00:00
1.10.0 Release notes (2017-7-12)
2017-07-11 11:17:41 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-07-12 11:02:21 +00:00
* Added `Realm.prototype.empty` which is a property that indicates whether or not the realm has any objects in it.
2017-07-11 11:17:41 +00:00
### Bug fixes
* Fix crash on Node.js when a listener callback throws an error.
The error will now be forwarded to Node's fatal error handling facilities. This means better error reporting,
the ability to debug such errors in a Node.js debugger, and proper invocation of the `uncaughtError` event on the `process` object.
2017-07-10 15:26:44 +00:00
1.9.0 Release notes (2017-7-10)
2017-06-29 09:59:10 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-07-10 15:26:44 +00:00
* Add support for iOS React Native 0.46. Thanks [@ovr ](https://github.com/ovr )!
2017-06-29 09:59:10 +00:00
* Add support for Linking Objects (AKA Backlinks).
2017-07-08 17:30:25 +00:00
* Add support for retrieving user account information.
2017-07-10 13:04:55 +00:00
* Add optional `server` parameter to `Realm.Sync.User.adminUser`
Specifying the server address the same way as in `Realm.Sync.User.login` allows the admin token user to use the permission realm APIs.
2017-06-29 09:59:10 +00:00
### Bug fixes
2017-07-10 11:45:49 +00:00
* Fix regression where setting a Results or List object to a `list` property would throw.
2017-06-29 09:59:10 +00:00
2017-06-27 18:38:39 +00:00
1.8.3 Release notes (2017-6-27)
2017-06-27 18:32:34 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bug fixes
* Fix admin users not appearing in `Realm.Sync.User.all` , which broke getting an access token for them.
2017-06-26 11:49:50 +00:00
1.8.2 Release notes (2017-6-26)
2017-06-26 10:03:48 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-06-26 11:43:49 +00:00
* Added `indexOf()` method on `Realm.Results` and `Realm.List` that returns the index of the object in the collection.
2017-06-26 10:03:48 +00:00
### Bug fixes
2017-09-25 14:04:43 +00:00
* Fix opening synced realms with a logged-in admin user.
2017-06-26 10:03:48 +00:00
2017-06-20 14:27:05 +00:00
1.8.1 Release notes (2017-6-20)
2017-06-17 14:59:15 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-06-20 13:40:54 +00:00
* Accessing `Realm.Sync` when sync is not enabled will no longer throw, but return `undefined` .
2017-06-20 12:40:01 +00:00
* Better error messages when creating objects.
2017-06-20 11:09:01 +00:00
* Added bundled TypeScript declarations of the Realm API.
2017-06-20 14:27:05 +00:00
* Added `objectSchema()` method on `Realm.Object` that returns the schema for the object.
2017-06-17 14:59:15 +00:00
### Bug fixes
2017-09-25 14:04:43 +00:00
* Fix `Realm.Sync.User.prototype.isAdmin` returning `false` for logged-in admin users.
2017-06-17 14:59:15 +00:00
2017-06-15 14:27:43 +00:00
1.8.0 Release notes (2017-6-15)
2017-06-14 12:44:28 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-06-15 14:27:43 +00:00
* Updated core and sync dependencies
* Unified packaging
2017-06-14 12:44:28 +00:00
### Bug fixes
* Fix crash when used with the React Native C++ bridge
2017-06-15 14:27:43 +00:00
* Fix `Realm.open` and `Realm.asyncOpen` missing when in the React Native debugger
2017-06-14 12:44:28 +00:00
2017-05-18 11:13:28 +00:00
1.3.1 Release notes (2017-5-18)
2017-05-11 12:34:52 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-05-18 11:03:21 +00:00
* Add Realm open async API support.
2017-05-11 12:34:52 +00:00
### Bug fixes
* None
1.3.0 Release notes (2017-5-11)
=============================================================
2017-03-29 11:41:17 +00:00
### Breaking changes
* Files written by Realm this version cannot be read by earlier versions of Realm.
Old files can still be opened and files open in read-only mode will not be modified.
2017-05-05 11:53:20 +00:00
* The `setVerifyServersSslCertificate` method has been deleted
* The SyncConfig now gets two more optional parameters, `validate_ssl` and `ssl_trust_certificate_path` .
2017-03-29 11:41:17 +00:00
### Enhancements
2017-05-18 11:03:21 +00:00
* None
2017-03-29 11:41:17 +00:00
### Bug fixes
* None
2017-03-28 12:49:58 +00:00
1.2.0 Release notes (2017-3-28)
2017-03-28 12:34:27 +00:00
=============================================================
### Breaking changes
* This version is not compatible with versions of the Realm Object Server lower than 1.3.0.
### Enhancements
* None.
### Bug fixes
* Fixed bug where opening synced realms with an encryption key would fail.
2017-03-09 13:35:30 +00:00
1.1.1 Release notes (2017-3-9)
2017-03-07 22:24:30 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2017-03-09 10:53:00 +00:00
* Add support for Node.js on Windows (#863).
2017-02-15 12:56:21 +00:00
### Bug fixes
* Fixed an error when installing Realm React Native module on Windows (#799).
### Credits
* Thanks to David Howell (@dbhowell) for adding a fix to Windows install (#849).
2017-02-07 12:01:16 +00:00
1.0.2 Release notes (2017-2-7)
2017-02-03 15:40:13 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bug fixes
* Proactively refresh sync user tokens to avoid a reconnect delay (#840)
2017-02-02 14:50:17 +00:00
1.0.1 Release notes (2017-2-2)
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bug fixes
* Fix crash when the sync user token expires (#839)
2017-02-02 12:51:53 +00:00
1.0.0 Release notes (2017-2-2)
2017-01-31 21:56:09 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* Add the Management Realm accessor on the User class, and its schema (#779)
### Bug fixes
* None
2017-01-11 11:53:01 +00:00
0.15.4 Release notes (2017-1-11)
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bug fixes
* Always download Node binaries except on Windows, for unit testing (#789)
2017-01-10 15:21:11 +00:00
0.15.3 Release notes (2017-1-10)
=============================================================
### Breaking changes
* None
### Enhancements
* More specific error message when setting a property to a wrong type (#730)
### Bug fixes
* Fix chrome debugging on React Native 0.39 and up (#766)
2016-12-29 09:35:07 +00:00
0.15.2 Release notes (2016-12-29)
=============================================================
### Breaking changes
* None
### Enhancements
* More explicit handling of missing constructor (#742)
### Bugfixes
* Realm open on another thread (#473)
* symbol() variable not found (#761)
2016-11-23 00:42:07 +00:00
0.15.1 Release notes (2016-11-22)
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bugfixes
* Fix compile error for collection notification in chrome debug mode
2016-11-15 13:42:25 +00:00
0.15.0 Release notes (2016-11-15)
2016-08-15 18:13:28 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2016-11-15 19:10:07 +00:00
* Node.js support
* Support for fine grained notifications on `List` and `Results` objects
2016-11-15 13:42:25 +00:00
* Updated test and examples for react-natve v0.37.0
2016-08-15 18:13:28 +00:00
### Bugfixes
* None
2016-08-08 17:32:17 +00:00
0.14.3 Release notes (2016-8-8)
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bugfixes
2017-02-15 12:56:21 +00:00
* Support for react-native v0.31.0
2016-08-08 17:32:17 +00:00
0.14.2 Release notes (2016-8-3)
2016-08-04 17:11:53 +00:00
=============================================================
### Breaking changes
* Deprecate `Realm.Types` . Please specify the type name as lowercase string instead.
### Enhancements
* None
### Bugfixes
* None
2016-07-11 20:18:40 +00:00
0.14.2 Release notes (2016-7-11)
2016-06-22 18:34:58 +00:00
=============================================================
### Breaking changes
* Please use `rnpm 1.9.0` or later to link your project. Older versions are no longer supported.
2016-07-11 20:18:40 +00:00
* ReactNative versions older than v0.14.0 are no longer supported
2016-06-22 18:34:58 +00:00
### Enhancements
2016-07-11 20:18:40 +00:00
* Support for ReactNative versions v0.28.0+
2016-04-28 23:08:38 +00:00
* Added support for debugging in Visual Studio Code.
2016-06-22 18:34:58 +00:00
### Bugfixes
2016-08-04 00:56:48 +00:00
* None
2016-06-22 18:34:58 +00:00
2016-06-28 19:15:36 +00:00
0.14.1 Release notes (2016-6-28)
2016-06-27 19:16:35 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bugfixes
* Fix linker error when building for minimum target version of iOS 7.
2016-06-28 19:12:56 +00:00
* Fix for failure in `strip` command when building an archive.
2016-06-27 19:16:35 +00:00
2016-06-22 15:42:27 +00:00
0.14.0 Release notes (2016-6-22)
2016-05-19 21:10:20 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
2016-06-17 00:52:57 +00:00
* Added `isValid()` method to `List` and `Results` to check for deleted or invalidated objects
2016-06-03 23:59:50 +00:00
* Added `objectForPrimaryKey(type, key)` method to `Realm`
2016-05-19 21:10:20 +00:00
2016-05-24 19:38:32 +00:00
### Bugfixes
2016-06-08 18:22:12 +00:00
* Fix for crash when setting object properties to objects from other Realms
2016-06-17 00:52:57 +00:00
* Fix for exception sometimes thrown when reloading in Chrome debug mode
2016-05-24 19:38:32 +00:00
2016-05-26 20:31:39 +00:00
0.13.2 Release notes (2016-5-26)
2016-05-26 20:17:19 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* None
### Bugfixes
* Fix for crash when updating Realms with optional date properties to the new file format
2016-05-24 18:53:10 +00:00
0.13.1 Release notes (2016-5-24)
2016-05-24 15:23:21 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* None
2016-05-19 21:10:20 +00:00
### Bugfixes
2016-05-24 15:24:18 +00:00
* Fix for crash when inserting dates from before the epoch
2016-05-20 20:42:17 +00:00
* Fix for crash when using collection snapshot after realm.deleteAll()
2016-05-19 21:10:20 +00:00
2016-05-19 20:33:50 +00:00
0.13.0 Release notes (2016-5-19)
2016-05-16 20:56:59 +00:00
=============================================================
### Breaking changes
* With this release we have switched over to a new cross platform compatible date format.
This change will only require action from users who are using both the JS and Cocoa or Android
bindings simultaneously and accessing Realm files from both bindings. In these cases you need to
open the Realm file with the latest version of the iOS or Android bindings before accessing the
Realm from JS to prevent an unnecessary conversion.
### Enhancements
* None
### Bugfixes
* Date properties are now stored in a format compatible with the Realm Browser and other bindings.
2016-05-16 21:42:21 +00:00
* Fix for using `class MyObject extends Realm.Object` in a React Native project.
* Fix a memory leak caused by constructing a Realm instance of an already opened Realm.
* Fix for better supporting hot module reloading.
* Fix for some warnings when using `ListView` with React Native 0.25+
2016-05-19 19:40:16 +00:00
* Fix for queries that use a keypath starting with "not".
2016-05-16 20:56:59 +00:00
2016-05-04 20:48:19 +00:00
0.12.0 Release notes (2016-5-4)
2016-04-12 15:13:29 +00:00
=============================================================
### Breaking changes
* None
### Enhancements
* Support for queries comparing optional properties to `null`
2016-04-27 00:14:15 +00:00
* `object.isValid()` has been added to enable checking if an object has been deleted
2016-05-03 01:38:43 +00:00
- **Note:** Custom object classes can extend `Realm.Object` to inherit this method
* Support opening a Realm as read-only with the `readOnly` configuration option
* Support for providing a custom migration function (please see the docs for details)
* Added `path` , `readOnly` , `schema` , and `schemaVersion` properties to `Realm` instances
* Optional and list properties are no longer required when creating objects
2016-04-12 15:13:29 +00:00
### Bugfixes
2016-04-19 23:09:10 +00:00
* When accessing an empty Results `undefined` is returned rather than throwing an exception
2016-04-28 19:52:15 +00:00
* Accessing a deleted object throws a JS exception rather than crashing
* Accessing an invalidated Results snapshot throws a JS exception rather than crashing
2016-05-02 19:46:34 +00:00
* Fix for error message when specifying properties with invalid object types
2016-05-03 01:38:43 +00:00
* Fix memory leak when reloading an app in debug mode
2016-05-03 20:06:41 +00:00
* Setting non-persisted properties now works as expected
2016-04-12 15:13:29 +00:00
2016-03-29 22:30:15 +00:00
0.11.1 Release notes (2016-3-29)
=============================================================
### Bugfixes
* Fix for using Android Studio to build app using Realm
* Fix for sharing Realm between JS and Objective-C/Swift
2016-03-24 19:14:14 +00:00
0.11.0 Release notes (2016-3-24)
2016-03-11 00:15:54 +00:00
=============================================================
2016-03-24 19:14:14 +00:00
### Breaking changes
* Realm for React Native is now packaged as a static library for iOS
- Remove the reference to `RealmJS.xcodeproj` from your Xcode project
(under the `Libraries` group)
- Make sure `rnpm` is installed and up-to-date: `npm install -g rnpm`
- Run `rnpm link realm` from your app's root directory
2016-03-11 00:24:12 +00:00
2016-03-11 00:15:54 +00:00
### Enhancements
2016-03-24 19:14:14 +00:00
* Support for encrypted Realms
2016-03-09 07:47:08 +00:00
* List and Results now inherit from Realm.Collection
2016-03-24 19:14:14 +00:00
* List and Results is now iterable (e.g. supports `for...of` loops)
2016-03-11 00:24:12 +00:00
* Add common Array methods to List and Results
* Accept constructor in create() and objects() methods
2016-03-24 19:14:14 +00:00
* Support relative paths when opening Realms
* Support case insensitive queries by adding `[c]` after operators
* Support for indexed `bool` , `string` , and `int` properties
* Added `Realm.schemaVersion` method, which supports unopened Realms
2016-03-11 00:24:12 +00:00
2016-03-11 00:15:54 +00:00
### Bugfixes
2016-03-15 20:56:51 +00:00
* Fix for crash on Android when initializing the Realm module
2016-03-16 19:54:39 +00:00
* Fix for using Chrome debug mode from a device
2016-03-17 21:56:07 +00:00
* Fix for List splice method not accepting a single argument
2016-03-11 00:24:12 +00:00
* Don't download or unpack core libraries unnecessarily
2016-03-11 00:15:54 +00:00
2016-03-11 00:24:12 +00:00
0.10.0 Release notes (2016-2-22)
=============================================================
### Enhancements
2016-03-16 19:54:39 +00:00
* Initial Release