-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changelog
67 lines (52 loc) · 2.9 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
###2.5.0
- Added support for Realm 5.9.0
###2.4.0
- Added support for Realm 5.8.0
###2.3.0
- Added support for Realm 5.7.0 and Kotlin 1.3
###2.1.3
- New global function executeTransaction { ... } for performing several operations in the same transaction (see readme for details)
- Async queries are not forced to be executed in the main thread anymore. A new thread with a looper attached to it will be created for you if needed (see thread management section in readme for details)
- Flowable and single queries now takes into account if the thread where you perform the query has a looper attached to it, in order to avoid creating a new one.
###2.1.0
- BREAKING CHANGE: Now queries with filters don't has a receiver in the lambda expression. You can directly use methods like equalTo(). For example, you should write Event().query { equalTo("id","abc") } instead of Event().query { it.equalTo("id","abc") }
- Parametriced global versions of all query, delete and count functions. Thanks to @PrashamTrivedi
- New initModule method in RealmConfigStore class. You can now initialize all your entities from a specific module in a single line. Thanks to @magillus
- Updated kotlin version to 1.2.10 and realm version to 4.3.1
###2.0.0
- Added Realm 4.0 support
- Removed rxjava1 support
- Removed -rxjava and -rxjava2 library versions, library is provided with rxjava2 support by default.
- Added equalToValue() method in query builder. It seems to be a kotlin compiler related error which produces an overload ambiguity error with equalTo method in realm 4.0.
- Added @AutoIncrementPk annotation class for automatic primary key generation.
###1.2.0
- Support for different realm configurations
- New method queryAndUpdate
###1.1.5
- Separated library into modules.
###1.1.2
- Removed deprecated methods
- Code cleaned up and refactored
- New sorted methods for observable, flowable and single methods
###1.1.1
- Support for realm 3.5.0 and Kotlin 1.1.3
- Avoid NPE when RealmObject instance does not belong to realm instance
###1.0.9
- Added support for rxjava 2
- allItemsAsObservable method deprecated. Use queryAllAsObservable() instead.
###1.0.8
- Added count method to RealmObject
###1.0.7
- Updated to Kotlin 1.1.2 and Realm 3.1.3
###1.0.6
- firstItem property deprecated. Use queryFirst() instead. Same for async version.
- lastItem property deprecated. Use queryLast() instead. Same for async version.
- allItems property deprecatd. Use queryAll() instead. Same for async version.
- If you perform observable queries on a background thread, now those queries are executed on a background thread with a looper attached, instead of execute them on the main thread.
- Added new method queryLast with a condition.
- Removed manifest params from library module.
###1.0.5
- Added new method queryFirst()
- Added new methods of the family querySorted()
###1.0.4
- Added saveManaged() methods