File: CHANGES.rst

package info (click to toggle)
firefox 147.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,683,532 kB
  • sloc: cpp: 7,607,356; javascript: 6,533,348; ansic: 3,775,236; python: 1,415,508; xml: 634,561; asm: 438,949; java: 186,241; sh: 62,760; makefile: 18,079; objc: 13,092; perl: 12,808; yacc: 4,583; cs: 3,846; pascal: 3,448; lex: 1,720; ruby: 1,003; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10; exp: 6
file content (213 lines) | stat: -rw-r--r-- 4,792 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
Version 3.0.2
-------------

Released 2024-10-18

-   Fix compatibility when ``__str__`` returns a ``str`` subclass. :issue:`472`
-   Build requires setuptools >= 70.1. :issue:`475`


Version 3.0.1
-------------

Released 2024-10-08

-   Address compiler warnings that became errors in GCC 14. :issue:`466`
-   Fix compatibility with proxy objects. :issue:`467`


Version 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.toml`` instead of ``setup.cfg``.
    :pr:`348`
-   Change ``distutils`` imports to ``setuptools``. :pr:`399`
-   Use deferred evaluation of annotations. :pr:`400`
-   Update signatures for ``Markup`` methods to match ``str`` signatures. Use
    positional-only arguments. :pr:`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.
    :issue:`401`
-   The ``__version__`` attribute is deprecated. Use feature detection, or
    ``importlib.metadata.version("markupsafe")``, instead. :pr:`402`
-   Speed up escaping plain strings by 40%. :pr:`434`
-   Simplify speedups implementation. :pr:`437`


Version 2.1.5
-------------

Released 2024-02-02

-   Fix ``striptags`` not collapsing spaces. :issue:`417`


Version 2.1.4
-------------

Released 2024-01-19

-   Don't use regular expressions for ``striptags``, avoiding a performance
    issue. :pr:`413`


Version 2.1.3
-------------

Released 2023-06-02

-   Implement ``format_map``, ``casefold``, ``removeprefix``, and ``removesuffix``
    methods. :issue:`370`
-   Fix static typing for basic ``str`` methods on ``Markup``. :issue:`358`
-   Use ``Self`` for annotating return types. :pr:`379`


Version 2.1.2
-------------

Released 2023-01-17

-   Fix ``striptags`` not stripping tags containing newlines.
    :issue:`310`


Version 2.1.1
-------------

Released 2022-03-14

-   Avoid ambiguous regex matches in ``striptags``. :pr:`293`


Version 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`


Version 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`


Version 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`


Version 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`


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. :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`


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

-   Fixed ``__mul__`` and string splitting on Python 3.


Version 0.17
------------

Released 2013-05-21

-   Fixed a bug with broken interpolation on tuples.


Version 0.16
------------

Released 2013-05-20

-   Improved Python 3 Support and removed 2to3.
-   Removed support for Python 3.2 and 2.5.


Version 0.15
------------

Released 2011-07-20

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


Version 0.14
------------

Released 2011-07-20

-   Release fix for 0.13.


Version 0.13
------------

Released 2011-07-20

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


Version 0.12
------------

Released 2011-02-17

-   Improved PyPy compatibility.