SPARSE
SPARSE copied to clipboard
Update markupsafe to 2.1.3
This PR updates MarkupSafe from 1.1.0 to 2.1.3.
Changelog
2.1.3
-------------
Unreleased
- Implement ``format_map``, ``casefold``, ``removeprefix``, and ``removesuffix``
methods. :issue:`370`
- Fix static typing for basic ``str`` methods on ``Markup``. :issue:`358`
2.1.2
-------------
Released 2023-01-17
- Fix ``striptags`` not stripping tags containing newlines.
:issue:`310`
2.1.1
-------------
Released 2022-03-14
- Avoid ambiguous regex matches in ``striptags``. :pr:`293`
2.1.0
-------------
Released 2022-02-17
- Drop support for Python 3.6. :pr:`262`
- Remove ``soft_unicode``, which was previously deprecated. Use
``soft_str`` instead. :pr:`261`
- Raise error on missing single placeholder during string
interpolation. :issue:`225`
- Disable speedups module for GraalPython. :issue:`277`
2.0.1
-------------
Released 2021-05-18
- Mark top-level names as exported so type checking understands
imports in user projects. :pr:`215`
- Fix some types that weren't available in Python 3.6.0. :pr:`215`
2.0.0
-------------
Released 2021-05-11
- Drop Python 2.7, 3.4, and 3.5 support.
- ``Markup.unescape`` uses :func:`html.unescape` to support HTML5
character references. :pr:`117`
- Add type annotations for static typing tools. :pr:`149`
1.1.1
-------------
Released 2019-02-23
- Fix segfault when ``__html__`` method raises an exception when using
the C speedups. The exception is now propagated correctly. :pr:`109`
Links
- PyPI: https://pypi.org/project/markupsafe
- Changelog: https://pyup.io/changelogs/markupsafe/
- Homepage: https://palletsprojects.com/p/markupsafe/