Packages

@nuxt/image

2.2.1 · 30 Oct 2026MIT817.3k / weekRepositoryHomepagenpmAtom feed

Upgrading @nuxt/image From 1.6.0 to 2.2.1

12 releases in betweenevery note read

Other targets from 1.6.0Newest 1.x1.11.2
  1. 1.6.0yours
  2. 7 releases
  3. 1.11.2security
  4. 2.0.0major
  5. 2.1.0security
  6. 2.2.0breaking
  7. 2.2.1target

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

Security

  • This release fixes a vulnerability in the /_ipx image transformation route.

    2.2.1
  • ipx: require patched ipx and restrict input formats for /_ipx route (GHSA-p5vf-pjf5-ggj3)

    2.2.1
  • Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where svgo: false would return untouched SVGs. The sanitizer now removes SMIL attribute injection, foreign content (<foreignObject>, <iframe>, etc.), and unsafe URIs across all elements

    2.1.0
  • ipx: require patched ipx for /_ipx route (GHSA-p5vf-pjf5-ggj3)

    1.11.2

Release by release

  1. 2.2.1

    Security fix30 Oct 20262 fixes
    • Security

      This release fixes a vulnerability in the /_ipx image transformation route.

    • Security

      ipx: require patched ipx and restrict input formats for /_ipx route (GHSA-p5vf-pjf5-ggj3)

    • Fixed

      ipx: use IPXFetchHandler so srvx/node is not required at runtime

    • Fixed

      ipx: import NitroRuntimeConfig from nitropack/types

  2. 2.2.0

    Migration needed19 Oct 20262 new · 1 fix
    • 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

  3. 2.1.0

    Security fix28 Jul 202630 new · 17 fixes
    • Security

      Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where svgo: false would 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, and linear

  4. 2.0.0

    Migration needed5 Nov 202519 new · 18 fixes
    • 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

  5. 1.11.2

    Security fix30 Oct 20261 fix
    • Security

      ipx: require patched ipx for /_ipx route (GHSA-p5vf-pjf5-ggj3)

    • Fixed

      build: run nuxt-module-build prepare in prepack

  6. 1.11.0nothing new or fixed in the note

  7. 1.10.0

    18 Mar 20252 new · 2 fixes
    • New

      imageengine: Add new modifiers

    • New

      filerobot: Add new provider

    • Fixed

      NuxtImg: Do not access props in template

    • Fixed

      NuxtPicture: Make img-attrs and attrs responsive

  8. 1.9.0

    8 Jan 20256 new · 3 fixes
    • New

      nuxt-img: Add custom slot for full control of rendering

    • New

      amplify: Add additional modifiers

    • New

      strapi5: Add new provider with formats

    • New

      Remove node-fetch-native dependency

153 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.