GeezerVison is showing markupsafe.palletsprojects.com — Changes — MarkupSafe Documentation (3.0.x)
Changes¶
Version 3.0.4¶
Released 2026-10-02
Build Python 3.15, armv7l, ppc64le, Android, and iOS wheels.
Improve performance of striptags. #521
Version 3.0.3¶
Released 2025-09-27
__version__ raises DeprecationWarning instead of UserWarning.
#487
Adopt multi-phase initialisation (PEP 489) for the C extension.
#494
Build Windows ARM64 wheels. #485
Build Python 3.14 wheels. #503
Build riscv64 wheels. #505
Version 3.0.2¶
Released 2024-10-18
Version 3.0.1¶
Released 2024-10-08
Version 3.0.0¶
Released 2024-10-07
Support Python 3.13 and its experimental free-threaded build. #461
Drop support for Python 3.7 and 3.8.
Use modern packaging metadata with pyproject.toml instead of setup.cfg.
#348
Change distutils imports to setuptools. #399
Use deferred evaluation of annotations. #400
Update signatures for Markup methods to match str signatures. Use
positional-only arguments. #400
Some str methods on Markup no longer escape their argument:
strip, lstrip, rstrip, removeprefix, removesuffix,
partition, and rpartition; replace only escapes its new
argument. These methods are conceptually linked to search methods such as
in, find, and index, which already do not escape their argument.
#401
The __version__ attribute is deprecated. Use feature detection, or
importlib.metadata.version("markupsafe"), instead. #402
Speed up escaping plain strings by 40%. #434
Simplify speedups implementation. #437
Version 2.1.5¶
Released 2024-02-02
Version 2.1.4¶
Released 2024-01-19
Version 2.1.3¶
Released 2023-06-02
Implement format_map, casefold, removeprefix, and removesuffix
methods. #370
Fix static typing for basic str methods on Markup. #358
Use Self for annotating return types. #379
Version 2.1.2¶
Released 2023-01-17
Version 2.1.1¶
Released 2022-03-14
Version 2.1.0¶
Released 2022-02-17
Drop support for Python 3.6. #262
Remove soft_unicode, which was previously deprecated. Use
soft_str instead. #261
Raise error on missing single placeholder during string
interpolation. #225
Disable speedups module for GraalPython. #277
Version 2.0.1¶
Released 2021-05-18
Version 2.0.0¶
Released 2021-05-11
Drop Python 2.7, 3.4, and 3.5 support.
Markup.unescape uses html.unescape() to support HTML5
character references. #117
Add type annotations for static typing tools. #149
Version 1.1.1¶
Released 2019-02-23
Version 1.1.0¶
Released 2018-11-05
Drop support for Python 2.6 and 3.3.
Build wheels for Linux, Mac, and Windows, allowing systems without
a compiler to take advantage of the C extension speedups. #104
Use newer CPython API on Python 3, resulting in a 1.5x speedup.
#64
escape wraps __html__ result in Markup, consistent with
documented behavior. #69
Version 1.0¶
Released 2017-03-07
Fixed custom types not invoking __unicode__ when used with
format().
Added __version__ module attribute.
Improve unescape code to leave lone ampersands alone.
Version 0.18¶
Released 2013-05-22
Version 0.17¶
Released 2013-05-21
Version 0.16¶
Released 2013-05-20
Version 0.15¶
Released 2011-07-20
Version 0.14¶
Released 2011-07-20
Version 0.13¶
Released 2011-07-20
Version 0.12¶
Released 2011-02-17
|