From 19daf5e5951e6579c1bbdbb418e21741e2809570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20N=C3=B8rgaard?= Date: Fri, 8 Apr 2022 02:25:30 +0100 Subject: [PATCH] version bump and changelog --- CHANGELOG.md | 19 +++++++++++-------- hondana/__init__.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66ff987..ddc1297 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,26 @@ -2.2.1 +2.2.2 API Version 5.5.8! # Hondana Changelog ## Added -- `Client.get_my_custom_list_follows()` method was added to get all of the custom lists you follow. (44d6374089680e9fc703d2a3bffeeaa6dcdfa0c6) -- `Client.check_if_following_custom_list()` method was added to check if you currentlt follow a specific custom list. (44d6374089680e9fc703d2a3bffeeaa6dcdfa0c6) -- `Client.follow_custom_list()` and `CustomList.follow()` methods were added to allow you to follow a custom list. (44d6374089680e9fc703d2a3bffeeaa6dcdfa0c6) -- `Client.unfollow_custom_list()` and `CustomList.unfollow()` methods were added to allow you to unfollow a custom list. (44d6374089680e9fc703d2a3bffeeaa6dcdfa0c6) +- Added a depreacted utility decorator for use in deprecated methods. (14a7db9837bbe78212c462f845278777c246e3bf) +- `end` key-word argument in `Chapter.download` for the ability to download select pages. (4cdc304481216ac080fc9b8e8bf18696449e022b) +- `Chapter.download_bytes` for downloading chapter images and yielding the raw bytes, rather than dumping to a file. (4cdc304481216ac080fc9b8e8bf18696449e022b) +- Add capability to edit chapters with `ChapterUpload` and all helper methods. (97689c8980707905a0448b07264820ef1508315f) ## Changes -- `ChapterUpload` will now raise `ValueError` on initialisation if you try to provide more than 10 scanlator groups per upload. (5861a32f2e20360ea32f14eb0baee49223e9dd7e) -- Added optional `[speedup]` extra to the library install to add `orjson` as a dependency for faster json payload parsing. (96507e0c9dec67f0fca6417cb2b12e6bf566e1d9) -- Removed the dependency for `aiofiles` as the overhead was rather unnecessary in testing. (fe9501a8fffcba631cc7ee1820052f1b69ad2b9b) +- GitHub actions have been improved to use newer versions and caching where necessary. (d379cbaeaa55d323c7898490c2578deb4a3ddf7f and 81d84279ca7dc71c0d1989506cc9db39bddf4dce) ## Fixes +- Internal utility fixes for the relationship parsing utility. (3c60835c635bc17de80e8fd5f283780c549b0521 and b11fc4f0dd3c745c262e7a768842aa22a4c748c8) +- Fixes `title` and `volume` parameters of `Client.upload_session` as they should have been optional. (12d1cf4f97913204000ebfb5b384ae5f3a061f47 and 5d0dfe3f4c58c03619463c9a194199db27922f4e) + - Also fixed a bug in the chapter upload process thanks to incorrect documentation. (12d1cf4f97913204000ebfb5b384ae5f3a061f47) ### Notes - `Client.view_manga` is marked as deprecated and due for removal in version 3.0 in favour of `Client.get_manga`. +- I have tested the upload capabilities as best I can using the [official test manga](https://mangadex.org/title/f9c33607-9180-4ba6-b85c-e4b5faee7192/official-test-manga). ### Noted Contributors +@PythonCoderAS - For working on 4cdc304481216ac080fc9b8e8bf18696449e022b and improving the library. diff --git a/hondana/__init__.py b/hondana/__init__.py index dfe1cda..5378707 100644 --- a/hondana/__init__.py +++ b/hondana/__init__.py @@ -26,7 +26,7 @@ __author__ = "AbstractUmbra" __license__ = "MIT" __copyright__ = "Copyright 2021-present AbstractUmbra" -__version__ = "2.2.1" +__version__ = "2.2.2" import logging from typing import Literal, NamedTuple @@ -63,6 +63,6 @@ class VersionInfo(NamedTuple): serial: int -version_info: VersionInfo = VersionInfo(major=2, minor=2, micro=1, releaselevel="final", serial=0) +version_info: VersionInfo = VersionInfo(major=2, minor=2, micro=2, releaselevel="final", serial=0) logging.getLogger(__name__).addHandler(logging.NullHandler()) diff --git a/pyproject.toml b/pyproject.toml index 1a3fdb4..276d200 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Hondana" -version = "2.2.1" +version = "2.2.2" description = "An asynchronous wrapper around the MangaDex v5 API" authors = ["Alex Nørgaard "]