Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/cache-interception-error-cache-control.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forward-dangerously-allow-local-ip.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/app-pages-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# app-pages-router

## 0.1.66

### Patch Changes

- Updated dependencies [[`dd6ea23dfdc84c54c7d27950794faf67b4d930f1`](https://github.com/opennextjs/opennextjs-aws/commit/dd6ea23dfdc84c54c7d27950794faf67b4d930f1), [`78ca8fe40d80fbe950e8478fc3400d40614e195d`](https://github.com/opennextjs/opennextjs-aws/commit/78ca8fe40d80fbe950e8478fc3400d40614e195d)]:
- @opennextjs/aws@4.1.2

## 0.1.65

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/app-pages-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-pages-router",
"version": "0.1.65",
"version": "0.1.66",
"private": true,
"scripts": {
"openbuild": "node ../../packages/open-next/dist/index.js build --build-command \"npx turbo build\"",
Expand Down
10 changes: 10 additions & 0 deletions packages/open-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# open-next

## 4.1.2

### Patch Changes

- [#1227](https://github.com/opennextjs/opennextjs-aws/pull/1227) [`dd6ea23dfdc84c54c7d27950794faf67b4d930f1`](https://github.com/opennextjs/opennextjs-aws/commit/dd6ea23dfdc84c54c7d27950794faf67b4d930f1) Thanks [@vicb](https://github.com/vicb)! - Stop the cache interceptor from serving cached 404 and 500 responses with a cacheable `cache-control`.

`notFound()` results on ISR routes are written to the incremental cache by Next.js, and the interceptor served them with the entry's own `cache-control` — up to `s-maxage=31536000` for a route that declares no `revalidate`. A transient 404 could therefore be held at the CDN for a year. The interceptor now applies the same override the server path already applies in `OpenNextNodeResponse.fixHeadersForError`, which it was bypassing by returning a result directly. As on the server path, only 404 and 500 are overridden, and `OPEN_NEXT_DANGEROUSLY_SET_ERROR_HEADERS=true` opts out.

- [#1226](https://github.com/opennextjs/opennextjs-aws/pull/1226) [`78ca8fe40d80fbe950e8478fc3400d40614e195d`](https://github.com/opennextjs/opennextjs-aws/commit/78ca8fe40d80fbe950e8478fc3400d40614e195d) Thanks [@lcordier42](https://github.com/lcordier42)! - Forward `images.dangerouslyAllowLocalIP` to `fetchExternalImage` on Next.js 16 instead of hardcoding `false`, so external images served from hosts resolving to private IPs (e.g. an internal media proxy) can be optimized again when the user has explicitly opted out of the SSRF guard in their Next.js config.

## 4.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/open-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"access": "public"
},
"name": "@opennextjs/aws",
"version": "4.1.1",
"version": "4.1.2",
"bin": {
"open-next": "./dist/index.js"
},
Expand Down
Loading