diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9279ddb5..44c667e0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,37 @@ Changelog .. towncrier release notes start +24.9.0 (2024-09-17) +=================== + +Features +-------- + +- treq now ships type annotations. (`#366 `__) +- The new :mod:`treq.cookies` module provides helper functions for working with `http.cookiejar.Cookie` and `CookieJar` objects. (`#384 `__) +- Python 3.13 is now supported. (`#391 `__) + + +Bugfixes +-------- + +- :mod:`treq.content.text_content()` no longer generates deprecation warnings due to use of the ``cgi`` module. (`#355 `__) + + +Deprecations and Removals +------------------------- + +- Mixing the *json* argument with *files* or *data* now raises `TypeError`. (`#297 `__) +- Passing non-string (`str` or `bytes`) values as part of a dict to the *headers* argument now results in a `TypeError`, as does passing any collection other than a `dict` or `Headers` instance. (`#302 `__) +- Support for Python 3.7 and PyPy 3.8, which have reached end of support, has been dropped. (`#378 `__) + + +Misc +---- + +- `#336 `__, `#382 `__, `#395 `__ + + 23.11.0 (2023-11-03) ==================== diff --git a/changelog.d/297.removal.rst b/changelog.d/297.removal.rst deleted file mode 100644 index f0cc78a1..00000000 --- a/changelog.d/297.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Mixing the *json* argument with *files* or *data* now raises `TypeError`. diff --git a/changelog.d/302.removal.rst b/changelog.d/302.removal.rst deleted file mode 100644 index 81b8af11..00000000 --- a/changelog.d/302.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Passing non-string (`str` or `bytes`) values as part of a dict to the *headers* argument now results in a `TypeError`, as does passing any collection other than a `dict` or `Headers` instance. diff --git a/changelog.d/336.misc.rst b/changelog.d/336.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/changelog.d/355.bugfix.rst b/changelog.d/355.bugfix.rst deleted file mode 100644 index 8e427ee0..00000000 --- a/changelog.d/355.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -:mod:`treq.content.text_content()` no longer generates deprecation warnings due to use of the ``cgi`` module. diff --git a/changelog.d/366.feature.rst b/changelog.d/366.feature.rst deleted file mode 100644 index 7fc34540..00000000 --- a/changelog.d/366.feature.rst +++ /dev/null @@ -1 +0,0 @@ -treq now ships type annotations. diff --git a/changelog.d/378.removal.rst b/changelog.d/378.removal.rst deleted file mode 100644 index 33af59ea..00000000 --- a/changelog.d/378.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Support for Python 3.7 and PyPy 3.8, which have reached end of support, has been dropped. diff --git a/changelog.d/382.misc.rst b/changelog.d/382.misc.rst deleted file mode 100644 index e69de29b..00000000 diff --git a/changelog.d/384.feature.rst b/changelog.d/384.feature.rst deleted file mode 100644 index bf7d4903..00000000 --- a/changelog.d/384.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The new :mod:`treq.cookies` module provides helper functions for working with `http.cookiejar.Cookie` and `CookieJar` objects. diff --git a/changelog.d/391.feature.rst b/changelog.d/391.feature.rst deleted file mode 100644 index 7ad97ba3..00000000 --- a/changelog.d/391.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Python 3.13 is now supported. \ No newline at end of file diff --git a/changelog.d/395.misc.rst b/changelog.d/395.misc.rst deleted file mode 100644 index e69de29b..00000000