next-sanity-image
next-sanity-image copied to clipboard
With the release of Next.js v15, will next-sanity-image be updated to reflect the changes?
Trying to avoid broken changes
+1 on this
Installing next-sanity-image in a Next.js 15.3.0 project and seeing the following peer dependency warnings:
WARN Issues with peer dependencies found
apps/web
└─┬ next-sanity-image 6.1.1
├── ✕ unmet peer next@"^13.0.0 || ^14.0.0": found 15.3.0
└── ✕ unmet peer react@^18.0.0: found 19.1.0
So far, the package works as expected in our use case, but it would be great to see the peer dependencies updated to reflect compatibility with newer versions.
Sharing my package.json>overrides section which worked for me to get rid of the warnings:
"overrides": {
"next-sanity-image": {
"next": "^15.0.0",
"react": "^19.0.0"
}
}
#72 has been integrated to support Next 15!
Sorry for the late update, missed this open issue after integrating the PR.
lol and then 2 months later they release Next 16. Lorenzo prolly thinking bruh