@nuxt/image
2.2.1 · 30 Oct 2026MIT817.3k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxt/image From 0.4.7 to 2.2.1
36 releases in betweennotes for 22
- 13+
- changes to make
- 0
- advisories fixed
- 94+
- new
- 75+
- fixes
Counted from 22 of 36 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking2.2.0
- Breaking2.1.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking1.0.0
- Breaking0.7.0
Security
- 2.2.1
This release fixes a vulnerability in the
/_ipximage transformation route. - 2.2.1
ipx: require patched ipx and restrict input formats for /_ipx route (GHSA-p5vf-pjf5-ggj3)
- 2.1.0
Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where
svgo: falsewould return untouched SVGs. The sanitizer now removes SMIL attribute injection, foreign content (<foreignObject>,<iframe>, etc.), and unsafe URIs across all elements - 1.11.2
ipx: require patched ipx for /_ipx route (GHSA-p5vf-pjf5-ggj3)
Release by release
- Security
This release fixes a vulnerability in the
/_ipximage transformation route. - Security
ipx: require patched ipx and restrict input formats for /_ipx route (GHSA-p5vf-pjf5-ggj3)
- Fixed
ipx: use IPXFetchHandler so
srvx/nodeis not required at runtime - Fixed
ipx: import
NitroRuntimeConfigfromnitropack/types
- Security
- Breaking
directus: remove deprecated sharpen option
- New
deps: upgrade to released ipx v4
- New
Support nuxt v5
- Fixed
Use explicit imports in nitro v2 server runtime
- Breaking
- Security
Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where
svgo: falsewould return untouched SVGs. The sanitizer now removes SMIL attribute injection, foreign content (<foreignObject>,<iframe>, etc.), and unsafe URIs across all elements - Breaking
Remove deprecated github silent config
- New
Smaller bundles: IPX is now ESM-only with reduced dependency size
- New
New image modifiers:
opacity,brightness,saturation,hue,lightness,autoorient,dilate,erode,clahe, andlinear
- Security
- Breaking
The biggest breaking change is how providers are defined.
- Breaking
⚠️ Typed providers + modifiers
- Breaking
edgio,layer0: ⚠️ Remove providers
- Breaking
⚠️ Use URLSearchParams as default formatter
- Breaking
- Security
ipx: require patched ipx for /_ipx route (GHSA-p5vf-pjf5-ggj3)
- Fixed
build: run nuxt-module-build prepare in prepack
- Security
1.11.0nothing new or fixed in the note
- New
imageengine: Add new modifiers
- New
filerobot: Add new provider
- Fixed
NuxtImg: Do not access
propsin template - Fixed
NuxtPicture: Make
img-attrsandattrsresponsive
- New
- New
nuxt-img: Add
customslot for full control of rendering - New
amplify: Add additional modifiers
- New
strapi5: Add new provider with formats
- New
Remove
node-fetch-nativedependency
- New
3 other lines we could not sort, mostly version bumps
- 0.7.0
Cloudimage: image.nuxtjs.org/providers/cloudimage
- 0.7.0
- 0.7.0
Cloudflare: image.nuxtjs.org/providers/cloudflare
216 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.