File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @opennextjs/cloudflare " : patch
3+ ---
4+
5+ fix: patch Next config for missing fields.
6+
7+ There was a regression in Next 16.1.0 (https://github.com/vercel/next.js/pull/86830 ) and some fields were missing in the config.
8+ The Next team fixed that in 16.1.4 (https://github.com/vercel/next.js/pull/88733 ).
9+
10+ This PR introduce a patch for 16.1.0-16.1.3
Original file line number Diff line number Diff line change 1414 "deploy:worker" : " pnpm run build:worker && pnpm wrangler deploy"
1515 },
1616 "dependencies" : {
17- "@aws-sdk/client-s3" : " ^3.721 .0" ,
18- "@aws-sdk/s3-request-presigner" : " ^3.721 .0" ,
17+ "@aws-sdk/client-s3" : " ^3.971 .0" ,
18+ "@aws-sdk/s3-request-presigner" : " ^3.971 .0" ,
1919 "next" : " 15.5.9" ,
2020 "react" : " ^19.0.3" ,
2121 "react-dom" : " ^19.0.3"
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ export function configurePlaywright(
3737
3838 const projects = [
3939 {
40- name : " chromium" ,
40+ name : ` ${ app } - chromium` ,
4141 use : { ...devices [ "Desktop Chrome" ] } ,
4242 } ,
4343 {
44- name : " firefox" ,
44+ name : ` ${ app } - firefox` ,
4545 use : { ...devices [ "Desktop Firefox" ] } ,
4646 } ,
4747 {
48- name : " webkit" ,
48+ name : ` ${ app } - webkit` ,
4949 use : { ...devices [ "Desktop Safari" ] } ,
5050 } ,
5151 ] ;
Original file line number Diff line number Diff line change 1515 "cf-typegen" : " wrangler types --env-interface CloudflareEnv"
1616 },
1717 "dependencies" : {
18- "next" : " 16.0.10 " ,
18+ "next" : " 16.1.4 " ,
1919 "react-dom" : " 19.2.3" ,
2020 "react" : " 19.2.3"
2121 },
Original file line number Diff line number Diff line change 5454 "dependencies" : {
5555 "@ast-grep/napi" : " 0.40.0" ,
5656 "@dotenvx/dotenvx" : " catalog:" ,
57- "@opennextjs/aws" : " 3.9.8 " ,
57+ "@opennextjs/aws" : " 3.9.10 " ,
5858 "cloudflare" : " ^4.4.1" ,
5959 "enquirer" : " ^2.4.1" ,
6060 "glob" : " catalog:" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { compileCache } from "@opennextjs/aws/build/compileCache.js";
33import { createCacheAssets , createStaticAssets } from "@opennextjs/aws/build/createAssets.js" ;
44import { createMiddleware } from "@opennextjs/aws/build/createMiddleware.js" ;
55import * as buildHelper from "@opennextjs/aws/build/helper.js" ;
6+ import { patchOriginalNextConfig } from "@opennextjs/aws/build/patch/patches/index.js" ;
67import { printHeader } from "@opennextjs/aws/build/utils.js" ;
78import logger from "@opennextjs/aws/logger.js" ;
89import type { Unstable_Config } from "wrangler" ;
@@ -68,6 +69,8 @@ export async function build(
6869 // Generate deployable bundle
6970 printHeader ( "Generating bundle" ) ;
7071
72+ await patchOriginalNextConfig ( options ) ;
73+
7174 compileCache ( options ) ;
7275 compileEnvFiles ( options ) ;
7376 await compileInit ( options , wranglerConfig ) ;
You can’t perform that action at this time.
0 commit comments