1291 Commits

Author SHA1 Message Date
Thomas Goyne
bfb06ac0df Restore support for opening query-based sync Realms with a dynamic schema (#2065)
* Restore support for opening query-based sync Realms with a dynamic schema

* Adjust how the schema is extended for query-based Realms

* Register constructors for permissions types even no schema is supplied

* Remove some cruft from tests

* Fix a use-after-free in dynamic schema mode

* Fix a test
2018-10-16 09:49:16 +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
Nikola Irinchev
eead078c0e [2.19.0-rc.1] Bump version 2018-10-09 11:02:00 +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
6ddcdf5255 [2.18.0] Bump version 2018-10-04 14:13:48 +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
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
Kenneth Geisshirt
e51456f020 [2.16.2] Bump version 2018-09-25 08:23:00 +02:00
Kenneth Geisshirt
026ac6e607 [2.16.1] Bump version 2018-09-21 14:29:54 +02:00
Nabil Hachicha
111e9c223f Adding permission schema for query based sync (#2027)
* Adding permission schema when opening the Realm
* Adding permission schema implicitly for query based Realms
* Remove old code
* Remove outdated test
2018-09-19 16:16:44 +02:00
Nicola Brisotto
6e58f1f6f3 Support ASDF shims (#2032)
* Support ASDF shims
Add support to asdf shims as described here #2031
* Updated changelog, ASDF Enhancements
2018-09-19 16:04:10 +02:00
Kenneth Geisshirt
a7e4b5d8f1 [2.16.0-rc.1] Bump version 2018-09-14 11:40:30 +02:00
Kenneth Geisshirt
81e7cc87ed
Preparing v2.16.0-rc.1 (#2022)
* Preparing v2.16.0-rc.1
* Update CHANGELOG.md
2018-09-14 11:38:40 +02:00
Igor Mandrigin
67dccf1e47 Fix memory corruption in writeCopyTo. (#2020) 2018-09-13 12:34:11 +02:00
Emanuele Zattin
9314ee0a7d Add support for sync pause/resume (#2019)
* Add support for sync pause/resume
* Improve the promise chain in the tests
* Update CHANGELOG.md
* Update sync.js
2018-09-12 16:04:22 +02:00
Kenneth Geisshirt
f45ba1c9e7
LIMIT support in queries (#2008)
* Updating to Realm Sync 3.9.9 (and Core 5.10.0 + object store).
* Adding LIMIT to tests
* Use bitnami node image
2018-09-12 15:01:44 +02:00
Kenneth Geisshirt
16b90da589 [2.15.3] Bump version 2018-08-24 16:29:18 +02:00
Kenneth Geisshirt
5094adb7e5 [2.15.2] Bump version 2018-08-24 13:48:14 +02:00
Kenneth Geisshirt
31f865808d [2.15.1] Bump version 2018-08-24 11:48:47 +02:00
Kenneth Geisshirt
1ca4bdeba8 [2.15.0] Bump version 2018-08-24 10:37:24 +02:00
Kenneth Geisshirt
1b1b51ded2
BUG FIX: A schema is required when Realm is opened in a query-based sync situation (#1985) 2018-08-24 08:50:27 +02:00
Kenneth Geisshirt
cf1683b66c Revert "[2.15.0] Bump version"
This reverts commit 3d150272bc9dfd1c32e1ee757c6e1e0a8e220c9b.
2018-08-20 08:46:00 +02:00
Kenneth Geisshirt
3d150272bc [2.15.0] Bump version 2018-08-17 12:48:53 +02:00
Kenneth Geisshirt
015d001d5c
Using a GC'ed context will cause a crash (#1969)
* Using a GC'ed context will cause a crash
2018-08-17 11:24:08 +02:00
Christian Melchior
adf6bb58c9
Change order of Connection notification parameters (#1961) 2018-08-15 15:52:37 +02:00
Christian Melchior
5a8341a5ac
Support for Connection notifications. (#1950) 2018-08-10 10:39:03 +02:00
Kenneth Geisshirt
ee4e29bb06 [2.14.2] Bump version 2018-08-08 12:03:31 +02:00
Kenneth Geisshirt
31b7669a79 Bump version 2018-08-07 14:04:06 +02:00
Yavor Georgiev
5de2600133
Revert "Fix Node.js 10 support (#1937)"
This reverts commit b5d7d8ceab11464ac0700d10b7a19a63593dbf51.
2018-07-25 15:35:06 +03:00
Yavor Georgiev
b5d7d8ceab
Fix Node.js 10 support (#1937) 2018-07-24 20:51:56 +03:00
Yavor Georgiev
c810bb00dd
[2.14.0] Bump version (#1939) 2018-07-24 20:39:29 +03:00
Kenneth Geisshirt
2d8040c86b [2.13.0] Bump version 2018-07-12 12:36:53 +02:00
Kenneth Geisshirt
805f3d0804
initial work on getting subscriptions to work in RN debugger (#1902)
* Getting subscriptions to work in RN debugger
2018-07-09 19:54:21 +02:00
Kenneth Geisshirt
49ce3c1d54 [2.12.0] Bump version 2018-07-03 21:16:51 +02:00
Thomas Goyne
6b38b1cbb3 Set the link to null if the linked object doesn't exist 2018-07-03 10:45:20 -07:00
Thomas Goyne
98d25e416a Add object._setLink() 2018-07-03 09:57:01 -07:00
Thomas Goyne
45bb91b43c Fix JSC compilation 2018-07-03 08:36:45 -07:00
Thomas Goyne
3c45c8a750 Don't bother special-casing one-byte strings as they're more complicated than it seemed 2018-07-03 08:36:45 -07:00
Thomas Goyne
35a5e831ed Optimize reading properties of objects from v8 a bit 2018-07-03 08:35:56 -07:00
Thomas Goyne
ed8b5d835d Eliminate some copies when reading strings from node 2018-07-03 08:35:56 -07:00
Thomas Goyne
55fe200446 Skip calling has_property() before get_property()
Instead just do the normal Javascript thing of checking if we got `undefined`.
This nearly doubles the speed of value_for_property() as nearly all of the time
was spent in looking up the properties in the JS object.
2018-07-03 08:35:56 -07:00
Kenneth Geisshirt
a6fef5254d [2.11.0] Bump version 2018-06-28 15:06:56 +02:00
Kenneth Geisshirt
01097812d5
Porting memmove() workaround from Realm Java. (#1901) 2018-06-28 13:24:10 +02:00
Kenneth Geisshirt
06c0865c1b
Speed up compact (#1900) 2018-06-28 12:44:52 +02:00
Kenneth Geisshirt
9fcf3f20ee Revert "Exposing a Realms groups compute_aggregated_byte_size via computeSize"
This reverts commit 10c127542beba5c4b8757396210dfcd26d7749c8.
2018-06-28 10:37:39 +02:00
Kenneth Geisshirt
bd45d6f0bf Revert "Use object store"
This reverts commit 965e997d8e4a4b83ab271842c6d5ed7490257111.
2018-06-28 10:35:23 +02:00
Kenneth Geisshirt
1d6e213682
Expose custom HTTP headers in sync configuration (#1898)
* Expose custom HTTP headers in sync configuration
2018-06-28 10:34:02 +02:00
James Stone
e46bd3899b When forcing sync on a local Realm, use an additive schema (#1888) 2018-06-25 14:00:15 +02:00
Kenneth Geisshirt
965e997d8e Use object store 2018-06-20 18:17:10 +02:00