Skip to content

Commit 81d3624

Browse files
committed
v0.8.0 — Update API version
- Updated the default value of the `X-GitHub-Api-Version` header to "2026-03-10", up from "2022-11-28". See [the GitHub documentation](https://docs.github.com/en/rest/about-the-rest-api/breaking-changes#version-2026-03-10) for information on breaking changes in the new API version.
1 parent cdac765 commit 81d3624

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v0.8.0 (in development)
2-
-----------------------
1+
v0.8.0 (2026-06-20)
2+
-------------------
33
- Updated the default value of the ``X-GitHub-Api-Version`` header to
44
"2026-03-10", up from "2022-11-28". See `the GitHub documentation`__ for
55
information on breaking changes in the new API version.
@@ -15,18 +15,21 @@ v0.7.0 (2025-11-28)
1515
- Gave `Endpoint` a `graphql()` method
1616
- Added a `get_github_graphql_url()` method
1717

18+
1819
v0.6.0 (2025-11-14)
1920
-------------------
2021
- Support Python 3.13 and 3.14
2122
- Drop support for Python 3.8 and 3.9
2223
- Added a `Client.graphql()` method for making GraphQL requests
2324

25+
2426
v0.5.0 (2023-12-17)
2527
-------------------
2628
- When a 403 response is received with a `Retry-After` or `x-ratelimit-reset`
2729
header that would result in the next retry attempt being after `total_wait`
2830
is exceeded, don't retry.
2931

32+
3033
v0.4.0 (2023-12-15)
3134
-------------------
3235
- Migrated from setuptools to hatch
@@ -36,11 +39,13 @@ v0.4.0 (2023-12-15)
3639
- Added `allow_redirects` argument to `Client.request()` and
3740
`Endpoint.request()`
3841

42+
3943
v0.3.1 (2023-11-13)
4044
-------------------
4145
- Adjusted the type hints on `PrettyHTTPError` to indicate that the `response`
4246
attribute is always non-`None`
4347

48+
4449
v0.3.0 (2023-11-10)
4550
-------------------
4651
- A session-wide `Accept` header can now be specified when constructing a
@@ -49,15 +54,18 @@ v0.3.0 (2023-11-10)
4954
additional headers without having to use a custom `Session`
5055
- Gave `Client` a `close()` method
5156

57+
5258
v0.2.0 (2023-11-03)
5359
-------------------
5460
- The `version` argument to `make_user_agent()` is now optional
5561
- The `url` argument to `make_user_agent()` is now actually optional
5662

63+
5764
v0.1.1 (2023-10-21)
5865
-------------------
5966
- Fix the type annotation on `Client.__enter__` to support subclassing
6067

68+
6169
v0.1.0 (2023-10-21)
6270
-------------------
6371
Initial release

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023-2025 John Thorvald Wodder II
3+
Copyright (c) 2023-2026 John Thorvald Wodder II
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/ghreq/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
from typing import TYPE_CHECKING, Any, Literal, overload
5151
import requests
5252

53-
__version__ = "0.8.0.dev1"
53+
__version__ = "0.8.0"
5454
__author__ = "John Thorvald Wodder II"
5555
__author_email__ = "ghreq@varonathe.org"
5656
__license__ = "MIT"

0 commit comments

Comments
 (0)