Skip to content

Commit

Permalink
treq 20.9.0rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Sep 27, 2020
1 parent 23730de commit 87214b1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ Changelog

.. towncrier release notes start
20.9.0rc1 (2020-09-27)
======================

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>`__)


20.4.1 (2020-04-16)
===================

Expand Down
1 change: 0 additions & 1 deletion changelog.d/212.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/278.doc.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/treq/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

from incremental import Version

__version__ = Version('treq', 20, 4, 1)
__version__ = Version('treq', 20, 9, 0, release_candidate=1)
__all__ = ["__version__"]
2 changes: 1 addition & 1 deletion src/treq/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def request(method, url, **kwargs):
:rtype: Deferred that fires with an IResponse provider.
.. versionchanged:: treq NEXT
.. versionchanged:: treq 20.9.0rc1
The *url* param now accepts :class:`hyperlink.DecodedURL` and
:class:`hyperlink.EncodedURL` objects.
Expand Down

0 comments on commit 87214b1

Please sign in to comment.