Skip to content

Treq 26.7.0

Latest

Choose a tag to compare

@twm twm released this 02 Jul 00:10

Features

  • Document support for Python 3.14. (#427)
  • PyPy 3.11 is now supported, and PyPy 3.9 and 3.10, which are no longer well-supported by the ecosystem, have been dropped. (#429)

Bugfixes

  • treq no longer vendors the multipart library, now that it no longer has import conflicts with python-multipart. (#403)
  • Fix building documentation with Sphinx 9.1.0. (#423)

Deprecations and Removals

  • treq no longer depends on requests. Consequently, the cookies() method no longer returns a requests.cookies.RequestsCookieJar. Instead, it returns treq.cookies.IndexableCookieJar, which implements __getitem__ as a compatibility shim. We have not attempted to maintain full dict-interface compatibility with RequestsCookieJar, as many of its interface extensions are difficult to use securely because they obscure the relationship between cookies and domains. treq interfaces still accept a request.cookies.RequestsCookieJar as the cookies parameter, like any http.cookiejar.CookieJar subclass. (#325)
  • Support for Python 3.8, which has reached end of support, has been dropped. (#427)