All Versions
16
Latest Version
Avg Release Cycle
217 days
Latest Release
3638 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v99.99.99
October 11, 2013 -
v21.5.0 Changes
May 24, 2021๐ Features
- ๐ PEP 517/518
build-system
metadata is now provided inpyproject.toml
. (#329 <https://github.com/twisted/treq/issues/329>
__)
๐ Bugfixes
- โ
treq.testing.StubTreq
now persiststwisted.web.server.Session
instances between requests. (#327 <https://github.com/twisted/treq/issues/327>
__)
๐ Improved Documentation
- ๐ The dependency on Sphinx required to build the documentation has been moved from the
dev
extra to the newdocs
extra. (#296 <https://github.com/twisted/treq/issues/296>
__)
๐ Deprecations and Removals
- ๐ Support for Python 2.7 and 3.5 has been dropped. treq no longer depends on
six
ormock
. (#318 <https://github.com/twisted/treq/issues/318>
__)
- ๐ PEP 517/518
-
v21.1.0 Changes
January 14, 2021๐ Features
- ๐ Support for Python 3.9: treq is now tested with CPython 3.9. (
#305 <https://github.com/twisted/treq/issues/305>
__) - The auth parameter now accepts arbitrary text and
bytes
for usernames and passwords. Text is encoded as UTF-8, per :rfc:7617
. Previously only ASCII was allowed. (#268 <https://github.com/twisted/treq/issues/268>
__) - treq produces a more helpful exception when passed a tuple of the wrong size in the files parameter. (
#299 <https://github.com/twisted/treq/issues/299>
__)
๐ Bugfixes
- The params argument once more accepts non-ASCII
bytes
, fixing a regression first introduced in treq 20.4.1. (#303 <https://github.com/twisted/treq/issues/303>
__) - ๐ treq request APIs no longer mutates a :class:
http_headers.Headers <twisted.web.http_headers.Headers>
passed as the headers parameter when the auth parameter is also passed. (#314 <https://github.com/twisted/treq/issues/314>
__) - The agent returned by :func:
treq.auth.add_auth()
and :func:treq.auth.add_basic_auth()
is now marked to provide :class:twisted.web.iweb.IAgent
. (#312 <https://github.com/twisted/treq/issues/312>
__) - ๐ treq's package metadata has been updated to require
six >= 1.13
, noting a dependency introduced in treq 20.9.0. (#295 <https://github.com/twisted/treq/issues/295>
__)
๐ Improved Documentation
- The documentation of the params argument has been updated to more accurately describe its type-coercion behavior. (
#281 <https://github.com/twisted/treq/issues/281>
__) - The :mod:
treq.auth
module has been documented. (#313 <https://github.com/twisted/treq/issues/313>
__)
๐ Deprecations and Removals
- ๐ Support for Python 2.7, which has reached end of support, is deprecated. This is the last release with support for Python 2.7. (
#309 <https://github.com/twisted/treq/issues/309>
__) - ๐ Support for Python 3.5, which has reached end of support, is deprecated. This is the last release with support for Python 3.5. (
#306 <https://github.com/twisted/treq/issues/306>
__) - Deprecate tolerance of non-string values when passing headers as a dict. They have historically been silently dropped, but will raise TypeError in the next treq release. Also deprecate passing headers other than :class:
dict
, :class:~twisted.web.http_headers.Headers
, orNone
. Historically falsy values like[]
or()
were accepted. (#294 <https://github.com/twisted/treq/issues/294>
__) - ๐ treq request functions and methods like :func:
treq.get()
and :meth:HTTPClient.post()
now issue aDeprecationWarning
when passed unknown keyword arguments, rather than ignoring them. Mixing the json argument with files or data is also deprecated. These warnings will change to aTypeError
in the next treq release. (#297 <https://github.com/twisted/treq/issues/297>
__) - โ
The minimum supported Twisted version has increased to 18.7.0. Older versions are no longer tested in CI. (
#307 <https://github.com/twisted/treq/issues/307>
__)
- ๐ Support for Python 3.9: treq is now tested with CPython 3.9. (
-
v20.9.0 Changes
September 27, 2020๐ Features
- The url parameter of :meth:
HTTPClient.request()
(and shortcuts like :meth:~HTTPClient.get()
) now accept :class:hyperlink.DecodedURL
and :class:hyperlink.URL
in addition to :class:str
and :class:bytes
. (#212 <https://github.com/twisted/treq/issues/212>
__) - ๐ Compatibility with the upcoming Twisted 20.9.0 release (
#290 <https://github.com/twisted/treq/issues/290>
__).
๐ Improved Documentation
- An example of sending and receiving JSON has been added. (
#278 <https://github.com/twisted/treq/issues/278>
__)
- The url parameter of :meth:
-
v20.9.0.rc1 Changes
September 27, 2020๐ Features
- The url parameter of :meth:
HTTPClient.request()
(and shortcuts like :meth:~HTTPClient.get()
) now accept :class:hyperlink.DecodedURL
and :class:hyperlink.URL
in addition to :class:str
and :class:bytes
. (#212 <https://github.com/twisted/treq/issues/212>
__)
๐ Improved Documentation
- An example of sending and receiving JSON has been added. (
#278 <https://github.com/twisted/treq/issues/278>
__)
- The url parameter of :meth:
-
v20.4.1 Changes
April 16, 2020๐ Bugfixes
- ๐ Correct a typo in the treq 20.4.0 package metadata that prevented upload to PyPI (
pypa/twine#589 <https://github.com/pypa/twine/issues/589>
__)
- ๐ Correct a typo in the treq 20.4.0 package metadata that prevented upload to PyPI (
-
v20.4.0 Changes
April 16, 2020๐ Features
- ๐ Support for Python 3.8 and PyPy3: treq is now tested with these interpreters. (
#271 <https://github.com/twisted/treq/issues/271>
__)
๐ Bugfixes
treq.client.HTTPClient.request()
and its aliases no longer raiseUnicodeEncodeError
when passed a Unicode url and non-empty params. Now the URL and query parameters are concatenated as documented. (#264 <https://github.com/twisted/treq/issues/264>
__)- In treq 20.3.0 the params argument didn't accept parameter names or values that contain the characters
&
or#
. Now these characters are properly escaped. (#282 <https://github.com/twisted/treq/issues/282>
__)
๐ Improved Documentation
- ๐ The treq documentation has been revised to emphasize use of
treq.client.HTTPClient
over the module-level convenience functions in thetreq
module. (#276 <https://github.com/twisted/treq/issues/276>
__)
- ๐ Support for Python 3.8 and PyPy3: treq is now tested with these interpreters. (
-
v20.3.0 Changes
March 15, 2020๐ Features
- ๐ Python 3.7 support. (
#228 <https://github.com/twisted/treq/issues/228>
__)
๐ Bugfixes
- โ
treq.testing.RequestTraversalAgent
now passes its memory reactor to thetwisted.web.server.Site
it creates, preventing theSite
from polluting the global reactor. (#225 <https://github.com/twisted/treq/issues/225>
__) treq.testing
no longer generates deprecation warnings abouttwisted.test.proto_helpers.MemoryReactor
. (#253 <https://github.com/twisted/treq/issues/253>
__)
๐ Improved Documentation
- โก๏ธ The
download_file.py
example has been updated to do a streaming download with unbuffered=True. (#233 <https://github.com/twisted/treq/issues/233>
__) - The agent parameter to
treq.request()
has been documented. (#235 <https://github.com/twisted/treq/issues/235>
__) - The type of the headers element of a response tuple passed to
treq.testing.RequestSequence
is now correctly documented asstr
. (#237 <https://github.com/twisted/treq/issues/237>
__)
๐ Deprecations and Removals
- โฌ๏ธ Drop support for Python 3.4. (
#240 <https://github.com/twisted/treq/issues/240>
__)
Misc
#247 <https://github.com/twisted/treq/issues/247>
,#248 <https://github.com/twisted/treq/issues/248>
,#249 <https://github.com/twisted/treq/issues/249>
__
- ๐ Python 3.7 support. (
-
v20.3.0.rc1
March 16, 2020 -
v18.6.0
June 29, 2018