Releases: block65/mrr
Releases · block65/mrr
v7.0.1
What's Changed
- v7: TS-native, oxlint/oxfmt, Tailwind v4, namedRoute builder by @maxholman in #13
Breaking Changes
namedRouteAPI — typed search params now use.searchParams<T>()builder instead of generic ordering- TS-native publishing — ships
.tssource directly, no compiled JS output - Renamed entry point —
src/index.ts→src/main.ts - Removed deprecated type exports —
NamedRouteWithParams,NamedRouteWithoutParamsno longer exported from@block65/mrr/named-route
Features
- Auto-detect Navigation API —
useNavApidefaults to feature detection namedRoutebuilder —namedRoute('/search').searchParams<{ q: string }>()- Vitest type tests — type-level assertions for route builder API
Housekeeping
- ESLint/Prettier → oxlint/oxfmt
- Examples redesigned with Tailwind v4
- CI updated to Node 24, latest GitHub Actions
- Removed bundlesize, build step, dom.d.ts
Full Changelog: v6.0.0...v7.0.0
v6.0.0
What's Changed
- feat: add support for view transition api et al by @maxholman in #10
- fix: onclick when using nav api + types by @maxholman in #11
- refactor + support for view transitions by @maxholman in #12
Full Changelog: v5.3.0...v6.0.0
v5.3.0
v5.2.0
Whats new
- feat: added
useRouteParams - fix: react focus on location change when using navigation API
- feat: added escape hatch to opt out of navigation API
Full Changelog: v5.1.1...v5.2.0
v5.1.1
Whats new
- fix: broken reference to global origin - fix origin determination and add tests
Full Changelog: v5.1.0...v5.1.1
v5.1.0
v5.0.1
Whats new
BREAKING CHANGE - dest renamed to href
- feat: add before unload and navigation interception and cancellation
- feat: improve DX
- feat:
useNavigateHook
Full Changelog: v4.2.0...v5.0.1
v4.2.0
v4.1.3
v4.1.1
Whats new
Bugs
- fix: correct the union type for component/children/default routes
Improvements
- fix: ensure route components/children that dont match never get evaluated
- fix: make route params extraction base type stricter
Full Changelog: v4.0.0...v4.1.1