-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Márton Braun <braunmarci@gmail.com>
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# *0.7.0* | ||
|
||
Fifteenth release of RainbowCake. | ||
|
||
## What's new: | ||
|
||
### AndroidX migration | ||
|
||
RainbowCake has been migrated to AndroidX dependencies instead of the support libraries, and no longer supports projects built on the support library. A year and a half after release of AndroidX, this seemed like a reasonable time to make the jump. | ||
|
||
### `JobViewModel` deprecation | ||
|
||
The `JobViewModel` class that provides the coroutine integration of the framework (via `execute`) is now deprecated, and will be removed in a couple releases. Its functionality has been pulled up into the `RainbowCakeViewModel` base class, which now handles view state, events, and coroutine support. Having just one ViewModel base class in the framework should make things less confusing. | ||
|
||
Please replace any usages of `JobViewModel` with `RainbowCakeViewModel` (you get IDE support for this, so it should be trivial). | ||
|
||
### Channel module deprecation | ||
|
||
The `rainbow-cake-channels` module has been deprecated, and will be removed in an upcoming release entirely. Coroutine Flows should replace most usages of channels at this point. | ||
|
||
### Small stuff | ||
|
||
- Some method visibilities have been restricted in `RainbowCakeFragment`. These method should not be called anywhere outside of descendants of the `Fragment`. | ||
- The `observeStateAndEvents` testing function now has a variant that can observe queued events, in addition to view state and events. | ||
- The `requireArguments` method is now deprecated, as the AndroidX `Fragment` class includes the method, making the extension unnecessary. | ||
- Added some new unit tests for `SingleShotLiveData`. | ||
- Small project configuration updates, dependency version bumps, etc. |