diff --git a/.changeset/brave-stingrays-smile.md b/.changeset/brave-stingrays-smile.md
deleted file mode 100644
index 32ffe78..0000000
--- a/.changeset/brave-stingrays-smile.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix(document): use `any` type (children and return value) for components of `provideComponents`(fixes [#46](https://github.com/nibtime/next-safe-middleware/issues/46))
diff --git a/.changeset/chilly-experts-type.md b/.changeset/chilly-experts-type.md
deleted file mode 100644
index 3a87395..0000000
--- a/.changeset/chilly-experts-type.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix(document): support new script insertion behavior
-- handle `getPreloadDynamicChunks` and `getPreloadMainLinks` in `
`
-- hash `beforeInteractiveInlineScripts` in ``
-- handle scripts also in drop-in component for ``
-- trustify scripts in `initialProps.head`
\ No newline at end of file
diff --git a/.changeset/empty-timers-guess.md b/.changeset/empty-timers-guess.md
deleted file mode 100644
index a8c861e..0000000
--- a/.changeset/empty-timers-guess.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix(document): prevent application of nonce in production builds (fixes [#49](https://github.com/nibtime/next-safe-middleware/issues/49))
diff --git a/.changeset/pink-seals-look.md b/.changeset/pink-seals-look.md
deleted file mode 100644
index 2d04ab1..0000000
--- a/.changeset/pink-seals-look.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-provide base logical operators for chain matchers (request predicates): `matchNot`, `matchAnd`, `matchOr`
diff --git a/.changeset/polite-waves-obey.md b/.changeset/polite-waves-obey.md
deleted file mode 100644
index d35d7cd..0000000
--- a/.changeset/polite-waves-obey.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"@next-safe/middleware": minor
----
-
-provide `gsspWithNonceAppliedToCsp` and `gipWithNonceAppliedToCsp` wrappers to inject nonce into pages with `getServerSideProps` / `getInitialProps`.
-
-BREAKING CHANGE: nonce doesn't get applied to CSP automatically anymore. This extra step is neccessary
-as there is no longer a way of reliably do that with Next 12.2.
-
-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)
diff --git a/.changeset/quiet-comics-allow.md b/.changeset/quiet-comics-allow.md
deleted file mode 100644
index b0d7edd..0000000
--- a/.changeset/quiet-comics-allow.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix(strictDynamic): exclude Safari from Hash-based Strict CSP
-
-- the problem is probably that Safari isn't truly CSP-3 compliant yet, like Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1409200. `strict-dynamic` seems to mess up SRI validation there.
diff --git a/.changeset/shiny-jobs-peel.md b/.changeset/shiny-jobs-peel.md
deleted file mode 100644
index 570ecb4..0000000
--- a/.changeset/shiny-jobs-peel.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"docs": minor
----
-
-:sparkles: set up docs website with [Nextra](https://nextra.vercel.app/) on Next.js 12.2 (fixes [#30](https://github.com/nibtime/next-safe-middleware/issues/30))
diff --git a/.changeset/small-tools-tell.md b/.changeset/small-tools-tell.md
deleted file mode 100644
index f7b1631..0000000
--- a/.changeset/small-tools-tell.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix: consider `basePath` from `next.config.js` for writing and fetching hashes (fixes [#48](https://github.com/nibtime/next-safe-middleware/issues/48))
diff --git a/.changeset/stale-meals-shout.md b/.changeset/stale-meals-shout.md
deleted file mode 100644
index 451704c..0000000
--- a/.changeset/stale-meals-shout.md
+++ /dev/null
@@ -1,29 +0,0 @@
----
-"@next-safe/middleware": minor
----
-
-:boom: changes to `ChainableMiddleware` decrease resource utilization (fixes [#45](https://github.com/nibtime/next-safe-middleware/issues/45))
-
-- new `MiddlewareChainContext` interface
-
-perf: decrease CPU utilization
-- use `ctx.cache.get` and `ctx.cache.set` for caching CSP in middleware chain (no serialize/deserialize)
-- write to repsonse only once from chain cache at the end
-- remove unnecessary some double ops
-
-perf: decrease deployed size
-- use new built-in `userAgent` from `next/server`
-
-BREAKING CHANGE: supports only Stable middleware from now on (needs `next >= 12.2`, as is specified in peerDeps)
-
-BREAKING CHANGE: replace `ua-parser-js` with `userAgent` from `next/server` available since `12.2`
-
-BREAKING CHANGE: `ChainableMiddleware` with `(ctx: MiddlewareChainContext)` as 3rd parameter.
-
-BREAKING CHANGE: turn positional params into named params for `Configinitializer`
-
-
-
-
-
-
diff --git a/.changeset/stale-weeks-type.md b/.changeset/stale-weeks-type.md
deleted file mode 100644
index 3cf4cce..0000000
--- a/.changeset/stale-weeks-type.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix: better `isPageRequest` matcher
-
-* exclude only basepaths `/_next` and `/api`
-* exclude all paths with file endings
-* exclude `isPreviewModeRequest` and `isNextJsDataRequest` (new matchers)
-
diff --git a/.changeset/tasty-singers-allow.md b/.changeset/tasty-singers-allow.md
deleted file mode 100644
index bfa88af..0000000
--- a/.changeset/tasty-singers-allow.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-perf(middleware): `telemetry` wrapper to log basic measurements and infos from middleware execution
diff --git a/.changeset/unlucky-emus-decide.md b/.changeset/unlucky-emus-decide.md
deleted file mode 100644
index 02270e9..0000000
--- a/.changeset/unlucky-emus-decide.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@next-safe/middleware": patch
----
-
-fix(csp): handle boolean directives correctly
diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md
new file mode 100644
index 0000000..77d1862
--- /dev/null
+++ b/apps/docs/CHANGELOG.md
@@ -0,0 +1,12 @@
+# docs
+
+## 0.1.0
+
+### Minor Changes
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4) Thanks [@nibtime](https://github.com/nibtime)! - :sparkles: set up docs website with [Nextra](https://nextra.vercel.app/) on Next.js 12.2 (fixes [#30](https://github.com/nibtime/next-safe-middleware/issues/30))
+
+### Patch Changes
+
+- Updated dependencies [[`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4)]:
+ - @next-safe/middleware@0.9.0
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 400777c..a903066 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -1,6 +1,6 @@
{
"name": "docs",
- "version": "0.0.0",
+ "version": "0.1.0",
"private": true,
"yarn.build": {
"input": [
diff --git a/apps/e2e/CHANGELOG.md b/apps/e2e/CHANGELOG.md
index 12b3ad9..69b3b2b 100644
--- a/apps/e2e/CHANGELOG.md
+++ b/apps/e2e/CHANGELOG.md
@@ -1,5 +1,12 @@
# e2e
+## 0.6.1
+
+### Patch Changes
+
+- Updated dependencies [[`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4), [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa), [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4)]:
+ - @next-safe/middleware@0.9.0
+
## 0.6.0
### Minor Changes
diff --git a/apps/e2e/package.json b/apps/e2e/package.json
index d2afd4f..f5cf5f6 100644
--- a/apps/e2e/package.json
+++ b/apps/e2e/package.json
@@ -1,6 +1,6 @@
{
"name": "e2e",
- "version": "0.6.0",
+ "version": "0.6.1",
"private": true,
"yarn.build": {
"input": [
diff --git a/packages/next-safe-middleware/CHANGELOG.md b/packages/next-safe-middleware/CHANGELOG.md
index 5b53927..ed99cad 100644
--- a/packages/next-safe-middleware/CHANGELOG.md
+++ b/packages/next-safe-middleware/CHANGELOG.md
@@ -1,5 +1,68 @@
# @next-safe/middleware
+## 0.9.0
+
+### Minor Changes
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa) Thanks [@nibtime](https://github.com/nibtime)! - provide `gsspWithNonceAppliedToCsp` and `gipWithNonceAppliedToCsp` wrappers to inject nonce into pages with `getServerSideProps` / `getInitialProps`.
+
+ BREAKING CHANGE: nonce doesn't get applied to CSP automatically anymore. This extra step is neccessary
+ as there is no longer a way of reliably do that with Next 12.2.
+
+ 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)
+
+* [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4) Thanks [@nibtime](https://github.com/nibtime)! - :boom: changes to `ChainableMiddleware` decrease resource utilization (fixes [#45](https://github.com/nibtime/next-safe-middleware/issues/45))
+
+ - new `MiddlewareChainContext` interface
+
+ perf: decrease CPU utilization
+
+ - use `ctx.cache.get` and `ctx.cache.set` for caching CSP in middleware chain (no serialize/deserialize)
+ - write to repsonse only once from chain cache at the end
+ - remove unnecessary some double ops
+
+ perf: decrease deployed size
+
+ - use new built-in `userAgent` from `next/server`
+
+ BREAKING CHANGE: supports only Stable middleware from now on (needs `next >= 12.2`, as is specified in peerDeps)
+
+ BREAKING CHANGE: replace `ua-parser-js` with `userAgent` from `next/server` available since `12.2`
+
+ BREAKING CHANGE: `ChainableMiddleware` with `(ctx: MiddlewareChainContext)` as 3rd parameter.
+
+ BREAKING CHANGE: turn positional params into named params for `Configinitializer`
+
+### Patch Changes
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4) Thanks [@nibtime](https://github.com/nibtime)! - fix(document): use `any` type (children and return value) for components of `provideComponents`(fixes [#46](https://github.com/nibtime/next-safe-middleware/issues/46))
+
+* [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa) Thanks [@nibtime](https://github.com/nibtime)! - fix(document): support new script insertion behavior
+ - handle `getPreloadDynamicChunks` and `getPreloadMainLinks` in ``
+ - hash `beforeInteractiveInlineScripts` in ``
+ - handle scripts also in drop-in component for ``
+ - trustify scripts in `initialProps.head`
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa) Thanks [@nibtime](https://github.com/nibtime)! - fix(document): prevent application of nonce in production builds (fixes [#49](https://github.com/nibtime/next-safe-middleware/issues/49))
+
+* [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4) Thanks [@nibtime](https://github.com/nibtime)! - provide base logical operators for chain matchers (request predicates): `matchNot`, `matchAnd`, `matchOr`
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa) Thanks [@nibtime](https://github.com/nibtime)! - fix(strictDynamic): exclude Safari from Hash-based Strict CSP
+
+ - the problem is probably that Safari isn't truly CSP-3 compliant yet, like Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1409200. `strict-dynamic` seems to mess up SRI validation there.
+
+* [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa) Thanks [@nibtime](https://github.com/nibtime)! - fix: consider `basePath` from `next.config.js` for writing and fetching hashes (fixes [#48](https://github.com/nibtime/next-safe-middleware/issues/48))
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4) Thanks [@nibtime](https://github.com/nibtime)! - fix: better `isPageRequest` matcher
+
+ - exclude only basepaths `/_next` and `/api`
+ - exclude all paths with file endings
+ - exclude `isPreviewModeRequest` and `isNextJsDataRequest` (new matchers)
+
+* [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`071f993`](https://github.com/nibtime/next-safe-middleware/commit/071f993866279d8d0920f348a0435f254ffe50fa) Thanks [@nibtime](https://github.com/nibtime)! - perf(middleware): `telemetry` wrapper to log basic measurements and infos from middleware execution
+
+- [#47](https://github.com/nibtime/next-safe-middleware/pull/47) [`f9ecbe3`](https://github.com/nibtime/next-safe-middleware/commit/f9ecbe30fa047eed13958b5b74e38a248c7a23e4) Thanks [@nibtime](https://github.com/nibtime)! - fix(csp): handle boolean directives correctly
+
## 0.8.0
### Minor Changes
diff --git a/packages/next-safe-middleware/package.json b/packages/next-safe-middleware/package.json
index 32cec50..afa7b68 100644
--- a/packages/next-safe-middleware/package.json
+++ b/packages/next-safe-middleware/package.json
@@ -1,6 +1,6 @@
{
"name": "@next-safe/middleware",
- "version": "0.8.0",
+ "version": "0.9.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "dist/index.d.ts",