unstale

npm / react-inlinesvg

react-inlinesvg

What changed in react-inlinesvg 1 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking6 new APIs and options1 performance2 behavior and defaults1 tooling5 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

react-inlinesvg 49 changes

New APIs and options 4

Tooling 1

  • An explicit return type was added to InlineSVG, clarifying its TypeScript type.

    4.4.1release notes

Fixes and other changes 4

  • Edge cases in the element cache are fixed.

    4.6.0release notes

  • The unique hash is generated lazily so renders stay deterministic.

    4.6.0release notes

  • Concurrent cache waiters no longer silently fail when an in-flight operation errors.

    4.4.0release notes

  • Fixes an infinite re-render loop when many SVGs load with the loader prop.

    4.3.0release notes

react-inlinesvg 24 changes

Breaking changes 2

  • InlineSVGError is removed, so developers can no longer use this API.

    2.0.0release notes

  • The React peer dependency requirement is updated to ^16.8.0.

    2.0.0release notes

New APIs and options 1

Fixes and other changes 1

  • A provided loader is rendered during SSR instead of rendering null.

    2.0.0release notes

react-inlinesvg 15 changes

Breaking changes 1

  • Replaces httpplease with fetch; legacy browsers need a polyfill.

    1.0.0release notes

New APIs and options 1

  • Custom props are spread onto the SVG element, giving developers greater control.

    1.0.0release notes

Performance 1

Behavior and default changes 2

  • Adds initial support for SSR.

    1.0.0release notes

  • SVG rendering no longer needs a wrapper using dangerouslySetInnerHTML.

    1.0.0release notes