Sourced from treq's releases.
Treq 24.9.0
Features
- treq now ships type annotations. (#366)
- The new
treq.cookiesmodule provides helper functions for working withhttp.cookiejar.CookieandCookieJarobjects. (#384)- Python 3.13 is now supported. (#391)
Bugfixes
treq.content.text_content()no longer generates deprecation warnings due to use of thecgimodule. (#355)Deprecations and Removals
- Mixing the json argument with files or data now raises
TypeError. (#297)- Passing non-string (
strorbytes) values as part of a dict to the headers argument now results in aTypeError, as does passing any collection other than adictorHeadersinstance. (#302)- Support for Python 3.7 and PyPy 3.8, which have reached end of support, has been dropped. (#378)
Misc
Sourced from treq's changelog.
24.9.1 (2024-09-19)
Bugfixes
- treq has vendored its dependency on the
multipartlibrary to avoid import conflicts withpython-multipart; it should now be installable alongside that library. ([#399](https://github.com/twisted/treq/issues/399) <https://github.com/twisted/treq/issues/399>__)24.9.0 (2024-09-17)
Features
- treq now ships type annotations. (
[#366](https://github.com/twisted/treq/issues/366) <https://github.com/twisted/treq/issues/366>__)- The new :mod:
treq.cookiesmodule provides helper functions for working withhttp.cookiejar.CookieandCookieJarobjects. ([#384](https://github.com/twisted/treq/issues/384) <https://github.com/twisted/treq/issues/384>__)- Python 3.13 is now supported. (
[#391](https://github.com/twisted/treq/issues/391) <https://github.com/twisted/treq/issues/391>__)Bugfixes
- :mod:
treq.content.text_content()no longer generates deprecation warnings due to use of thecgimodule. ([#355](https://github.com/twisted/treq/issues/355) <https://github.com/twisted/treq/issues/355>__)Deprecations and Removals
- Mixing the json argument with files or data now raises
TypeError. ([#297](https://github.com/twisted/treq/issues/297) <https://github.com/twisted/treq/issues/297>__)- Passing non-string (
strorbytes) values as part of a dict to the headers argument now results in aTypeError, as does passing any collection other than adictorHeadersinstance. ([#302](https://github.com/twisted/treq/issues/302) <https://github.com/twisted/treq/issues/302>__)- Support for Python 3.7 and PyPy 3.8, which have reached end of support, has been dropped. (
[#378](https://github.com/twisted/treq/issues/378) <https://github.com/twisted/treq/issues/378>__)Misc
[#336](https://github.com/twisted/treq/issues/336) <https://github.com/twisted/treq/issues/336>,[#382](https://github.com/twisted/treq/issues/382) <https://github.com/twisted/treq/issues/382>,[#395](https://github.com/twisted/treq/issues/395) <https://github.com/twisted/treq/issues/395>__
caaf9fc
Release 24.9.19cedb08
Merge pull request #400 from
twisted/vendor-multipart-for-now4aa1ee8
news fragmentd7c16de
octothorpes rise up4fd3c84
try to make the linter happyf0a5148
fix import, switch to from7f16b87
correct import1526431
add a lightly-modified vendored version of https://github.com/defnull/multipa...7c52d49
remove dependency on multipart packageca3966f
Merge pull request #398 from
twisted/397-release-24.9.0