Skip to content

Commit affaeea

Browse files
committed
Prepare for release 0.6.0.
1 parent d5087dc commit affaeea

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
Changelog
22
=========
33

4+
0.6.0
5+
-----
6+
7+
_2023-02-02_
8+
9+
Happy groundhog day!
10+
11+
* **Breaking API change**: `Ui.Content()` now contains a `Modifier` parameter.
12+
13+
This allows you to pass modifiers on to UIs directly.
14+
15+
```diff
16+
public interface Ui<UiState : CircuitUiState> {
17+
- @Composable public fun Content(state: UiState)
18+
+ @Composable public fun Content(state: UiState, modifier: Modifier)
19+
}
20+
```
21+
22+
* **New:** Add `Navigator.resetRoot(Screen)` function to reset the backstack root with a new root screen. There is a corresponding `awaitResetRoot()` function added to `FakeNavigator`.
23+
* **New:** Add `EventListener.start` callback function.
24+
* **New:** Add Compose UI dependency to circuit-core (to support `Modifier` in the API).
25+
* **Fix:** Fix `CircuitContext.putTag` generics.
26+
* **Fix:** Fix KSP code gen artifact to just be a pure JVM artifact.
27+
* **Fix:** `EventListener.onState`'s type is now `CircuitUiState` instead of `Any`.
28+
* **Removed:** `ScreenUi` is now removed and `Ui.Factory` simply returns `Ui` instances now.
29+
* **API Change:** `CircuitConfig.onUnavailableContent` is now no longer nullable. By default it displays a big ugly error text. If you want the previous behavior of erroring, replace it with a composable function that just throws an exception.
30+
31+
* Dependency updates
32+
```
33+
Kotlin 1.8.0
34+
Compose-JB 1.3.0
35+
KSP 1.8.0-1.0.9
36+
Compose Runtime 1.3.3
37+
Compose UI 1.3.3
38+
Compose Animation 1.3.3
39+
```
40+
441
0.5.0
542
-----
643

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ POM_DEVELOPER_ID=slackhq
6060
POM_DEVELOPER_NAME=Slack Technologies, Inc.
6161
POM_DEVELOPER_URL=https://github.com/slackhq
6262
POM_INCEPTION_YEAR=2022
63-
VERSION_NAME=1.0.0-SNAPSHOT
63+
VERSION_NAME=0.6.0

0 commit comments

Comments
 (0)