Releases: uhyo/funstack-router
Releases · uhyo/funstack-router
0.0.4
What's Changed
Features
- Add
requireChildrenoption for route matching (#60) - Add
RouteComponentPropsOfutility type for extracting route component props (#58)
Fixes
- Improve loader arguments type (#386812d)
Internal
- Use interface instead of intersection type for better type error messages (#333c6d6)
Full Changelog: 0.0.3...0.0.4
0.0.3
What's Changed
Breaking Changes
- Change the
onNavigatecallback signature from(event, matched)to(event, info)whereinfois{ matches: MatchedRoute[] | null, intercepting: boolean }. The newinterceptingflag indicates whether the router will intercept the navigation. (#52)
Features
- Add type-safe route object with hooks
useRouteParams,useRouteState, anduseRouteDatafor accessing typed route data (#50) - Allow type-safe hooks to access ancestor route data in nested route hierarchies (#53)
- Add
exactoption to route definitions for explicit control over exact vs prefix matching (#54) - Make
pathoptional in route definitions for layout wrappers and catch-all routes (#55) - Add server entry point (
@funstack/router/server) for RSC compatibility (#42) - Support JSX element syntax for route component
Full Changelog: 0.0.2...0.0.3
0.0.3-alpha.1
chore: 0.0.3-alpha.1 Co-Authored-By: Claude Opus 4.5 <[email protected]>
0.0.3-alpha.0
- Add a
/serverentrypoint
0.0.2
0.0.2-alpha.0
What's Changed
- feat: add "use client" directive for RSC compatibility by @uhyo in #42
- chore: 0.0.2-alpha.0 by @uhyo in #43
Full Changelog: 0.0.2...0.0.2-alpha.0
0.0.1
0.0.1-alpha.2
- add data loader feature
0.0.1-alpha.1
Test release to check whether Trusted Publishing is working.
0.0.1-alpha.0
ci: extract tag logic in publish workflow