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@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.
Behavior and default changes 1
Relative src paths are resolved against the page before reaching the worker.
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.
@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.
Declares npm >=9.5.0 as the package engine requirement so downstream installs use a toolchain capable of verifying npm provenance attestations.
New APIs and options 2
Adds a WebGL renderer component via a subpath export.
Adds a WebGPU renderer component via a subpath export, with an optional
deviceprop.
Fixes and other changes 2
Fixed support for React StrictMode.
React, Vue, Svelte, Solid, and Web Component wrappers now forward loopCount on initialization, load(), and prop changes, so configured values control animation looping.
@lottiefiles/dotlottie-react 0.182 changes
Fixes and other changes 2
Fixed loadAnimation being called multiple times for the same animationId during rerender.
Adjusts the return type for React 19.