Scaffolding 3.6.2 fixes navigation lifetimes and route generation.
Navigation
- Fix stale SwiftUI state after replacing a child flow’s root in a shared navigation stack.
- Ensure shared-stack customization receives its coordinator and ancestor environment values.
- Preserve the current tab selection when an invalid selection is requested.
- Skip seeded flow pushes that are unavailable on the current OS.
- Unify modal presentation across coordinator types and remove internal deprecated sheet-configuration usage.
Route generation
- Fix default-argument factories for closure aliases, conditional aliases, and parenthesized function types.
- Prevent generated types from shadowing payload types named
MetaorOwner. - Handle top-level
sendingannotations correctly in stored route payloads. - Preserve caller source locations for autoclosure defaults.
- Copy route documentation to generated cases and convenience factories.
Validation
- Add regression tests, compile fixtures, and a root-replacement demo.
- Add CI checks for warning-free builds, package tests, public consumers, and declared platforms.