Skip to content

Commit 63a36f8

Browse files
committed
CHANGES.rst: add release notes for 1.0.7
1 parent 382f78e commit 63a36f8

1 file changed

Lines changed: 34 additions & 6 deletions

File tree

CHANGES.rst

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,49 @@
22
Release Notes
33
=============
44

5-
.. _Release Notes_1.0.6-12:
5+
.. _Release Notes_1.0.7:
6+
7+
1.0.7
8+
=====
9+
10+
.. _Release Notes_1.0.7_Upgrade Notes:
11+
12+
Upgrade Notes
13+
-------------
14+
15+
- With werkzeug 2.3.x the headers type has been updated to not allow integers as header values. This restriction followed up in pytest-httpserver.
616

7-
1.0.6-12
8-
========
917

10-
.. _Release Notes_1.0.6-12_Bug Fixes:
18+
.. _Release Notes_1.0.7_Deprecation Notes:
19+
20+
Deprecation Notes
21+
-----------------
22+
23+
- Python versions earlier than 3.8 have been deprecated in order to support
24+
the latest werkzeug. Users using 3.7 or earlier python may use
25+
pytest-httpserver with earlier werkzeug versions but tests are no longer run
26+
for these python versions.
27+
28+
29+
.. _Release Notes_1.0.7_Bug Fixes:
1130

1231
Bug Fixes
1332
---------
1433

1534
- Type hinting for header_value_matcher has been fixed. From now, specifying a
16-
callable as `Callable[[str, Optional[str], str], bool]` will be accepted
17-
also. Providing a `HeaderValueMatcher` object will be also accepted as
35+
callable as ``Callable[[str, Optional[str], str], bool]`` will be accepted
36+
also. Providing a ``HeaderValueMatcher`` object will be also accepted as
1837
before, as it provides the same callable signature.
1938

39+
- Fix Werkzeug deprecation warning about ``parse_authorization_header`` call.
40+
Replace ``parse_authorization_header`` with ``Authorization.from_header`` as
41+
suggested. This fix should not introduce any functional change for the
42+
users.
43+
44+
- Fix Werkzeug deprecation warning about ``werkzeug.urls.url_decode`` call. This
45+
call has been changed to ``urllib.parse.parse_qsl`` in the implementation.
46+
This fix should not introduce any functional change for the users.
47+
2048

2149
.. _Release Notes_1.0.6:
2250

0 commit comments

Comments
 (0)