From dd392aa70f8209ef56d824740b8e37f5c79c0954 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Fri, 10 Nov 2023 09:43:31 -0500 Subject: [PATCH] =?UTF-8?q?v0.3.0=20=E2=80=94=20Better=20header=20configur?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- CHANGELOG.md | 4 ++-- src/ghreq/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30eb5a1..46f9f3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/ghreq/__init__.py b/src/ghreq/__init__.py index df13533..09be1d4 100644 --- a/src/ghreq/__init__.py +++ b/src/ghreq/__init__.py @@ -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"