Changelogs » Markupsafe

PyUp Safety actively tracks 373,221 Python packages for vulnerabilities and notifies you when to upgrade.

Markupsafe

2.1.0

-------------
  
  Unreleased

2.0.2

-------------
  
  Unreleased

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`

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. :pr:`104`
  -   Use newer CPython API on Python 3, resulting in a 1.5x speedup.
  :pr`64`
  -   ``escape`` wraps ``__html__`` result in ``Markup``, consistent with
  documented behavior. :pr:`69`

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.

0.18

------------
  
  Released 2013-05-22
  
  -   Fixed ``__mul__`` and string splitting on Python 3.

0.17

------------
  
  Released 2013-05-21
  
  -   Fixed a bug with broken interpolation on tuples.

0.16

------------
  
  Released 2013-05-20
  
  -   Improved Python 3 Support and removed 2to3.
  -   Removed support for Python 3.2 and 2.5.

0.15

------------
  
  Released 2011-07-20
  
  -   Fixed a typo that caused the library to fail to install on pypy and
  jython.

0.14

------------
  
  Released 2011-07-20
  
  -   Release fix for 0.13.

0.13

------------
  
  Released 2011-07-20
  
  -   Do not attempt to compile extension for PyPy or Jython.
  -   Work around some 64bit Windows issues.

0.12

------------
  
  Released 2011-02-17
  
  -   Improved PyPy compatibility.