Skip to content

Commit

Permalink
update CHANGELOG for 0.21.0 (#634)
Browse files Browse the repository at this point in the history
* update CHANGELOG for 0.21.0

* Update CHANGELOG.md
  • Loading branch information
gabrielittner authored Dec 7, 2023
1 parent 8c315c0 commit 09d741c
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
Change Log
==========

## 0.20.1 **UNRELEASED**
## 0.21.1 **UNRELEASED**


## 0.21.0 *(2023-12-07)*

- **Note**: `Fragment` navigation and codegen have been deprecated and will be
removed in the next release.
- Updated Kotlin to 1.9.21.

### Navigation

- **Breaking**: `navigateBackTo<...>(...)` is now an extension method and might need
to be explicitly imported.
- **Breaking**: The `Set` parameters of `NavHost` have been replaced with `ImmutableSet`
to allow the compose compiler to recognize these as immutable.
- **Breaking**: Removed `navController` parameter from `HavHost`. Passing a manually
created `NavHostController` introduced issues like breaking deep link handling.
- **New**: `NavHost` (both the AndroidX and the experimental variant) now supports
optionally passing a `NavEventNavigator`. This can be used instead of
`navController` to navigate from outside the `NavHost` (e.g. for bottom navigation).
The `NavHost` takes care of calling `NavigationSetup` for the passed navigator.
- **New**: `NavHost` from `navigation-experimental` now also supports passing a
Modifier to it.
- **New**: The AndroidX `NavHost` will internally call `Navigation.setViewNavController`
on the container `View`. This exists primarily for an easier migration from `Fragment`
navigation to Compose navigation.

### Codegen

- **New**: The `NavHostActivity` codegen now supports passing a `Modifier` to `NavHost`.
- **New**: The `NavHostActivity` codegen automatically provides an `ImmutableSet` for
destinations, deep link handlers and deep link prefixes.


## 0.20.0 *(2023-11-17)*
Expand Down

0 comments on commit 09d741c

Please sign in to comment.