diff --git a/packages/kaisel/CHANGELOG.md b/packages/kaisel/CHANGELOG.md index 4b2c5a5..3996ab9 100644 --- a/packages/kaisel/CHANGELOG.md +++ b/packages/kaisel/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog -## Unreleased +## 1.1.0 + +Additive only — no breaking changes. - `reevaluateOn` on `KaiselRouterConfig` / `KaiselRouterDelegate`: point it at any `Listenable` and the guard pipeline re-runs against the current stack @@ -16,6 +18,14 @@ main stack, shell branches, modules, and flows — so screen-view analytics no longer re-logs a tab you return to ([#66](https://github.com/Mastersam07/kaisel/issues/66)). +- Migration guides: a full auto_route verb translation table (with the two + translations that silently change behaviour called out), how `AutoRouter` + parent-with-`children:` shells map onto flattening, modules, or shell + branches, and notes on callback-carrying routes and inherited path params + ([#67](https://github.com/Mastersam07/kaisel/issues/67), + [#68](https://github.com/Mastersam07/kaisel/issues/68), + [#69](https://github.com/Mastersam07/kaisel/issues/69), + [#70](https://github.com/Mastersam07/kaisel/issues/70)). ## 1.0.0+1 diff --git a/packages/kaisel/pubspec.yaml b/packages/kaisel/pubspec.yaml index 8ad20cb..9109e79 100644 --- a/packages/kaisel/pubspec.yaml +++ b/packages/kaisel/pubspec.yaml @@ -1,6 +1,6 @@ name: kaisel description: A Dart 3-native Flutter router built on sealed routes, pattern matching, and a stack-as-state model. No string paths, no codegen. -version: 1.0.0+1 +version: 1.1.0 repository: https://github.com/Mastersam07/kaisel homepage: https://kaisel.dev issue_tracker: https://github.com/Mastersam07/kaisel/issues @@ -26,7 +26,7 @@ dependencies: flutter: sdk: flutter meta: ^1.15.0 - kaisel_core: ^1.0.0 + kaisel_core: ^1.1.0 web: ^1.1.0 dev_dependencies: diff --git a/packages/kaisel_core/CHANGELOG.md b/packages/kaisel_core/CHANGELOG.md index 286da49..5ea9cae 100644 --- a/packages/kaisel_core/CHANGELOG.md +++ b/packages/kaisel_core/CHANGELOG.md @@ -1,4 +1,6 @@ -## Unreleased +## 1.1.0 + +Additive only — no breaking changes. - `KaiselRouter.reevaluate()` — re-runs the guard pipeline against the current stack and applies the result, so a policy that changes while the stack sits diff --git a/packages/kaisel_core/pubspec.yaml b/packages/kaisel_core/pubspec.yaml index 80678d7..3e8bd61 100644 --- a/packages/kaisel_core/pubspec.yaml +++ b/packages/kaisel_core/pubspec.yaml @@ -1,6 +1,6 @@ name: kaisel_core description: Pure-Dart navigation core for the kaisel router — sealed routes, a stack-as-state model, guards, and URL codecs. No Flutter, no codegen. -version: 1.0.1 +version: 1.1.0 repository: https://github.com/Mastersam07/kaisel/tree/dev/packages/kaisel_core homepage: https://github.com/Mastersam07/kaisel/tree/dev/packages/kaisel_core issue_tracker: https://github.com/Mastersam07/kaisel/issues diff --git a/packages/kaisel_core/test/kaisel_reevaluate_test.dart b/packages/kaisel_core/test/kaisel_reevaluate_test.dart index bf92dfc..239aa32 100644 --- a/packages/kaisel_core/test/kaisel_reevaluate_test.dart +++ b/packages/kaisel_core/test/kaisel_reevaluate_test.dart @@ -22,8 +22,9 @@ final class _Passcode extends _R { KaiselGuard<_R> _lockGuard(bool Function() locked) => (current, proposed) { final protected = proposed.any((route) => route is _Vault); final hasPasscode = proposed.any((route) => route is _Passcode); - if (protected && locked() && !hasPasscode) + if (protected && locked() && !hasPasscode) { return [...proposed, const _Passcode()]; + } if (!locked() && hasPasscode) { return proposed.where((route) => route is! _Passcode).toList(); }