Skip to content

Commit 9b36063

Browse files
authored
templates: bumps next.js to 16.2.6 (#16538)
This bumps the Next.js version in our templates and monorepo to 16.2.6. It also bumps the minimum supported Next.js 16 version to 16.2.6, to discourage people from using a Next.js version with known CVEs.
1 parent c31f4ef commit 9b36063

39 files changed

Lines changed: 7161 additions & 14886 deletions

File tree

docs/getting-started/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Payload requires the following software:
1616
- `15.2.9` - `15.2.x`
1717
- `15.3.9` - `15.3.x`
1818
- `15.4.11` - `15.4.x`
19-
- `16.2.2`+
19+
- `16.2.6`+
2020
- Any [compatible database](/docs/database/overview) (MongoDB, Postgres or SQLite)
2121

2222
<Banner type="warning">

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"@types/fs-extra": "^11.0.2",
195195
"@types/minimist": "1.2.5",
196196
"@types/node": "22.15.30",
197-
"@types/react": "19.2.9",
197+
"@types/react": "19.2.14",
198198
"@types/react-dom": "19.2.3",
199199
"@types/shelljs": "0.8.15",
200200
"@vitest/ui": "4.1.2",
@@ -226,8 +226,8 @@
226226
"postcss": "^8.4.49",
227227
"postcss-scss": "^4.0.9",
228228
"prettier": "3.5.3",
229-
"react": "19.2.4",
230-
"react-dom": "19.2.4",
229+
"react": "19.2.6",
230+
"react-dom": "19.2.6",
231231
"rimraf": "6.0.1",
232232
"sharp": "0.32.6",
233233
"shelljs": "0.8.5",

packages/admin-bar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@payloadcms/eslint-config": "workspace:*",
45-
"@types/react": "19.2.9",
45+
"@types/react": "19.2.14",
4646
"@types/react-dom": "19.2.3",
4747
"payload": "workspace:*"
4848
},

packages/live-preview-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"devDependencies": {
4848
"@payloadcms/eslint-config": "workspace:*",
49-
"@types/react": "19.2.9",
49+
"@types/react": "19.2.14",
5050
"@types/react-dom": "19.2.3",
5151
"payload": "workspace:*"
5252
},

packages/next/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@
131131
"@babel/preset-env": "7.27.2",
132132
"@babel/preset-react": "7.27.1",
133133
"@babel/preset-typescript": "7.27.1",
134-
"@next/eslint-plugin-next": "16.2.3",
134+
"@next/eslint-plugin-next": "16.2.6",
135135
"@payloadcms/eslint-config": "workspace:*",
136136
"@types/busboy": "1.5.4",
137-
"@types/react": "19.2.9",
137+
"@types/react": "19.2.14",
138138
"@types/react-dom": "19.2.3",
139139
"babel-plugin-react-compiler": "19.1.0-rc.3",
140140
"esbuild": "0.27.1",
@@ -144,7 +144,7 @@
144144
},
145145
"peerDependencies": {
146146
"graphql": "^16.8.1",
147-
"next": ">=15.2.9 <15.3.0 || >=15.3.9 <15.4.0 || >=15.4.11 <15.5.0 || >=16.2.2 <17.0.0",
147+
"next": ">=15.2.9 <15.3.0 || >=15.3.9 <15.4.0 || >=15.4.11 <15.5.0 || >=16.2.6 <17.0.0",
148148
"payload": "workspace:*"
149149
},
150150
"engines": {

packages/plugin-cloud-storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"devDependencies": {
6767
"@types/find-node-modules": "^2.1.2",
68-
"@types/react": "19.2.9",
68+
"@types/react": "19.2.14",
6969
"@types/react-dom": "19.2.3",
7070
"payload": "workspace:*"
7171
},

packages/plugin-ecommerce/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@payloadcms/next": "workspace:*",
9393
"@payloadcms/translations": "workspace:*",
9494
"@types/json-schema": "7.0.15",
95-
"@types/react": "19.2.9",
95+
"@types/react": "19.2.14",
9696
"@types/react-dom": "19.2.3",
9797
"payload": "workspace:*",
9898
"stripe": "18.3.0"

packages/plugin-form-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"devDependencies": {
6969
"@payloadcms/eslint-config": "workspace:*",
7070
"@types/escape-html": "^1.0.4",
71-
"@types/react": "19.2.9",
71+
"@types/react": "19.2.14",
7272
"@types/react-dom": "19.2.3",
7373
"copyfiles": "^2.4.1",
7474
"cross-env": "^7.0.3",

packages/plugin-search/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"devDependencies": {
6767
"@payloadcms/eslint-config": "workspace:*",
68-
"@types/react": "19.2.9",
68+
"@types/react": "19.2.14",
6969
"@types/react-dom": "19.2.3",
7070
"payload": "workspace:*"
7171
},

packages/plugin-sentry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"@payloadcms/eslint-config": "workspace:*",
62-
"@types/react": "19.2.9",
62+
"@types/react": "19.2.14",
6363
"@types/react-dom": "19.2.3",
6464
"payload": "workspace:*"
6565
},

0 commit comments

Comments
 (0)