Releases: jwodder/ghreq
Releases · jwodder/ghreq
v0.7.0 — Support for making GraphQL requests to custom URLs
v0.6.0 — Support making GraphQL requests
- Support Python 3.13 and 3.14
- Drop support for Python 3.8 and 3.9
- Added a
Client.graphql()method for making GraphQL requests
v0.5.0 — Smarter retrying cutoff
- When a 403 response is received with a
Retry-Afterorx-ratelimit-resetheader that would result in the next retry attempt being aftertotal_waitis exceeded, don't retry.
v0.4.0 — Better header control and some more request parameters
- Migrated from setuptools to hatch
- Added a
set_headersargument to theClientconstructor for explicitly setting or not setting headers on sessions - Added
timeoutarguments to the request methods - Added
allow_redirectsargument toClient.request()andEndpoint.request()
v0.3.1 — Adjust type hints
- Adjusted the type hints on
PrettyHTTPErrorto indicate that theresponseattribute is always non-None
v0.3.0 — Better header configuration
- A session-wide
Acceptheader can now be specified when constructing aClientwithout having to use a customSession - Added a
headersargument to theClientconstructor for setting arbitrary additional headers without having to use a customSession - Gave
Clientaclose()method
v0.2.0 — Optional arguments for make_user_agent()
- The
versionargument tomake_user_agent()is now optional - The
urlargument 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