diff --git a/.changeset/odd-shoes-talk.md b/.changeset/odd-shoes-talk.md deleted file mode 100644 index 1f5a6288..00000000 --- a/.changeset/odd-shoes-talk.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/netlify': minor ---- - -Implements verification for edge middleware. This is a security measure to ensure that your serverless functions are only ever called by your edge middleware and not by a third party. - -When `edgeMiddleware` is enabled, the serverless function will now respond with `403 Forbidden` for requests that are not verified to have come from the generated edge middleware. No user action is necessary. diff --git a/packages/netlify/CHANGELOG.md b/packages/netlify/CHANGELOG.md index 6d410eeb..ce27db81 100644 --- a/packages/netlify/CHANGELOG.md +++ b/packages/netlify/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/netlify +## 5.1.0 + +### Minor Changes + +- [#152](https://github.com/withastro/adapters/pull/152) [`816bdc42e0665904e418dd0137bd6a7c8c74307f`](https://github.com/withastro/adapters/commit/816bdc42e0665904e418dd0137bd6a7c8c74307f) Thanks [@lilnasy](https://github.com/lilnasy)! - Implements verification for edge middleware. This is a security measure to ensure that your serverless functions are only ever called by your edge middleware and not by a third party. + + When `edgeMiddleware` is enabled, the serverless function will now respond with `403 Forbidden` for requests that are not verified to have come from the generated edge middleware. No user action is necessary. + ## 5.0.1 ### Patch Changes diff --git a/packages/netlify/package.json b/packages/netlify/package.json index b0d32f6b..29b5acec 100644 --- a/packages/netlify/package.json +++ b/packages/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "5.0.1", + "version": "5.1.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro",