unstale

pypi / cairosvg

cairosvg

What changed in cairosvg 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-30.

5 breaking1 security3 new APIs and options1 behavior and defaults3 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

cairosvg 213 changes

Breaking changes 5

Security 1

  • Specially crafted SVGs with very long paths could cause exponential rendering times; this security update addresses that risk.

    2.9.1release notessecurity advisory

New APIs and options 3

Behavior and default changes 1

  • The url parameter now supports path-like objects.

    2.9.1release notes

Fixes and other changes 3