Max Risuhin
65d4fb7747
Workaround to load realm from ubuntu_server.js
2017-12-23 20:31:49 +02:00
Constantin S. Pan
1b0f6c0b21
Increase the token refresh timeout to 10 sec ( #1584 )
2017-12-21 14:14:07 +01:00
Kenneth Geisshirt
839d8563a1
Adding test of timestamp's ms precision. ( #1561 )
...
* Adding test of timestamp's ms precision.
2017-12-20 14:19:42 +01:00
blagoev
34ea280492
Merge pull request #1580 from realm/mar/realm-open-schema-version
...
Fix Realm.open complaining about the Realm already being open with a different schema version
2017-12-19 11:17:53 +02:00
blagoev
db8c166bb5
Update CHANGELOG.md
2017-12-19 11:17:12 +02:00
Mark Rowe
a4e2f31138
Fix a typo in the change log
2017-12-18 18:04:50 -08:00
Mark Rowe
c2de29ab0c
Fix an issue where `Realm.open` would complain about the Realm already
...
being open with a different schema version
In order to correctly open read-only synchronized Realms, `Realm.open`
would open the Realm without specifying a schema or schema version, wait
for any remote changes to be downloaded (if appropriate), and then
re-open the Realm with the specified schema and schema version. This
would lead to an exception about the Realm being open with a different
schema version if the Realm had previously been opened with a different
schema version, due to the way `RealmCoordinator` caches information
about the schema of open Realms.
We address this by making two changes:
1. `Realm.open` for non-synchronized Realms no longer goes through
`_waitForDownload`. This means the dance described above where the Realm
is opened twice is not used for local Realms.
2. `_waitForDownload` no longer keeps the `Realm` alive until after its
callback has returned. It instead keeps the `SyncSession` alive. This is
sufficient to avoid the connection being torn down and having to
reconnect when `_waitForDownload`'s callback later opens the Realm with
the correct schema and schema version, while also allowing for
`RealmCoordinator`'s cached information to be cleared when the
schemaless Realm is closed prior to the Realm being reopened.
In addition, tests have been added that reproduced the problem in both a
local and sync context.
2017-12-18 14:54:08 -08:00
Kenneth Geisshirt
9505b750f9
Updating object store ( #1575 )
2017-12-15 18:57:57 +01:00
Kenneth Geisshirt
bf7ac66d97
[2.1.1] Bump version
2017-12-15 17:33:45 +01:00
Kenneth Geisshirt
5ed9eba0a2
Updating to Realm Sync 2.1.10 ( #1573 )
2017-12-15 17:25:42 +01:00
Kenneth Geisshirt
d84e1f8c65
[2.1.0] Bump version
2017-12-14 13:36:18 +01:00
blagoev
e1f69ed005
Merge pull request #1483 from realm/kneth/xcode9
...
Xcode 9 fixes
2017-12-14 13:51:54 +02:00
blagoev
97d695d615
fix android test app build and the script for android tests
...
address review comments
2017-12-14 12:17:49 +02:00
Yavor Georgiev
4e6cb299b3
Add disableFormatUpgrade to Realm configuration ( #1566 )
2017-12-14 07:53:03 +01:00
blagoev
106cf09c27
remove commented code
2017-12-13 22:48:48 +02:00
blagoev
aa9ae00c35
Merge branch 'master' into kneth/xcode9
...
# Conflicts:
# tests/js/list-tests.js
# tests/js/results-tests.js
2017-12-13 18:56:17 +02:00
blagoev
72cb0d845e
fix RealmExample app to use the new RN navigation
2017-12-13 18:36:10 +02:00
Kenneth Geisshirt
aed1ea104b
Adding property Realm.isClosed. ( #1560 )
...
* Adding property Realm.isClosed.
2017-12-13 10:09:26 +01:00
Kenneth Geisshirt
517c165c12
[2.0.13] Bump version
2017-12-08 10:57:55 +01:00
Yavor Georgiev
23f965060e
Implement implicit property conversion for date and binary ( #1557 )
...
* Implement implicit property conversion for date and binary
Closes #1542
Closes #1551
* fix include
* changelog
2017-12-07 13:47:20 +01:00
Kræn Hansen
70004b9304
Checking the content-type of authentication responses ( #1556 )
...
* Checking the content-type of authentication responses
* Adding a changelog entry
* Fixing changelog typos and line endings
2017-12-07 10:36:24 +01:00
blagoev
9f41664309
try fix ReactExample test app
2017-12-06 14:44:00 +02:00
blagoev
18a63d6f79
allow multiple test applications to be run (identified by application scheme.)
2017-12-06 14:43:02 +02:00
blagoev
3000e5d117
rename test application Xcode scheme
2017-12-06 14:42:20 +02:00
blagoev
32f55105ec
Merge pull request #1553 from realm/nh/update_jsdoc
...
update JSDOC to work with Node 8 (avoid EISDIR error)
2017-12-05 21:08:42 +02:00
blagoev
bb97ea2653
use consistent node version
2017-12-05 17:48:15 +02:00
blagoev
9084c2d271
depend on lzma-native to fix lzma-native native module not found
2017-12-05 14:47:44 +02:00
blagoev
36a6f44bbd
ignore test output file
2017-12-05 14:47:08 +02:00
blagoev
b842d07726
remove explict ROS uninstall
2017-12-05 14:46:41 +02:00
Nabil Hachicha
f3bbc604dc
update JSDOC to work with Node 8 (avoid EISDIR error)
2017-12-05 09:37:35 +00:00
blagoev
7e8b7d7bab
upgrade RN in test app + fix simulators handling + fix test app to run tests immediatelly and exit afterwards
2017-12-04 15:56:42 +02:00
Kenneth Geisshirt
7d6817971d
[2.0.12] Bump version
2017-12-01 13:03:22 +01:00
Kenneth Geisshirt
28f9e027b5
Fixing unit tests (discovered on Android). ( #1523 )
...
* Fixing unit tests (discovered on Android).
2017-12-01 13:00:02 +01:00
Kenneth Geisshirt
9e18feb898
Merge pull request #1544 from realm/ni/typo
...
Fix typo in docs
2017-12-01 10:47:18 +01:00
Kenneth Geisshirt
c88fb4f09d
Merge pull request #1543 from realm/kneth/sync-2.1.8
...
Upgrading to Realm Sync v2.1.8
2017-12-01 10:46:31 +01:00
Nikola Irinchev
9d5ed20919
Fix typo in docs
2017-12-01 10:15:56 +01:00
Brian Munkholm
fada575aaf
Update CHANGELOG.md
2017-11-30 22:38:57 +01:00
Kenneth Geisshirt
5dac78a97a
Upgrading to Realm Sync v2.1.8
2017-11-30 14:51:17 +01:00
Thomas Goyne
0eaa27f30f
Add the header files and scripts to the gyp file ( #1540 )
...
* Add the header files and scripts to the gyp file
This makes the generated project much more useful.
* Also add the tests
2017-11-29 17:21:45 -08:00
Thomas Goyne
d127a228ea
Fix generating an Xcode project via gyp ( #1536 )
...
Putting the libraries in direct_dependent_settings rather than link_settings
happens to work for command-line builds, but resulted in gyp crashing when
trying to generate an Xcode project because it would try to add the linker
flags to the aggregate targets.
2017-11-28 08:31:40 -08:00
Kenneth Geisshirt
594be6f80c
Merge pull request #1525 from realm/kneth/bug/dont-call-localeconv-on-android
...
localeconv() doesn't exist on Android API < 21.
2017-11-27 11:57:21 +01:00
Kenneth Geisshirt
93f93de448
localeconv() doesn't exist on Android API < 21.
2017-11-24 15:06:53 +01:00
Kenneth Geisshirt
fc6d62c68e
[2.0.11] Bump version
2017-11-23 17:54:11 +01:00
Kenneth Geisshirt
32072ce7c2
Merge pull request #1521 from realm/kneth/sync-2.1.7
...
Updating to Realm Sync 2.1.7.
2017-11-23 17:52:38 +01:00
Kenneth Geisshirt
3963ffa3db
Updating to Realm Sync 2.1.7.
2017-11-23 17:21:03 +01:00
Kenneth Geisshirt
92ab314ba5
Updating packages in ReactExample
2017-11-22 18:05:26 +02:00
Kenneth Geisshirt
66d02b3e4e
Don't download of sync during testing
2017-11-22 18:05:26 +02:00
Kenneth Geisshirt
906a9dc34e
Download core/sync when testing
2017-11-22 18:05:26 +02:00
Kenneth Geisshirt
cc515a6a60
Updating to RN 0.50.3.
2017-11-22 18:05:26 +02:00
Kenneth Geisshirt
c4e1784496
Better handling of local environment
2017-11-22 18:03:48 +02:00