Skip to content

Commit

Permalink
v0.3.0 — Better header configuration
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jwodder committed Nov 10, 2023
1 parent c6b5973 commit dd392aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
v0.3.0 (in development)
-----------------------
v0.3.0 (2023-11-10)
-------------------
- 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
Expand Down
2 changes: 1 addition & 1 deletion src/ghreq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from typing import TYPE_CHECKING, Any, Literal, overload
import requests

__version__ = "0.3.0.dev1"
__version__ = "0.3.0"
__author__ = "John Thorvald Wodder II"
__author_email__ = "ghreq@varonathe.org"
__license__ = "MIT"
Expand Down

0 comments on commit dd392aa

Please sign in to comment.