Merge pull request #1417 from realm/consolidate-2.0

Consolidate 2.0 changes
This commit is contained in:
blagoev 2017-10-16 22:27:50 +03:00 committed by GitHub
commit eef7fcff0f
1 changed files with 17 additions and 142 deletions

View File

@ -1,66 +1,36 @@
X.Y.Z Release notes 2.0.0 Release notes
============================================================= =============================================================
### Breaking changes ### Breaking changes
* None * 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.
### Enhancements * Deprecate node 4 and node 5 support.
* None * Renamed `setAccessToken()` to `setFeatureToken()`.
* During iteration (`for ... of`) of `Realm.Results`, the results will be frozen using the `snapshot()` method (#1366).
### Bug fixes
* Fix Typescript definition for partial sync configuration object.
* `Realm.Sync.User.adminUser()` will now throw an exception if either token or server argument is invalid.
### Internal
* None
2.0.0-rc22 Release notes (2017-10-13)
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* None.
### Internal
* Upgrading to Realm Sync 2.0.2.
* Upgrading to Realm Object Server 2.0.0-rc.5.
2.0.0-rc21 Release notes (2017-10-12)
=============================================================
### Breaking changes
* None.
### Enhancements ### Enhancements
* The data model now support arrays of primitive types!
* Added `update` method to `Realm.Results` to support bulk updates (#808). * Added `update` method to `Realm.Results` to support bulk updates (#808).
* Added support for aggregate functions on `Realm.Results` and `Realm.List` of primitive types. * Added support for aggregate functions on `Realm.Results` and `Realm.List` of primitive types.
* Handling of the situation when the client has to reset due to mismatching Realm versions (#795).
* Added `Realm.subscribeToObjects()` to listen for changes in partially synced Realms.
* Add support for sorting Lists and Results on values from linked objects.
* 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.
### Bug fixes ### Bug fixes
* Avoid closing then reopening a sync session when using `Realm.open` (#1391). * Avoid closing then reopening a sync session when using `Realm.open` (#1391).
* Respect custom Realm paths when using `Realm.open` (#1392 and #1393). * Respect custom Realm paths when using `Realm.open` (#1392 and #1393).
* Fixed bug in `Realm.subscribeToObjects()`.
* An issue where access tokens were not refreshed correctly has been addressed.
### Internal ### Internal
* Upgrading to Realm Sync 2.0.1.
* Upgrading to Realm Object Server 2.0.0-rc.4.
* OpenSSL for Android is distributed in a separate package, and the build system needed updates to accommendate this. * 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). * Added `-fvisibility=hidden` to Android builds (reduces size of `.so` file).
* Add `Session._overrideServer` to force an existing session to connect to a different server. * Add `Session._overrideServer` to force an existing session to connect to a different server.
* Alignment of permission schemas.
* Upgrading to Realm Sync 2.0.2.
* Upgrading to Realm Object Server 2.0.0
2.0.0-rc19 Release notes (2017-10-7)
=============================================================
### Breaking changes
* None.
### Enhancements
* None
### Bug fixes
* None
### Internal
* Update object store libs to fix partial sync
1.13.0 Release notes (2017-10-5) 1.13.0 Release notes (2017-10-5)
============================================================= =============================================================
@ -76,90 +46,6 @@ X.Y.Z Release notes
* Fixed port conflict between RN >= 0.48 inspector proxy and RPC server used for Chrome debugging (#1294). * 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) * Workaround for RN >= 0.49 metro-bundler check for single string literal argument to `require()` (#1342)
2.0.0-rc18 Release notes (2017-10-4)
=============================================================
### Breaking changes
* Deprecate node 4 and node 5 support
### Enhancements
* None
### Bug fixes
* Fixed bug in `Realm.subscribeToObjects()`.
### Internal
* None
2.0.0-rc17 Release notes (2017-10-3)
=============================================================
### Breaking changes
* Removed `setAccessToken()`; use `setFeatureToken()` instead.
* During iteration (`for ... of`) of `Realm.Results`, the results will be frozen using the `snapshot()` method (#1366).
### Enhancements
* Support migration from Realms sync 1.0 to sync 2.0 versions
* Handling of the situation when the client has to reset the Realm due to diverging histories (#795).
* Added `Realm.subscribeToObjects()` to listen for changes in partially synced Realms.
### Bug fixes
* None.
### Internal
* Upgraded to Realm Sync 2.0.0-rc27.
2.0.0-rc16 Release notes (2017-9-29)
=============================================================
### Breaking changes
* Upgtading to Realm Core 4.0.1 (bug fixes)
* Upgrading to Realm Sync 2.0.0-rc26 (sync protocol 22 + bug fixes)
2.0.0-rc14 Release notes (2017-9-29)
=============================================================
### Breaking changes
* Upgrading to Realm Core 4.0.0 and Realm Sync 2.0.0-rc25.
### Enhancements
* None
### Bug fixes
* Configuration of sync file system is not done on module import but later when actually needed by sync (#1351)
2.0.0-rc12 Release notes (2017-9-28)
=============================================================
### Breaking changes
* None.
### Enhancements
* None.
### Bug fixes
* An issue where access tokens were not refreshed correctly has been addressed.
2.0.0-rc11 Release notes (2017-9-26)
=============================================================
### Breaking changes
* None
### Internal
* Alignment of permission schemas.
* Updating sync (2.0.0-rc24).
2.0.0-rc10 Release notes (2017-9-19)
=============================================================
### Breaking changes
* Updating core (3.2.1), sync (2.0.0-rc23 - packaged under 2.0.0-rc22), object store.
### Enhancements
* Add support for sorting Lists and Results on values from linked objects.
### Bug fixes
* None
1.12.0 Release notes (2017-9-14) 1.12.0 Release notes (2017-9-14)
============================================================= =============================================================
@ -227,17 +113,6 @@ X.Y.Z Release notes
* RN 0.47 no longer breaks for Android due to a superfluous @override annotation * RN 0.47 no longer breaks for Android due to a superfluous @override annotation
2.0.0 Release notes (2017-7-27)
=============================================================
### Breaking changes
* Switch to the next version of the Sync protocol, compatible with Realm Object Server 2.0.0-rc2.
### Enhancements
* None
### Bug fixes
1.10.1 Release notes (2017-8-2) 1.10.1 Release notes (2017-8-2)
============================================================= =============================================================
### Breaking changes ### Breaking changes