-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Migrate to text based query parser. #7318
Changes from 80 commits
8ba609b
4bf5608
b371480
a057d86
7639116
f265004
680d4a0
fddd990
ab9567d
3907d84
822e18b
3391158
7cb641f
d5c8829
adaa578
19b3064
ca9b1d1
0f2e463
0f0e3bf
903871e
881ade0
40276b6
2a196c1
00c35a4
17010d3
f7e60c3
f13a5fa
eac4588
dba1364
6911806
f6c55a4
13460e9
fe8798c
7992ad6
4f673d7
b1f4166
d83c0ab
0eb4e75
e28dc74
aaeb655
bfdde4d
ada5ce2
684571a
7475ef1
0c3b2be
24a4e23
0b72a68
9a56bfb
d4b0976
b77490c
bccd1fc
98f7299
d207bdf
160663d
2cf6aa8
6874755
973cf5f
e32025f
884f88b
7c4ae44
3586ee0
ca80e8a
a032f94
9b4b525
9da3b22
388fc3e
a6745d2
e004400
c22e528
644f5da
90de866
d20dc75
a56b79d
9e257ee
db9ebad
37a637b
c3bb3ca
89ccbe5
350df13
04a046f
dcccda2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
## 10.4.0 (YYYY-MM-DD) | ||
### Breaking Changes | ||
* Queries no longer do nullability checks on non-nullable fields, so using `null` as an argument will not throw an `IllegalArgumentException`. | ||
* String query filters `contains`, `beginsWith`, `endsWith`, and `like`, now throw a null pointer exception on null values. | ||
* The query builder no longer throw `IllegalStateException` but `IllegalArgumentException`. | ||
|
||
### Enhancements | ||
* Added support for `java.util.UUID` as supported field in model classes. | ||
* Added support for `java.util.UUID` as a primary key. | ||
* Added support for the string-based Realm Query Language through `RealmQuery.rawPredicate(...)`. This allows many new type of queries not previously supported by the typed query API. See the Javadoc on this method for further details. (Issue [#6116](https://github.com/realm/realm-java/pull/6116)) | ||
* Queries across relationships now support the `between` operator. | ||
* Queries on numerical fields (byte, short, int, long, float, double, decimal128) now accept any numerical value as an argument. | ||
* The `distinct` query filter on unsupported fields no longer throws an exception when applied through when querying across relationships. | ||
* The `distinct` query filter no longer throws an exception when applied on non-existent fields. | ||
* `isEmpty` query filter can now be applied on `RealmList` and `RealmObject` fields. | ||
|
||
### Fixes | ||
* None | ||
### Known Bugs | ||
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. There are quite a few other known bugs in realm-java... Not sure it makes sense to list all those :-) |
||
* Sort and Distinct operations do not support using the Java field name of fields with a custom name defined. (Issue [#4550] (https://github.com/realm/realm-core/issues/4550)) | ||
* Queries on fields named with non-latin characters are not currently supported. (Issue [#4467] (https://github.com/realm/realm-core/issues/4467)) | ||
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. It is fine to have this entry when merging this PR, but I would consider this a blocker for releasing. |
||
|
||
### Compatibility | ||
* File format: Generates Realms with format v20. Unsynced Realms will be upgraded from Realm Java 2.0 and later. Synced Realms can only be read and upgraded if created with Realm Java v10.0.0-BETA.1. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this has to bump the major version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these changes are part of the datatype release which will be a major version bump