unstale

pypi / markupsafe

markupsafe

What changed in markupsafe 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking1 deprecations2 performance

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

npx @unstale/cli init

@unstale/cli on npm

markupsafe 36 changes

Breaking changes 3

  • Method signatures now match str signatures and use positional-only arguments.

    3.0.0release notes

  • Several str methods no longer escape their arguments, and replace only escapes its new argument.

    3.0.0release notes

  • Support Python 3.13 and its experimental free-threaded build, and drop support for Python 3.7 and 3.8.

    3.0.0release notes

Deprecations 1

  • The attribute is deprecated; use feature detection or importlib.metadata.version("markupsafe") instead.

    3.0.0release notes

Performance 2