unstale

npm / @svgr/webpack

@svgr/webpack

What changed in @svgr/webpack 5 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

7 breaking8 new APIs and options1 behavior and defaults4 tooling3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.7 on npm

@svgr/webpack 84 changes

Breaking changes 1

  • The index template now receives an array of objects containing the created component path and the original SVG path.

    8.0.0release notes

New APIs and options 1

Tooling 1

  • Generated code changes SVGProps from a regular import to an import type.

    8.0.0release notes

Fixes and other changes 1

  • Fixes a parseObject error that caused the website to break.

    8.0.0release notes

@svgr/webpack 73 changes

Breaking changes 2

New APIs and options 1

  • You can now specify jsxRuntimeImport in the configuration.

    7.0.0release notes

@svgr/webpack 611 changes

Breaking changes 2

  • The SVGO config format changes, and SVGR no longer merges SVGO config.

    6.0.0release notes

  • The template format changes.

    6.0.0release notes

New APIs and options 4

Behavior and default changes 1

Tooling 2

  • TypeScript declarations were added to @svgr/core.

    6.0.0release notes

  • A webpack TypeScript preset configuration was added.

    6.0.0release notes

Fixes and other changes 2

@svgr/webpack 55 changes

Breaking changes 2

New APIs and options 2

Tooling 1