Skip to content

Commit 1e19ae2

Browse files
authored
fix: narrow peerDependencies next range to exclude 16.0.0–16.2.2 (#1145)
1 parent 9b43728 commit 1e19ae2

3 files changed

Lines changed: 66 additions & 125 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@opennextjs/aws": patch
3+
---
4+
5+
fix: exclude unsupported Next.js 16 releases from peer dependencies.
6+
7+
The previous range allowed Next.js 16.0.0 through 16.2.2 without a peer dependency warning because `>=16.2.3` was already covered by `>=15.5.15`.
8+
9+
The range now explicitly supports Next.js 15.5.15 and above in the 15.x line, and Next.js 16.2.3 and above in the 16.x line.

packages/open-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"typescript": "catalog:"
6565
},
6666
"peerDependencies": {
67-
"next": ">=15.5.15 || >=16.2.3"
67+
"next": ">=15.5.15 <16 || >=16.2.3"
6868
},
6969
"bugs": {
7070
"url": "https://github.com/opennextjs/opennextjs-aws/issues"

0 commit comments

Comments
 (0)