xref: /third_party/markupsafe/CHANGES.rst (revision c44ef7f9)
1Version 2.1.5
2-------------
3
4Released 2024-02-02
5
6-   Fix ``striptags`` not collapsing spaces. :issue:`417`
7
8
9Version 2.1.4
10-------------
11
12Released 2024-01-19
13
14-   Don't use regular expressions for ``striptags``, avoiding a performance
15    issue. :pr:`413`
16
17
18Version 2.1.3
19-------------
20
21Released 2023-06-02
22
23-   Implement ``format_map``, ``casefold``, ``removeprefix``, and ``removesuffix``
24    methods. :issue:`370`
25-   Fix static typing for basic ``str`` methods on ``Markup``. :issue:`358`
26-   Use ``Self`` for annotating return types. :pr:`379`
27
28
29Version 2.1.2
30-------------
31
32Released 2023-01-17
33
34-   Fix ``striptags`` not stripping tags containing newlines.
35    :issue:`310`
36
37
38Version 2.1.1
39-------------
40
41Released 2022-03-14
42
43-   Avoid ambiguous regex matches in ``striptags``. :pr:`293`
44
45
46Version 2.1.0
47-------------
48
49Released 2022-02-17
50
51-   Drop support for Python 3.6. :pr:`262`
52-   Remove ``soft_unicode``, which was previously deprecated. Use
53    ``soft_str`` instead. :pr:`261`
54-   Raise error on missing single placeholder during string
55    interpolation. :issue:`225`
56-   Disable speedups module for GraalPython. :issue:`277`
57
58
59Version 2.0.1
60-------------
61
62Released 2021-05-18
63
64-   Mark top-level names as exported so type checking understands
65    imports in user projects. :pr:`215`
66-   Fix some types that weren't available in Python 3.6.0. :pr:`215`
67
68
69Version 2.0.0
70-------------
71
72Released 2021-05-11
73
74-   Drop Python 2.7, 3.4, and 3.5 support.
75-   ``Markup.unescape`` uses :func:`html.unescape` to support HTML5
76    character references. :pr:`117`
77-   Add type annotations for static typing tools. :pr:`149`
78
79
80Version 1.1.1
81-------------
82
83Released 2019-02-23
84
85-   Fix segfault when ``__html__`` method raises an exception when using
86    the C speedups. The exception is now propagated correctly. :pr:`109`
87
88
89Version 1.1.0
90-------------
91
92Released 2018-11-05
93
94-   Drop support for Python 2.6 and 3.3.
95-   Build wheels for Linux, Mac, and Windows, allowing systems without
96    a compiler to take advantage of the C extension speedups. :pr:`104`
97-   Use newer CPython API on Python 3, resulting in a 1.5x speedup.
98    :pr:`64`
99-   ``escape`` wraps ``__html__`` result in ``Markup``, consistent with
100    documented behavior. :pr:`69`
101
102
103Version 1.0
104-----------
105
106Released 2017-03-07
107
108-   Fixed custom types not invoking ``__unicode__`` when used with
109    ``format()``.
110-   Added ``__version__`` module attribute.
111-   Improve unescape code to leave lone ampersands alone.
112
113
114Version 0.18
115------------
116
117Released 2013-05-22
118
119-   Fixed ``__mul__`` and string splitting on Python 3.
120
121
122Version 0.17
123------------
124
125Released 2013-05-21
126
127-   Fixed a bug with broken interpolation on tuples.
128
129
130Version 0.16
131------------
132
133Released 2013-05-20
134
135-   Improved Python 3 Support and removed 2to3.
136-   Removed support for Python 3.2 and 2.5.
137
138
139Version 0.15
140------------
141
142Released 2011-07-20
143
144-   Fixed a typo that caused the library to fail to install on pypy and
145    jython.
146
147
148Version 0.14
149------------
150
151Released 2011-07-20
152
153-   Release fix for 0.13.
154
155
156Version 0.13
157------------
158
159Released 2011-07-20
160
161-   Do not attempt to compile extension for PyPy or Jython.
162-   Work around some 64bit Windows issues.
163
164
165Version 0.12
166------------
167
168Released 2011-02-17
169
170-   Improved PyPy compatibility.
171