Kræn Hansen
367133c53e
Added a TypeScript definition for computeSize
2018-06-20 16:20:41 +02:00
Christian Melchior
fdcedf86f7
Docs
2018-06-19 09:08:14 +02:00
Christian Melchior
d75150aa93
Add support for creating template objects
2018-06-18 22:55:01 +02:00
Thomas Goyne
495355f3fe
Expose both newModifications and oldModifications on change events
2018-06-06 16:13:47 -07:00
Kenneth Geisshirt
106dc271ac
Merge branch 'master' into kneth/fix-ts-objects
2018-05-30 13:36:54 +02:00
Christian Melchior
4cb9c77f46
Query-based sync as the default sync mode ( #1830 )
2018-05-30 12:54:51 +02:00
Kenneth Geisshirt
88d88c57e3
Merge branch 'master' into kneth/fix-ts-objects
2018-05-30 10:47:12 +02:00
Nabil Hachicha
9b9d7e6471
Nh/is empty ( #1820 )
...
* adding isEmpty method to Result and List
2018-05-29 12:24:54 +01:00
Kenneth Geisshirt
58671dd59e
React to schema changes ( #1831 )
...
* Adding schema change listener (#1825 ).
2018-05-29 12:22:34 +02:00
Kenneth Geisshirt
d84e2f1645
Fixing TypeScript definition of `Realm.objects()` and `Realm.objectForPrimaryKety()`.
2018-05-25 15:55:46 +02:00
Kenneth Geisshirt
fa2885c8bf
Merge branch 'master' into yg/new-ssl-config-api
2018-05-16 10:59:43 +02:00
astigsen
5186eeb84e
Add Object.linkingObjectCount()
2018-05-15 14:31:54 +02:00
Yavor Georgiev
ac3d749ece
Group SSL configuration options in a new config object
2018-05-14 15:16:52 +03:00
Kenneth Geisshirt
dad5b3f521
Merge branch 'master' of github.com:realm/realm-js into kneth/fix-ts-for-open_ssl_verify_callback
2018-05-07 11:17:21 +02:00
Nabil Hachicha
b321808f4b
Add password reset wrappers ( #1699 ). ( #1757 )
...
* Add password reset wrappers (#1699 ).
2018-04-25 10:23:47 +01:00
Kenneth Geisshirt
5cfc3c12ee
Use a single object instead of multiple arguments.
2018-04-18 14:07:19 +02:00
Kenneth Geisshirt
20c16196c9
Merge branch 'master' of github.com:realm/realm-js into kneth/fix-ts-for-open_ssl_verify_callback
2018-04-18 14:02:03 +02:00
Valerii Hiora
c3a83f1866
Added `writeCopyTo` functionality ( #1715 )
...
* Added `writeCopyTo` functionality
* Fixes #1678
* Added optional `encryptionKey` to `writeCopyTo`
2018-04-03 11:50:03 +02:00
Kenneth Geisshirt
c370ef4d86
Testing against ROS 3.0.0. ( #1712 )
...
* Testing against ROS 3.0.0.
* Adding Realm.Sync.Subscription.removeAllListeners. Refactor partial sync tests.
* Refactoring partial sync tests.
2018-03-21 18:18:37 +01:00
Kenneth Geisshirt
90cacdd6c7
Fixing TS definition for open_ssl_verify_callback.
2018-03-14 15:09:45 +01:00
Kenneth Geisshirt
10480c1afe
Adding optional user as argument to Realm.automaticSyncConfiguration. ( #1709 )
2018-03-14 08:26:41 +01:00
Kenneth Geisshirt
9435490ea3
Upgrading to Realm Sync 3.0.0-rc.2 ( #1706 )
...
* Adding role to __User.
* Update to Realm Sync 3.0.0
* Renamed defaultSyncConfiguration to automaticSyncConfiguration
2018-03-13 14:27:31 +01:00
Kenneth Geisshirt
edfdd933b0
Updating API docs and TS definitions ( closes #1770 ). ( #1707 )
2018-03-13 12:45:23 +01:00
Kenneth Geisshirt
2f20006e47
Kneth/allow partial in urls ( #1704 )
...
* Adding _disablePartialSyncUrlChecks.
2018-03-13 08:27:47 +01:00
Kenneth Geisshirt
abb04e399b
Default sync realm ( #1693 )
...
* Configuration for default Realm.
* Use url-parse to make RN happy.
2018-03-09 10:40:45 +01:00
Kenneth Geisshirt
dfc6aea6a6
Deprecated setFeatureToken(). ( #1694 )
2018-03-08 17:27:13 +01:00
Kenneth Geisshirt
1066722a09
Revert "Deprecated setFeatureToken()."
...
This reverts commit d846794cd5
.
2018-03-08 15:47:50 +01:00
Kenneth Geisshirt
d846794cd5
Deprecated setFeatureToken().
2018-03-08 15:44:11 +01:00
Thomas Goyne
d1a4e899d8
Fix the Permissions typescript definitions
2018-03-02 15:36:45 -08:00
Thomas Goyne
fadd35bb26
Add a typescript declaration for Sync.SubscriptionState
2018-03-02 15:36:10 -08:00
Thomas Goyne
ac7f7d9c4e
Add schema definitions for the permissions types
2018-03-01 16:16:43 -08:00
Kenneth Geisshirt
615d6ff35e
Merge branch '2.3.x' of github.com:realm/realm-js into 2.3.x
2018-02-27 10:58:58 +01:00
Kenneth Geisshirt
462856a24d
Partial sync ( #1583 )
...
The new Partial Sync API
2018-02-20 13:40:54 +01:00
Kræn Hansen
fdf9497bdd
Fixing objectForPrimaryKey return type ( #1664 )
...
According to https://github.com/realm/realm-js/blob/master/docs/realm.js#L171 and runtime behaviour it returns `undefined` not `null` if the object doesn't exist.
2018-02-16 10:27:30 +01:00
Thomas Goyne
e6591a7c9c
Wait for pending notifications to complete when removing a sync listener ( #1648 )
...
With async callbacks, in-process listeners need to be able to wait for anything
currently in progress to complete just like out-of-process listeners. In
addition, removeListener() needs to be declared as returning a Promise so that
typescript code can actually use it.
2018-02-01 14:38:02 +01:00
Kenneth Geisshirt
f9e8161017
Clarifying PermissionCondition. ( #1637 )
2018-01-25 15:44:47 +01:00
Thomas Goyne
0c6e254494
Support async sync change listeners ( #1626 )
2018-01-18 12:20:17 +01:00
Thomas Goyne
ce67446976
Perform a pseudo-refresh for admin token users ( #1599 )
...
* Perform a pseudo-refresh for admin token users
Although we don't need to actually refresh the token, when multiplexing is
enabled we do still need to hit ROS to let it know we're accessing a Realm and
get the sync label.
* Adding brief JSdoc and TS definition for isAdminToken.
* Perform a pseudo-refresh for admin token users
Although we don't need to actually refresh the token, when multiplexing is
enabled we do still need to hit ROS to let it know we're accessing a Realm and
get the sync label.
* Adding brief JSdoc and TS definition for isAdminToken.
* Make the timeout consistent
* Add basic docs for multiprocess notifications (#1594 )
* Add basic docs for multiprocess notifications
* Adopt core's query parser and update to core v5.1.2 (#1563 )
* Adopt core's query parser.
* Realm Core 5.1.2
* Realm Sync 2.2.9
* Remove tar.xz (#1585 )
* remove tar.xz decompression and lzma deps
* Fixing merge
* Updating object store
2018-01-11 14:47:54 +01:00
Kenneth Geisshirt
16a218ad49
Adding JWT auth ( #1564 )
...
* Adding method Realm.Sync.User.authenticate()
* Adding JWT provider support to Realm.Sync.User.authenticate()
* Adding password provider support to Realm.Sync.User.authenticate()
2018-01-05 09:38:53 +01:00
Yavor Georgiev
4e6cb299b3
Add disableFormatUpgrade to Realm configuration ( #1566 )
2017-12-14 07:53:03 +01:00
Kenneth Geisshirt
aed1ea104b
Adding property Realm.isClosed. ( #1560 )
...
* Adding property Realm.isClosed.
2017-12-13 10:09:26 +01:00
Kenneth Geisshirt
e81d8589ae
Post-release feedback on client reset ( #1372 ) ( #1459 )
...
* Post-release feedback on client reset (#1372 )
* Using error.name instead
2017-11-06 13:51:33 +01:00
Kræn Hansen
1de8fbbf39
Update index.d.ts ( #1458 )
2017-11-03 16:02:34 +01:00
Kenneth Geisshirt
d858c4e87a
Updating documentation of realmAtPath
2017-11-01 14:44:40 +01:00
blagoev
f534d64382
fix partial in ts definitions
2017-10-16 12:48:07 +03:00
Thomas Goyne
643c19ea75
Add support for aggregates on arrays of primitives ( #1401 )
...
* Fix an unused variable warning in js_sync.hpp
* Add support for aggregates on arrays of primitives
* Update documentation and typescript declarations
* Update collection.js
2017-10-11 14:54:52 +02:00
Ashwin Phatak
4bcef8baff
Add support for bulk updates ( #808 )
2017-10-10 16:25:47 +05:30
blagoev
5c9b254b4a
fix sync error ( #1379 )
...
* fix sync error
2017-10-04 11:29:32 +02:00
Kenneth Geisshirt
19d05c2021
Merge `master` into `2.0.x` ( #1377 )
...
* Add 'deleteRealmIfMigrationNeeded' to configuration to delete a Realm if migration needed (#502 )
* Minor update due to changes in objec store
2017-10-03 13:37:21 +02:00
Kenneth Geisshirt
7c5572b451
Removing deprecated setAccessToken(). ( #1371 )
2017-10-02 21:03:29 +02:00