From 5859321a8c56bf8ade15d24a8417cd328497b6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20N=C3=B8rgaard?= Date: Sun, 20 Feb 2022 18:26:35 +0000 Subject: [PATCH] version bump and changelog --- CHANGELOG.md | 16 +++++++++++++--- hondana/__init__.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b221fe9..fa6cf1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -2.0.6 +2.0.7 -API Version 5.4.15! +API Version 5.5.2! # Hondana Changelog **Fix release.** @@ -8,8 +8,18 @@ API Version 5.4.15! ## Added ## Changes +- Added `__repr__` to more objects for clarity if required. (d154ee298622adc5543039703bb96f05c1c81896) +- Rework exceptions internally because of DRY. (3eeb9feca5dc0277e02c765f9a085fb003be3faf) +- Exceptions now have a `.errors` attribute that is a list of `Error` sentinel types for ease of readability and access. (3eeb9feca5dc0277e02c765f9a085fb003be3faf) +- Add `response_id` attribute to Exceptions and add notes on their use in reporting errors to MangaDex. (a8af0d5fed061b155417c53baa18c7fea6949626) +- Added some notes to example and docs about using `DEBUG` level logging. (e26072ce1c321be6ce5b81f64e841e86d4e719cb) +- Performance change for `Manga.tags` where the property doesn't exist until accessed. (24cf17806adc3f1e9833433fa5e6da2cdd718388) + - The above opens us up for further changes to these things where an objects creation would be less performance. +- ## Fixes -- Added `"image/webp"` to allowed image content types, as this was overlooked before. (b4d66a03e3dcb4a6bc35fa925873945b4a73811f) +- Some typos in docs. (6265e8b59d3fd5c83b193888f5ae1847b9b95421) +- Actually create the enum type in `Manga.__init__`. (33d2517f73c38f49128114e52ff30c8ed9ffb0de) +- Token refresh datetime math was a little off, this has been fixed and renamed for ease of understanding. (fae516ac44f47d36a31dd4390c632ab803411575) ### Notes diff --git a/hondana/__init__.py b/hondana/__init__.py index 3780413..404b421 100644 --- a/hondana/__init__.py +++ b/hondana/__init__.py @@ -26,7 +26,7 @@ __author__ = "AbstractUmbra" __license__ = "MIT" __copyright__ = "Copyright 2021-present AbstractUmbra" -__version__ = "2.0.6" +__version__ = "2.0.7" import logging from typing import Literal, NamedTuple @@ -62,6 +62,6 @@ class VersionInfo(NamedTuple): serial: int -version_info: VersionInfo = VersionInfo(major=2, minor=0, micro=6, releaselevel="final", serial=0) +version_info: VersionInfo = VersionInfo(major=2, minor=0, micro=7, releaselevel="final", serial=0) logging.getLogger(__name__).addHandler(logging.NullHandler()) diff --git a/pyproject.toml b/pyproject.toml index d6b1a91..8029701 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Hondana" -version = "2.0.6" +version = "2.0.7" description = "An asynchronous wrapper around the MangaDex v5 API" authors = ["Alex Nørgaard "]