Skip to content

Commit

Permalink
Merge pull request #114 from ethanniser/changeset-release/main
Browse files Browse the repository at this point in the history
chore(release): 📦  version packages
  • Loading branch information
ethanniser authored Dec 7, 2024
2 parents ca75724 + 908619b commit e8c9eca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .changeset/three-foxes-unite.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/next-typesafe-url/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# 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`/`.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.

## 4.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-typesafe-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "next-typesafe-url",
"description": "Fully typesafe, JSON serializable, and zod validated URL search params, dynamic route params, and routing for NextJS pages directory",
"license": "MIT",
"version": "4.1.1",
"version": "5.0.0",
"author": "Ethan Niser",
"repository": {
"type": "git",
Expand Down

0 comments on commit e8c9eca

Please sign in to comment.