Skip to content

Commit

Permalink
update changelog for 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielittner committed Mar 14, 2023
1 parent 4d63288 commit 45accc7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
26 changes: 17 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
Change Log
==========

## 0.12.1 **UNRELEASED**
## 0.13.0 *(2023-03-14)*

### Navigator

- Added proguard rules to not obfuscate the names of `NavRoute`, `NavRoot` and `ActivityRoute
- Added proguard rules to not obfuscate the names of `NavRoute`, `NavRoot` and `ActivityRoute`
subclasses.

### Whetstone

- The `state` and `sendAction` parameters in annotated composables are now optional and only need
to be specified if they are needed
- The `state` and `sendAction` parameters of annotated composables can now have different names
- Automatically discover `ViewRenderer.Factory` subclass nested inside the annotated `ViewRenderer`
and removed the now obsolete `rendererFactory` parameter


## 0.12.0 *(2023-02-13)*

Expand All @@ -26,7 +34,7 @@ Change Log
- `route` and `scope` are combined into a `route` parameter which removes the need to define scope
classes, the `NavRoute` or `NavRoot` serves both purposes
- the previous point means that the same `route` will also need to be used in any place that that
requires scope markers like `@ScopeTo`, `@ContributesTo` or `@ContributesBinding`
requires scope markers like `@ScopeTo`, `@ContributesTo` or `@ContributesBinding`
- New `AppScope` scope marker class. This can be used as the scope marker for an app level component.
All whetstone annotations use it as default value for `parentScope` and `destinationScope`, so those
two don't need to be explicitly specified anymore after adopint `AppScope`.
Expand Down Expand Up @@ -91,7 +99,7 @@ Change Log

### Whetstone
- Add support for injecting dependencies into Composable functions, which are annotated with
`@ComposeScreen` or `@ComposeFragment`
`@ComposeScreen` or `@ComposeFragment`

### Navigator
- Refactor runtime module to remove androidx navigation
Expand All @@ -115,18 +123,18 @@ Change Log
- Use `requireNotNull` contracts for `requireRoute` functions
- Check for route to be not null before adding it to `Intent` in `CustomActivityNavigator`
- Move generated `DestinationComponent` to the nav entry generator. This reduces how often
we generate the contributed `DestinationComponent` by generating it only together with the
`NavEntryComponent` that needs it.
we generate the contributed `DestinationComponent` by generating it only together with the
`NavEntryComponent` that needs it.

### Whetstone

- Rename `findDependencies` to `findComponentByScope`. After getting rid of component
dependencies in favor of subcomponents our find methods were not named correctly anymore.
dependencies in favor of subcomponents our find methods were not named correctly anymore.
- Fix `Closeable` typo
- Remove unused `SavedStateRegistryOwner`
- Explicitly require a renderer factory to extend `ViewRenderer.Factory`. We relied on some
custom factories internally. Those are not necessary anymore and we can add the constraint
to the annotation.
custom factories internally. Those are not necessary anymore and we can add the constraint
to the annotation.

### Dependencies

Expand Down
4 changes: 2 additions & 2 deletions docs/whetstone/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ it falls into the `Fragment` category.
=== "Compose"

The `@ComposeScreen` annotation is added to the top level composable of a screen. This function
needs to have 2 parameters: the state that should be rendered and a lambda that allows
can have 2 parameters: the state that should be rendered and a lambda that allows
the composable to send actions for user interactions. This will then generate
another Composable function called `WhetstoneExampleUi` and a Dagger component.

Expand Down Expand Up @@ -82,7 +82,7 @@ it falls into the `Fragment` category.
=== "Compose with Fragments"

The `@ComposeFragment` annotation is added to the top level composable of a screen. This function
needs to have 2 parameters: the state that should be rendered and a lambda that allows
can have 2 parameters: the state that should be rendered and a lambda that allows
the composable to send actions for user interactions. This will then generate
a `Fragment` called `WhetstoneExampleUiFragment` and a Dagger component.

Expand Down

0 comments on commit 45accc7

Please sign in to comment.