Skip to content

Commit

Permalink
Prepare release 0.7.0
Browse files Browse the repository at this point in the history
Signed-off-by: Márton Braun <braunmarci@gmail.com>
  • Loading branch information
zsmb13 committed May 24, 2020
1 parent d210b81 commit f821ed6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.rainbowcake_version = '0.6.0'
ext.rainbowcake_version = '0.7.0'

ext.kotlin_version = '1.3.72'
ext.coroutines_version = '1.3.0'
Expand Down
27 changes: 27 additions & 0 deletions releases/0.7.0.md
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.

0 comments on commit f821ed6

Please sign in to comment.