Releases: jwodder/ghreq
Releases · jwodder/ghreq
v0.5.0 — Smarter retrying cutoff
v0.4.0 — Better header control and some more request parameters
- Migrated from setuptools to hatch
- Added a
set_headers
argument to theClient
constructor for explicitly setting or not setting headers on sessions - Added
timeout
arguments to the request methods - Added
allow_redirects
argument toClient.request()
andEndpoint.request()
v0.3.1 — Adjust type hints
- Adjusted the type hints on
PrettyHTTPError
to indicate that theresponse
attribute is always non-None
v0.3.0 — Better header configuration
- A session-wide
Accept
header can now be specified when constructing aClient
without having to use a customSession
- Added a
headers
argument to theClient
constructor for setting arbitrary additional headers without having to use a customSession
- Gave
Client
aclose()
method
v0.2.0 — Optional arguments for make_user_agent()
- The
version
argument tomake_user_agent()
is now optional - The
url
argument tomake_user_agent()
is now actually optional
v0.1.1 — Type fix
- Fix the type annotation on
Client.__enter__
to support subclassing
v0.1.0 — Initial release
Version 0.1.0