Releases: jwodder/ghreq
Releases · jwodder/ghreq
v0.8.0 — Update API version
- Updated the default value of the
X-GitHub-Api-Versionheader to "2026-03-10", up from "2022-11-28". See the GitHub documentation for information on breaking changes in the new API version.
v0.7.0 — Support for making GraphQL requests to custom URLs
- Gave the
Clientconstructor agraphql_urlargument - Gave
Client.graphql()an optionalpathargument - Gave
Endpointagraphql()method - Added a
get_github_graphql_url()method
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