Skip to content
Open
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
13 changes: 0 additions & 13 deletions .changeset/next16-standalone-instrumentation.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/stale-lastmodified-next-16-3.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.65

### Patch Changes

- Updated dependencies [[`eb04b808731abdab6ed5c8dd30f0eb3b17355336`](https://github.com/opennextjs/opennextjs-aws/commit/eb04b808731abdab6ed5c8dd30f0eb3b17355336), [`33422799811e281a0882f2be24264730ae68fff0`](https://github.com/opennextjs/opennextjs-aws/commit/33422799811e281a0882f2be24264730ae68fff0)]:
- @opennextjs/aws@4.1.1

## 0.1.64

### 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.64",
"version": "0.1.65",
"private": true,
"scripts": {
"openbuild": "node ../../packages/open-next/dist/index.js build --build-command \"npx turbo build\"",
Expand Down
27 changes: 27 additions & 0 deletions packages/open-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# open-next

## 4.1.1

### Patch Changes

- [#1195](https://github.com/opennextjs/opennextjs-aws/pull/1195) [`eb04b808731abdab6ed5c8dd30f0eb3b17355336`](https://github.com/opennextjs/opennextjs-aws/commit/eb04b808731abdab6ed5c8dd30f0eb3b17355336) Thanks [@JiahaoZhu11](https://github.com/JiahaoZhu11)! - Fix `server/instrumentation.js does not exist` build failure on Next.js 16

On Next.js 16 the standalone output no longer copies `server/instrumentation.js`
into the standalone directory, but `copyTracedFiles` copies the instrumentation
`.nft.json` trace and then asserts the `.js` file exists in the standalone dir,
throwing `File server/instrumentation.js does not exist` during the server
bundle. The instrumentation file is now copied from the build dir into the
standalone dir (mirroring the existing `.nft.json` copy) so the assertion passes
and the file ships in the bundle.

- [#1207](https://github.com/opennextjs/opennextjs-aws/pull/1207) [`33422799811e281a0882f2be24264730ae68fff0`](https://github.com/opennextjs/opennextjs-aws/commit/33422799811e281a0882f2be24264730ae68fff0) Thanks [@conico974](https://github.com/conico974)! - Fix stale entries being revalidated in a blocking way on Next.js 16.3

To flag a cache entry as stale, the incremental cache adapter reported a
`lastModified` of `1` (i.e. right after the epoch) to Next.js. Starting with
Next.js 16.3 the incremental cache also compares `lastModified + expire` to now
and forces a blocking revalidation (`x-nextjs-cache: REVALIDATED`) when that is
in the past, which an epoch based value always is. Stale entries were therefore
never served while revalidating in the background.

On Next.js 16.3 and above, stale entries now report a `lastModified` just past
their revalidate window, so they stay inside their expire window and are served
stale as intended. Earlier versions keep the previous behaviour.

## 4.1.0

### Minor 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.0",
"version": "4.1.1",
"bin": {
"open-next": "./dist/index.js"
},
Expand Down