Releases: ethanniser/next-typesafe-url
Releases · ethanniser/next-typesafe-url
next-typesafe-url@5.1.0
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 !
next-typesafe-url@5.0.0
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/.thenthe searchParams/routeParams promise. This means that those promises will now reject when validation fails, but this also allows more fine grained error handling.
next-typesafe-url@4.1.1
Patch Changes
- 5ee638f: Fixed page useRouteParams error status not reset issue.
next-typesafe-url@4.1.0
Minor Changes
- fb7e555: - Added pageExtensions CLI flag.
- Added .tsx extension support for routeType files.
next-typesafe-url@4.0.8
next-typesafe-url@4.0.7
Patch Changes
- 8a97b77: Remove next peer dep req on v13 (add v14)
next-typesafe-url@4.0.6
Patch Changes
- 367ac24: Fix cli ambient .d.ts file generation (building upon PR #85 and #87). Thanks to @chungweileong94.
next-typesafe-url@4.0.5
Patch Changes
- 3371794: revert previous change of import placements in generated .d.ts file
next-typesafe-url@4.0.4
next-typesafe-url@4.0.3
Patch Changes
- 52d64c7: Remove route groups from Static Router