unstale

npm / @lottiefiles/dotlottie-react

@lottiefiles/dotlottie-react

What changed in @lottiefiles/dotlottie-react 0.18 to 0.20, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking1 security2 new APIs and options1 behavior and defaults5 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@lottiefiles/dotlottie-react 0.203 changes

Security 1

  • Adds setWorkerUrl(url) and ships dist/dotlottie.worker.js as a standalone file, allowing consumers to self-host the worker and avoid requiring worker-src: blob: in Content-Security-Policy.

    0.20.0release notes

Behavior and default changes 1

  • Relative src paths are resolved against the page before reaching the worker.

    0.20.0release notes

Fixes and other changes 1

  • The regular and worker players no longer load the initial src twice on mount; later src changes still call load.

    0.20.0release notes

@lottiefiles/dotlottie-react 0.196 changes

Breaking changes 2

  • Declares Node.js >=18.17.0 as the package engine requirement so downstream installs use a toolchain capable of verifying npm provenance attestations.

    0.19.3release notes

  • Declares npm >=9.5.0 as the package engine requirement so downstream installs use a toolchain capable of verifying npm provenance attestations.

    0.19.3release notes

New APIs and options 2

  • Adds a WebGL renderer component via a subpath export.

    0.19.0release notes

  • Adds a WebGPU renderer component via a subpath export, with an optional device prop.

    0.19.0release notes

Fixes and other changes 2

  • Fixed support for React StrictMode.

    0.19.10release notes

  • React, Vue, Svelte, Solid, and Web Component wrappers now forward loopCount on initialization, load(), and prop changes, so configured values control animation looping.

    0.19.6release notes

@lottiefiles/dotlottie-react 0.182 changes

Fixes and other changes 2

  • Fixed loadAnimation being called multiple times for the same animationId during rerender.

    0.18.10release notes

  • Adjusts the return type for React 19.

    0.18.4release notes