diff --git a/CHANGES.rst b/CHANGES.rst index 7f55ff0d..b53f1844 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,42 @@ Changelog .. towncrier release notes start +1.18.0 +====== + +*(2024-11-21)* + + +Features +-------- + +- Added ``keep_query`` and ``keep_fragment`` flags in the :py:meth:`yarl.URL.with_path`, :py:meth:`yarl.URL.with_name` and :py:meth:`yarl.URL.with_suffix` methods, allowing users to optionally retain the query string and fragment in the resulting URL when replacing the path -- by :user:`paul-nameless`. + + *Related issues and pull requests on GitHub:* + :issue:`111`, :issue:`1421`. + + +Contributor-facing changes +-------------------------- + +- Started running downstream ``aiohttp`` tests in CI -- by :user:`Cycloctane`. + + *Related issues and pull requests on GitHub:* + :issue:`1415`. + + +Miscellaneous internal changes +------------------------------ + +- Improved performance of converting :class:`~yarl.URL` to a string -- by :user:`bdraco`. + + *Related issues and pull requests on GitHub:* + :issue:`1422`. + + +---- + + 1.17.2 ====== diff --git a/CHANGES/111.feature.rst b/CHANGES/111.feature.rst deleted file mode 120000 index 96c7efc7..00000000 --- a/CHANGES/111.feature.rst +++ /dev/null @@ -1 +0,0 @@ -1421.feature.rst \ No newline at end of file diff --git a/CHANGES/1415.contrib.rst b/CHANGES/1415.contrib.rst deleted file mode 100644 index f12c3be0..00000000 --- a/CHANGES/1415.contrib.rst +++ /dev/null @@ -1 +0,0 @@ -Started running downstream ``aiohttp`` tests in CI -- by :user:`Cycloctane`. diff --git a/CHANGES/1421.feature.rst b/CHANGES/1421.feature.rst deleted file mode 100644 index bb8f7de2..00000000 --- a/CHANGES/1421.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added ``keep_query`` and ``keep_fragment`` flags in the :py:meth:`yarl.URL.with_path`, :py:meth:`yarl.URL.with_name` and :py:meth:`yarl.URL.with_suffix` methods, allowing users to optionally retain the query string and fragment in the resulting URL when replacing the path -- by :user:`paul-nameless`. diff --git a/CHANGES/1422.misc.rst b/CHANGES/1422.misc.rst deleted file mode 100644 index 4ab94807..00000000 --- a/CHANGES/1422.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of converting :class:`~yarl.URL` to a string -- by :user:`bdraco`. diff --git a/yarl/__init__.py b/yarl/__init__.py index 34c42e4f..539a1ad2 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.18.0.dev0" +__version__ = "1.18.0" __all__ = ( "URL",