Skip to content

v6.1.0

Compare
Choose a tag to compare
@chaance chaance released this 10 Dec 18:19
· 1375 commits to main since this release

πŸ› Bug fixes

  • Fixed a bug that broke support for base64 encoded IDs on nested routes (#8291)

✨ Features

  • <Outlet> can now receive a context prop. This value is passed to child routes and is accessible via the new useOutletContext hook. See the API docs for details. (#8461)
  • <NavLink> can now receive a child function for access to its props. (#8164)

πŸ’… Enhancements

  • Improved TypeScript signature for useMatch and matchPath. For example, when you call useMatch("foo/:bar/:baz"), the path is parsed and the return type will be PathMatch<"bar" | "baz">. (#8030)
  • A few error message improvements (#8202)

New Contributors

Full Changelog: v6.0.1...v6.1.0