Commit Graph

540 Commits

Author SHA1 Message Date
Kenneth Geisshirt 8b9fc3c3b7 [2.20.0] Bump version 2018-11-22 16:14:28 +01:00
Kenneth Geisshirt b49f2f594b
Protect the context from being GCed (#2127)
* Protect the context from being GCed
2018-11-22 16:12:58 +01:00
Kenneth Geisshirt 85a92ca85c
Realm._constructor() has been replaced by Realm._asyncOpen() (#2111)
* Realm._constructor() has been replaced by Realm._asyncOpen()
2018-11-22 09:27:46 +01:00
Christian Melchior a680084788
Add support for uploading and downloading all changes (#2124) 2018-11-21 23:40:03 +01:00
Thomas Goyne 05a65ce49c Check the correct name when adding permissions object schemas to the schema
The `name` property of the schema object is the name of the class (i.e. `Role`
for the role object) rather than the schema name (i.e. `__Role`). This happened
to work if only the predefined schema objects were used and no user-defined
classes had the non-underscore-prefixed names, but broke otherwise.
2018-11-20 07:47:08 -08:00
Nikola Irinchev c173d3cca7
Don't refresh tokens for sessions that have been closed (#2119)
* Don't refresh tokens for sessions that have been closed

* Changelog entry
2018-11-19 12:05:59 +01:00
Christian Melchior 6f36efb81e
Add support for a custom User Agent (#2114) 2018-11-19 10:45:58 +01:00
Christian Melchior 747709df02
Add lower bound when refreshing tokens. (#2116) 2018-11-16 13:58:32 +01:00
Kenneth Geisshirt f676724fde Adding changelog template 2018-11-15 21:56:16 +01:00
Kenneth Geisshirt 0a178397e2 [2.19.1] Bump version 2018-11-15 15:36:34 +01:00
Kenneth Geisshirt d67cf99f33
Preparing v2.19.1 (#2113)
* Upgrading core + sync
* Updating to an object store with a sync fix
* Steeling from https://github.com/realm/realm-js/pull/2114 to match sync/object store
2018-11-15 15:30:28 +01:00
Nikola Irinchev 0b14436dc4 Fix type definitions - generics return <T & Object> (#2110)
* Be explicit that the return type of generic methods will be an intersection with Object
2018-11-15 11:33:24 +01:00
Nikola Irinchev f0fc556f6e
Give the app a chance to disable analytics (#2108)
* Give the app a chance to disable analytics

* Add changelog and stub for getWindowsIdentifier

* Use node-machine-id to get machine identifier for analytics

* Be async-ier

* Update changelog
2018-11-14 13:33:55 +01:00
Christian Melchior 6549f7ce4e
Add link to issue 2018-11-13 10:26:09 +01:00
Christian Melchior 8d902a7942
Fix Typescript definition for Permission (#2106) 2018-11-13 10:21:31 +01:00
Kenneth Geisshirt b028829f12 Adding changelog template 2018-11-08 11:48:36 +01:00
Brian Munkholm e875c4d897
Update CHANGELOG.md 2018-11-08 11:31:44 +01:00
Kenneth Geisshirt e26bef3cd6 [2.19.0] Bump version 2018-11-08 11:14:58 +01:00
Kenneth Geisshirt f930c0c3b3
Updating CHANGELOG.md for v2.19.0 (#2098)
* Updating CHANGELOG.md for v2.19.0
2018-11-08 11:12:53 +01:00
Kenneth Geisshirt ab9396121b
Node 10 support (#2092)
* Revert "Revert "Fix Node.js 10 support (#1937)""
* Upgrading to Realm Core v5.12.0 and Realm Sync v3.13.1
* Only use node 6, 8, and 10 in pre-gyp
2018-11-08 09:39:42 +01:00
Nikola Irinchev 4e6f95d3d0
Throw a meaningful error when refreshing a token for an invalid Realm path (#2084)
* Throw a meaningful error when refreshing a token for an invalid Realm path

* Changelog

* Fix a typo

* Fix a test
2018-10-24 00:33:34 +02:00
Kenneth Geisshirt bc7b98d8c0 Update changelog 2018-10-19 11:22:02 +02:00
Kenneth Geisshirt 45590b36b8 Fix version number 2018-10-17 10:55:05 +02:00
Kenneth Geisshirt 03643f6c9a Adding changelog template 2018-10-17 10:51:15 +02:00
Kenneth Geisshirt 995a1326e3 [2.19.0-rc.4] Bump version 2018-10-17 09:31:33 +02:00
Thomas Goyne ba734467d0 Add a test for using a dynamic schema with query-based sync (#2077)
* Split the partial sync test into several test cases
* Add a test for using a dynamic schema with query-based sync
* Replace some long sleeps in a test with polling with a timeout
* Update objectstore to latest master
* Update changelog
2018-10-17 08:46:39 +02:00
Nikola Irinchev 7cc4e0feee
Use regex instead of simple substring (#2075) 2018-10-16 15:45:59 +02:00
Kenneth Geisshirt 142c626e4f Adding changelog template 2018-10-16 14:34:58 +02:00
Kenneth Geisshirt ac9172ee6e [2.19.0-rc.3] Bump version 2018-10-16 14:09:26 +02:00
Kenneth Geisshirt 1389858e6c
Preparing 2.19.0-rc.3 (#2073) 2018-10-16 14:08:03 +02:00
Nikola Irinchev 10f72c5444
Don't schedule multiple token refreshes for the same user/realm (#2071)
* Don't schedule multiple token refreshes for the same user/realm

* Avoid setting a const property
2018-10-15 14:20:19 +02:00
Brian Munkholm cf1632eb0f
Update changelog (#2054)
* Update changelog-header.sh

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-10-10 13:13:32 +02:00
Kenneth Geisshirt 20e21333f5 fixing version 2018-10-10 12:39:14 +02:00
Kenneth Geisshirt 5af5226b5a Adding changelog template 2018-10-10 12:29:34 +02:00
Kenneth Geisshirt 2ef8fd5297 [2.19.0-rc.2] Bump version 2018-10-10 12:03:20 +02:00
Kenneth Geisshirt ffb48ec2ed
Enhancements of subscription api (#2060)
* Adding Realm.subscriptions() and Realm.unsubscribe()
* Update changelog
* RN support
2018-10-10 12:00:04 +02:00
Brian Munkholm d6c1c62a47
Update CHANGELOG.md 2018-10-09 13:26:13 +02:00
Kenneth Geisshirt 305e59b280 Adding changelog template 2018-10-09 12:52:09 +02:00
Nikola Irinchev eead078c0e [2.19.0-rc.1] Bump version 2018-10-09 11:02:00 +02:00
Nikola Irinchev 90c0661715
Auth fixes (#2050)
* Auth fixes
- Typescript definitions for User.login
- Exception thrown from registerWithProvider when a userInfo is not specified

* Ensure we don't use adminUser internally
2018-10-08 15:01:12 +02:00
Nikola Irinchev e9f0113218
Expose customQueryBasedSyncIdentifier in the sync config (#2055)
* Expose customQueryBasedSyncIdentifier in the sync config

* Close the correct Realm
2018-10-08 12:02:44 +02:00
Kenneth Geisshirt e176a3c91d
Typo: file format 9 instead of 7 (#2051) 2018-10-08 09:15:55 +02:00
Kenneth Geisshirt 27c5216c2e Adding changelog template 2018-10-04 14:37:48 +02:00
Kenneth Geisshirt 6ddcdf5255 [2.18.0] Bump version 2018-10-04 14:13:48 +02:00
Kenneth Geisshirt a0585ed739
Prepare v2.18.0 (#2048) 2018-10-04 14:12:08 +02:00
Nikola Irinchev e5c9016424
Handle sync config in Realm.deleteFile (#2045)
* Handle sync config in Realm.deleteFile

* Add changelog and address review comment

* Try to fix tests

* Fix rebase conflicts
2018-10-04 11:04:15 +02:00
Christian Melchior 434e8ca2bc
Align permission API's with Java/Swift (#2036) 2018-10-04 10:09:31 +02:00
Kenneth Geisshirt b8dad21120 Adding changelog template 2018-09-28 14:52:09 +02:00
Kenneth Geisshirt f5d32a2414 [2.17.0] Bump version 2018-09-28 14:13:50 +02:00
Kenneth Geisshirt 2b12db2370
2.17.x (#2034)
* Upgrading core+sync+ros. Feature token is required and stored in Jenkins.
2018-09-28 14:09:29 +02:00