Skip to content

Commit a147d2e

Browse files
authored
Release 1.16.0 (#1372)
1 parent a8b8d7f commit a147d2e

9 files changed

+49
-10
lines changed

CHANGES.rst

+48
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,54 @@ Changelog
1414

1515
.. towncrier release notes start
1616
17+
1.16.0
18+
======
19+
20+
*(2024-10-21)*
21+
22+
23+
Bug fixes
24+
---------
25+
26+
- Fixed blocking I/O to load Python code when creating a new :class:`~yarl.URL` with non-ascii characters in the network location part -- by :user:`bdraco`.
27+
28+
*Related issues and pull requests on GitHub:*
29+
:issue:`1342`.
30+
31+
32+
Removals and backward incompatible breaking changes
33+
---------------------------------------------------
34+
35+
- Migrated to using a single cache for encoding hosts -- by :user:`bdraco`.
36+
37+
Passing ``ip_address_size`` and ``host_validate_size`` to :py:meth:`~yarl.cache_configure` is deprecated in favor of the new ``encode_host_size`` parameter and will be removed in a future release. For backwards compatibility, the old parameters affect the ``encode_host`` cache size.
38+
39+
*Related issues and pull requests on GitHub:*
40+
:issue:`1348`, :issue:`1357`, :issue:`1363`.
41+
42+
43+
Miscellaneous internal changes
44+
------------------------------
45+
46+
- Improved performance of constructing :class:`~yarl.URL` -- by :user:`bdraco`.
47+
48+
*Related issues and pull requests on GitHub:*
49+
:issue:`1336`.
50+
51+
- Improved performance of calling :py:meth:`~yarl.URL.build` and constructing unencoded :class:`~yarl.URL` -- by :user:`bdraco`.
52+
53+
*Related issues and pull requests on GitHub:*
54+
:issue:`1345`.
55+
56+
- Reworked the internal encoding cache to improve performance on cache hit -- by :user:`bdraco`.
57+
58+
*Related issues and pull requests on GitHub:*
59+
:issue:`1369`.
60+
61+
62+
----
63+
64+
1765
1.15.5
1866
======
1967

CHANGES/1336.misc.rst

-1
This file was deleted.

CHANGES/1342.bugfix.rst

-1
This file was deleted.

CHANGES/1345.misc.rst

-1
This file was deleted.

CHANGES/1348.breaking.rst

-3
This file was deleted.

CHANGES/1357.breaking.rst

-1
This file was deleted.

CHANGES/1363.breaking.rst

-1
This file was deleted.

CHANGES/1369.misc.rst

-1
This file was deleted.

yarl/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from ._query import Query, QueryVariable, SimpleQuery
22
from ._url import URL, cache_clear, cache_configure, cache_info
33

4-
__version__ = "1.16.0.dev0"
4+
__version__ = "1.16.0"
55

66
__all__ = (
77
"URL",

0 commit comments

Comments
 (0)