-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expose subscriptions more directly #6231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2a7a93c
WIP
cmelchior 730a750
Add Javadoc. Remove problematic getSubscription on RealmResults.
cmelchior 0e1a41c
WIP
cmelchior 02b1b67
Merge branch 'master' into cm/better-subscriptions
cmelchior 87413b8
Add subscription capabilities on RealmQuery
cmelchior be99baa
Add Subscription to query based module
cmelchior 9d9eeae
Add Realm tests. Fix a few bugs plus and docs.
cmelchior 76066ab
Add RealmQuery tests
cmelchior a3c1e94
Use ObjectStore implementation as much as possible.
cmelchior 43767a9
Added changelog
cmelchior 99a24f4
Refactor Realm initialization to support loading subscriptions. Other…
cmelchior 16cf0ab
Use correct version of Object Store
cmelchior 41b50bc
Work-around for adding __ResultSets twice
cmelchior 381d989
Fix Findbugs warnings
cmelchior 0c41625
Update Object Store. Revert RealmCache changes so opening Realm insta…
cmelchior fe37952
Use OS master
cmelchior 025e3a2
Add missing field from schema
cmelchior 322e1b4
PR feedback
cmelchior 5a1a4b5
Merge branch 'master' into cm/better-subscriptions
cmelchior 5f0b95e
PR feedback
cmelchior e4fa7d2
Attempt to fix flaky test
cmelchior b2ad370
Merge branch 'cm/better-subscriptions' of https://github.com/realm/re…
cmelchior dc1ff5b
Fix unstable tests by moving reset into tearing down tests instead of…
cmelchior File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## 5.?.? (2018-mm-dd) | ||
## 5.?.? (2018-MM-DD) | ||
|
||
### Enhancements | ||
* None | ||
|
@@ -15,6 +15,26 @@ | |
* None | ||
|
||
|
||
## 5.8.0 (YYYY-MM-DD) | ||
|
||
### Enhancements | ||
* [ObjectServer] Added Subscription class available to Query-based Realms. This exposes a Subscription more directly. This class is in beta. [#6231](https://github.com/realm/realm-java/pull/6231). | ||
* [ObjectServer] Added `Realm.getSubscriptions()`, `Realm.getSubscriptions(String pattern)` and `Realm.getSubscription` to make it easier to find existing subscriptions. These API's are in beta. [#6231](https://github.com/realm/realm-java/pull/6231). | ||
* [ObjectServer] Added `RealmQuery.subscribe()` and `RealmQuery.subscribe(String name)` to subscribe immediately inside a transaction. These API's are in beta. [#6231](https://github.com/realm/realm-java/pull/6231). | ||
cmelchior marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* [ObjectServer] Added support for subscribing directly inside `SyncConfiguration.initialData()`. This can be coupled with `SyncConfiguration.waitForInitialRemoteData()` in order to block a Realm from opening until the initial subscriptions are ready and have downloaded data. This API are in beta. [#6231](https://github.com/realm/realm-java/pull/6231). | ||
cmelchior marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Fixed | ||
* ?? (Issue [#??](https://github.com/realm/realm-java/issues/??), since ??). | ||
|
||
### Compatibility | ||
* Realm Object Server: 3.11.0 or later. | ||
* File format: Generates Realms with format v9 (Reads and upgrades all previous formats) | ||
* APIs are backwards compatible with all previous release of realm-java in the 5.x.y series. | ||
|
||
### Internal | ||
* None | ||
|
||
|
||
## 5.7.1 (2018-10-22) | ||
|
||
### Enhancements | ||
|
@@ -29,7 +49,7 @@ | |
* APIs are backwards compatible with all previous release of realm-java in the 5.x.y series. | ||
|
||
### Internal | ||
* None | ||
* Updated to Object Store commit: 362b886628b3aefc5b7a0bc32293d794dc1d4ad5 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does that solve any issues in Java? |
||
|
||
|
||
## 5.7.0 (2018-09-24) | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.