Skip to content

Commit be1c950

Browse files
committed
chore(changesets): add
1 parent 91f10e6 commit be1c950

File tree

5 files changed

+29
-0
lines changed

5 files changed

+29
-0
lines changed

.changeset/cyan-trees-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@next-safe/middleware": minor
3+
---
4+
5+
Internal redesign for Next.js 12.2 (`req.page` deprecated) ([#37](https://github.com/nibtime/next-safe-middleware/issues/37))

.changeset/healthy-ducks-lay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"e2e": minor
3+
---
4+
5+
upgrade to Next 12.2. with stable root-level middleware

.changeset/new-crabs-ring.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@next-safe/middleware": patch
3+
---
4+
5+
fix: `enhanceAppWithNonce` as separate function.Must spread `nonce` into `pageProps`, else fails with Next 12.2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@next-safe/middleware": patch
3+
---
4+
5+
fix: guard critical section with lockfile when writing out hashes for CSP to file at build time

.changeset/smart-monkeys-attend.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@next-safe/middleware": minor
3+
---
4+
5+
provide new middleware abstractions for Next.js 12.2 stable middleware
6+
7+
* `matchChain` function that allows to disable chain execution for certain requests with a matcher (predicate on `NextRequest`)
8+
* `continued` function that allows to continue a middleware response to a middleware chain
9+
* `isPageRequest` matcher that matches only requests to Next.js pages

0 commit comments

Comments
 (0)