Skip to content

Releases: uhyo/funstack-router

0.0.4

24 Jan 10:42

Choose a tag to compare

What's Changed

Features

  • Add requireChildren option for route matching (#60)
  • Add RouteComponentPropsOf utility 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

24 Jan 02:45

Choose a tag to compare

What's Changed

Breaking Changes

  • Change the onNavigate callback signature from (event, matched) to (event, info) where info is { matches: MatchedRoute[] | null, intercepting: boolean }. The new intercepting flag indicates whether the router will intercept the navigation. (#52)

Features

  • Add type-safe route object with hooks useRouteParams, useRouteState, and useRouteData for accessing typed route data (#50)
  • Allow type-safe hooks to access ancestor route data in nested route hierarchies (#53)
  • Add exact option to route definitions for explicit control over exact vs prefix matching (#54)
  • Make path optional 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

13 Jan 14:08

Choose a tag to compare

0.0.3-alpha.1 Pre-release
Pre-release
chore: 0.0.3-alpha.1

Co-Authored-By: Claude Opus 4.5 <[email protected]>

0.0.3-alpha.0

12 Jan 13:15

Choose a tag to compare

0.0.3-alpha.0 Pre-release
Pre-release
  • Add a /server entrypoint

0.0.2

12 Jan 01:04

Choose a tag to compare

What's Changed

  • feat: add dispose event support for NavigationHistoryEntry by @uhyo in #26
  • feat: implement useBlocker hook by @uhyo in #37

Full Changelog: 0.0.1...0.0.2

0.0.2-alpha.0

12 Jan 01:29
f778d0e

Choose a tag to compare

0.0.2-alpha.0 Pre-release
Pre-release

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

16 Dec 08:22
ddba4b8

Choose a tag to compare

First non-alpha release which includes:

  • Navigation API based routing
  • Data Loaders

0.0.1-alpha.2

14 Dec 07:25

Choose a tag to compare

0.0.1-alpha.2 Pre-release
Pre-release
  • add data loader feature

0.0.1-alpha.1

10 Dec 15:41

Choose a tag to compare

Test release to check whether Trusted Publishing is working.

0.0.1-alpha.0

10 Dec 15:28

Choose a tag to compare

0.0.1-alpha.0 Pre-release
Pre-release
ci: extract tag logic in publish workflow