Skip to content

Commit e8c9eca

Browse files
authored
Merge pull request #114 from ethanniser/changeset-release/main
chore(release): 📦 version packages
2 parents ca75724 + 908619b commit e8c9eca

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.changeset/three-foxes-unite.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/next-typesafe-url/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# next-typesafe-url
22

3+
## 5.0.0
4+
5+
### Major Changes
6+
7+
- 2195782: Add support for Next.js 15, which makes accessing search and route params from page components and layouts async
8+
9+
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.
10+
311
## 4.1.1
412

513
### Patch Changes

packages/next-typesafe-url/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "next-typesafe-url",
33
"description": "Fully typesafe, JSON serializable, and zod validated URL search params, dynamic route params, and routing for NextJS pages directory",
44
"license": "MIT",
5-
"version": "4.1.1",
5+
"version": "5.0.0",
66
"author": "Ethan Niser",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)