Sourced from markupsafe's releases.
3.0.2
This is the MarkupSafe 3.0.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes.
PyPI: https://pypi.org/project/MarkupSafe/3.0.2/ Changes: https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-2 Milestone: https://github.com/pallets/markupsafe/milestone/14?closed=1
Sourced from markupsafe's changelog.
Version 3.0.2
Released 2024-10-18
- Fix compatibility when
__str__returns astrsubclass. :issue:472- Build requires setuptools >= 70.1. :issue:
475Version 3.0.1
Released 2024-10-08
- Address compiler warnings that became errors in GCC 14. :issue:
466- Fix compatibility with proxy objects. :issue:
467Version 3.0.0
Released 2024-10-07
- Support Python 3.13 and its experimental free-threaded build. :pr:
461- Drop support for Python 3.7 and 3.8.
- Use modern packaging metadata with
pyproject.tomlinstead ofsetup.cfg. :pr:348- Change
distutilsimports tosetuptools. :pr:399- Use deferred evaluation of annotations. :pr:
400- Update signatures for
Markupmethods to matchstrsignatures. Use positional-only arguments. :pr:400- Some
strmethods onMarkupno longer escape their argument:strip,lstrip,rstrip,removeprefix,removesuffix,partition, andrpartition;replaceonly escapes itsnewargument. These methods are conceptually linked to search methods such asin,find, andindex, which already do not escape their argument. :issue:401- The
__version__attribute is deprecated. Use feature detection, orimportlib.metadata.version("markupsafe"), instead. :pr:402- Speed up escaping plain strings by 40%. :pr:
434- Simplify speedups implementation. :pr:
437Version 2.1.5
Released 2024-02-02
- Fix
striptagsnot collapsing spaces. :issue:417
... (truncated)
28ace20
release version 3.0.26b51fd8
build requires at least setuptools 70.1 (#478)99dda9f
build requires at least setuptools 70.13d8fd8c
fix version1933c4b
fix versione85aff4
relax speedups str check (#477)8cb1691
relax speedups str check4dafb7c
start version 3.1.09c44ecf
update docs build275c769
Merge branch '2.1.x' into 3.0.x