diff --git a/CHANGES.rst b/CHANGES.rst index aeed66ee3..3adf3359e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,54 @@ Changelog .. towncrier release notes start +1.16.0rc0 +========= + +*(2024-10-21)* + + +Bug fixes +--------- + +- 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`. + + *Related issues and pull requests on GitHub:* + :issue:`1342`. + + +Removals and backward incompatible breaking changes +--------------------------------------------------- + +- Migrated to using a single cache for encoding hosts -- by :user:`bdraco`. + + 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. + + *Related issues and pull requests on GitHub:* + :issue:`1348`, :issue:`1357`, :issue:`1363`. + + +Miscellaneous internal changes +------------------------------ + +- Improved performance of constructing :class:`~yarl.URL` -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`1336`. + +- Improved performance of calling :py:meth:`~yarl.URL.build` and constructing unencoded :class:`~yarl.URL` -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`1345`. + +- Reworked the internal encoding cache to improve performance on cache hit -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`1369`. + + +---- + + 1.15.5 ====== diff --git a/CHANGES/1336.misc.rst b/CHANGES/1336.misc.rst deleted file mode 100644 index c62fc0b17..000000000 --- a/CHANGES/1336.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of constructing :class:`~yarl.URL` -- by :user:`bdraco`. diff --git a/CHANGES/1342.bugfix.rst b/CHANGES/1342.bugfix.rst deleted file mode 100644 index 815beafdf..000000000 --- a/CHANGES/1342.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -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`. diff --git a/CHANGES/1345.misc.rst b/CHANGES/1345.misc.rst deleted file mode 100644 index 09ce86b42..000000000 --- a/CHANGES/1345.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of calling :py:meth:`~yarl.URL.build` and constructing unencoded :class:`~yarl.URL` -- by :user:`bdraco`. diff --git a/CHANGES/1348.breaking.rst b/CHANGES/1348.breaking.rst deleted file mode 100644 index 845e85800..000000000 --- a/CHANGES/1348.breaking.rst +++ /dev/null @@ -1,3 +0,0 @@ -Migrated to using a single cache for encoding hosts -- by :user:`bdraco`. - -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. diff --git a/CHANGES/1357.breaking.rst b/CHANGES/1357.breaking.rst deleted file mode 120000 index c90094766..000000000 --- a/CHANGES/1357.breaking.rst +++ /dev/null @@ -1 +0,0 @@ -1348.breaking.rst \ No newline at end of file diff --git a/CHANGES/1363.breaking.rst b/CHANGES/1363.breaking.rst deleted file mode 120000 index c90094766..000000000 --- a/CHANGES/1363.breaking.rst +++ /dev/null @@ -1 +0,0 @@ -1348.breaking.rst \ No newline at end of file diff --git a/CHANGES/1369.misc.rst b/CHANGES/1369.misc.rst deleted file mode 100644 index 06289e2c7..000000000 --- a/CHANGES/1369.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Reworked the internal encoding cache to improve performance on cache hit -- by :user:`bdraco`. diff --git a/yarl/__init__.py b/yarl/__init__.py index fafffca4e..25bfd379b 100644 --- a/yarl/__init__.py +++ b/yarl/__init__.py @@ -1,7 +1,7 @@ from ._query import Query, QueryVariable, SimpleQuery from ._url import URL, cache_clear, cache_configure, cache_info -__version__ = "1.16.0.dev0" +__version__ = "1.16.0rc0" __all__ = ( "URL",