Skip to content

Commit 8d90dad

Browse files
committed
Support the last two Next/React majors in peer deps
Update mailing's peerDependencies to next@^15 || ^16 and react/react-dom@^18 || ^19 (from next@^12-14, react@^17-18), matching the versions the e2e matrix now runs and removing peer-dep warnings on current Next.js/React. Changeset included.
1 parent 71141c7 commit 8d90dad

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"mailing": minor
3+
---
4+
5+
Update peer dependency ranges to the last two major versions of the frameworks mailing supports: `next@^15 || ^16` and `react`/`react-dom@^18 || ^19` (previously `next@^12–14`, `react@^17–18`). This removes peer-dependency warnings for projects on current Next.js and React, which the e2e matrix now exercises.

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"node-mocks-http": "^1.11.0"
4343
},
4444
"peerDependencies": {
45-
"next": "^12.0.0 || ^13.0.0 || ^14.0.0",
46-
"react": "^17.0.0 || ^18.0.0",
47-
"react-dom": "^17.0.0 || ^18.0.0"
45+
"next": "^15.0.0 || ^16.0.0",
46+
"react": "^18.0.0 || ^19.0.0",
47+
"react-dom": "^18.0.0 || ^19.0.0"
4848
},
4949
"dependencies": {
5050
"@babel/parser": "^7.18.11",

0 commit comments

Comments
 (0)