Skip to content

Releases: ethanniser/next-typesafe-url

[email protected]

05 Feb 22:53
5a1c7c4
Compare
Choose a tag to compare

Patch Changes

  • 7be60d1: update withLayoutParamValidation to expose only valid argument types
  • 25c2ad5: Handle underscores escaped as %5F

[email protected]

01 Feb 22:14
9bb92d0
Compare
Choose a tag to compare

Patch Changes

  • 0e88246: Fix: correctly use generic dynamic layout type in withLayoutParamValidation - (Thanks @TmLev)

[email protected]

01 Feb 21:39
915af78
Compare
Choose a tag to compare

Patch Changes

  • ea127fd: Fix bug with index route under a route group where the generate type file route string is blank

[email protected]

31 Jan 21:37
becd8ed
Compare
Choose a tag to compare

Patch Changes

  • 5ff950a: Add support for nextjs<15 where search/route params are not promises

[email protected]

24 Jan 23:56
6493fd3
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Jan 16:37
71dcc70
Compare
Choose a tag to compare

Patch Changes

  • 38a7e77: Fix peer dep issue for nextjs 15

[email protected]

07 Dec 19:11
83c627c
Compare
Choose a tag to compare

Minor Changes

  • ead4092: updates the cli to allow for a custom filename to be set under the --filename flag to replace the default of 'routeType.ts' - Thank you @JasonPaff !

[email protected]

07 Dec 03:06
e8c9eca
Compare
Choose a tag to compare

Major Changes

  • 2195782: Add support for Next.js 15, which makes accessing search and route params from page components and layouts async

    This change required moving the parsing logic from the HOC component, and before your page component ever gets called, to when you await/.then the searchParams/routeParams promise. This means that those promises will now reject when validation fails, but this also allows more fine grained error handling.

[email protected]

30 Oct 03:04
2e0171c
Compare
Choose a tag to compare

Patch Changes

  • 5ee638f: Fixed page useRouteParams error status not reset issue.

[email protected]

16 Jun 06:00
5740d93
Compare
Choose a tag to compare

Minor Changes

  • fb7e555: - Added pageExtensions CLI flag.
    • Added .tsx extension support for routeType files.