Skip to content

Releases: block65/mrr

v7.0.1

18 Mar 07:19

Choose a tag to compare

What's Changed

  • v7: TS-native, oxlint/oxfmt, Tailwind v4, namedRoute builder by @maxholman in #13

Breaking Changes

  • namedRoute API — typed search params now use .searchParams<T>() builder instead of generic ordering
  • TS-native publishing — ships .ts source directly, no compiled JS output
  • Renamed entry pointsrc/index.tssrc/main.ts
  • Removed deprecated type exportsNamedRouteWithParams, NamedRouteWithoutParams no longer exported from @block65/mrr/named-route

Features

  • Auto-detect Navigation APIuseNavApi defaults to feature detection
  • namedRoute buildernamedRoute('/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

09 Jun 08:50

Choose a tag to compare

v6.0.0 Pre-release
Pre-release

What's Changed

Full Changelog: v5.3.0...v6.0.0

v5.3.0

08 Nov 02:36

Choose a tag to compare

What's Changed

Full Changelog: v5.2.0...v5.3.0

v5.2.0

24 May 08:57

Choose a tag to compare

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

10 Apr 08:36

Choose a tag to compare

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

10 Apr 06:02

Choose a tag to compare

Whats new

  • Fix nodejs/SSR compat - window -> globalThis

Full Changelog: v5.0.1...v5.1.0

v5.0.1

09 Apr 12:28

Choose a tag to compare

Whats new

BREAKING CHANGE - dest renamed to href

  • feat: add before unload and navigation interception and cancellation
  • feat: improve DX
  • feat: useNavigate Hook

Full Changelog: v4.2.0...v5.0.1

v4.2.0

01 Feb 09:28

Choose a tag to compare

Whats new

  • MIT license
  • types fixes

Full Changelog: v4.1.3...v4.2.0

v4.1.3

02 Jan 04:28

Choose a tag to compare

Whats new

  • types fix

Full Changelog: v4.1.1...v4.1.3

v4.1.1

27 Dec 09:47

Choose a tag to compare

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