Skip to content

Commit f501354

Browse files
authored
Update polite-waves-obey.md
changeset had the wrong package
1 parent 071f993 commit f501354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.changeset/polite-waves-obey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
"e2e": minor
2+
"@next-safe/middleware": minor
33
---
44

55
provide `gsspWithNonceAppliedToCsp` and `gipWithNonceAppliedToCsp` wrappers to inject nonce into pages with `getServerSideProps` / `getInitialProps`.
66

77
BREAKING CHANGE: nonce doesn't get applied to CSP automatically anymore. This extra step is neccessary
88
as there is no longer a way of reliably do that with Next 12.2.
99

10-
BREAKING CHANGE: drop `enhanceAppWithNonce`, it's no longer needed as nonce is injected though `getServerSideProps` of routes/pages now. That's actually a good thing, because [customizing `renderPage` is discouranged](https://nextjs.org/docs/advanced-features/custom-document#customizing-renderpage)
10+
BREAKING CHANGE: drop `enhanceAppWithNonce`, it's no longer needed as nonce is injected though `getServerSideProps` of routes/pages now. That's actually a good thing, because [customizing `renderPage` is discouranged](https://nextjs.org/docs/advanced-features/custom-document#customizing-renderpage)

0 commit comments

Comments
 (0)