Skip to content

Releases: jwodder/ghreq

v0.5.0 — Smarter retrying cutoff

17 Dec 16:08
v0.5.0
Compare
Choose a tag to compare
  • When a 403 response is received with a Retry-After or x-ratelimit-reset header that would result in the next retry attempt being after total_wait is exceeded, don't retry.

v0.4.0 — Better header control and some more request parameters

15 Dec 16:02
v0.4.0
Compare
Choose a tag to compare
  • Migrated from setuptools to hatch
  • Added a set_headers argument to the Client constructor for explicitly setting or not setting headers on sessions
  • Added timeout arguments to the request methods
  • Added allow_redirects argument to Client.request() and Endpoint.request()

v0.3.1 — Adjust type hints

13 Nov 16:09
v0.3.1
Compare
Choose a tag to compare
  • Adjusted the type hints on PrettyHTTPError to indicate that the response attribute is always non-None

v0.3.0 — Better header configuration

10 Nov 14:43
v0.3.0
Compare
Choose a tag to compare
  • A session-wide Accept header can now be specified when constructing a Client without having to use a custom Session
  • Added a headers argument to the Client constructor for setting arbitrary additional headers without having to use a custom Session
  • Gave Client a close() method

v0.2.0 — Optional arguments for make_user_agent()

03 Nov 19:33
v0.2.0
Compare
Choose a tag to compare
  • The version argument to make_user_agent() is now optional
  • The url argument to make_user_agent() is now actually optional

v0.1.1 — Type fix

21 Oct 21:48
v0.1.1
Compare
Choose a tag to compare
  • Fix the type annotation on Client.__enter__ to support subclassing

v0.1.0 — Initial release

21 Oct 21:19
v0.1.0
Compare
Choose a tag to compare