Skip to content

Commit

Permalink
version bump and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractUmbra committed Oct 14, 2022
1 parent 1e732e3 commit c8f254c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
20 changes: 12 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
3.2.0
3.3.0

API Version 5.7.1

# Hondana Changelog
Update to remove singular updates to (un)read markers on chapters.
This just means you must use the batch endpoint. This is noted within Hondana as `Client.batch_update_manga_read_markers`.
`Chapter.mark_as_read()` and `Chapter.mark_as_unread()` both now use the batch endpoint internallt.
Fix release and new features.

## Added
`Manga.latest_uploaded_chapter` attribute has been added. (2407d39183b6191bb4a83b18aa1f7dc8231a2932)
Added a new user friendly way to submit reports to MangaDex. (9885597e6c8ac63e860c80ec2091109c82ff78e8 and 4ba859911a2137ccfe52dbe676493a9bb772e780)
- Included a new [local cache](./hondana/extras/report_reasons.json) of the report reasons which are loaded as an enum.
- Included a new [example](./examples/submitting_a_report.py) for using the report method.
Removed `Client.get_report_reason_list()` public method as this was not user friendly or utilised. (820a8d65fe16b7bf61803014e1f7655efe0eac89)

## Changes
Deprecation of `Client.mark_chapter_as_read()` and `Client.mark_chapter_as_unread()` in favour of `Client.batch_update_manga_read_markers()`. (5b6070b55c51aae4cbe70dfe501f1ff1ab7fd06e)
Rename `Chapter.mark_chapter_as_unread()` to `Chapter.mark_as_unread()`. (3b20a5621133399a427fa85dafda366441cba730)
Removed preflight items from within the exposed source code to a private part of local CI. (80f2229d3901a285b00f1e0d9a12a8baeccb8dd3)
New batch of test payloads as the previous iterations had broken data with no resolution in sight. (1e732e3ba17345bb2adbe8a1211004253e3bd31b)


## Fixes
Fixed the handling of `Tag.description` as it was previously marked as the incorrect type. Handling it correctly and accouting for PHP empty-object-isms. (a2b8469690a04366b38f5cdfba20ac75a4158156)
Fixed `Artist` and `Author`'s `.biography` property from being incorrectly accessed if the `"en"` key did not exist and relevant tests for such. (1e732e3ba17345bb2adbe8a1211004253e3bd31b)
Fix the internal HTTPClient type being accessed at runtime unnecessarily. (3e62a2964a208549c7b4cd4c9458ffcca7079c3f)

### Notes
Deprecation of `Client.mark_chapter_as_read()` and `Client.mark_chapter_as_unread()` in favour of `Client.batch_update_manga_read_markers()`. (5b6070b55c51aae4cbe70dfe501f1ff1ab7fd06e)

### Noted Contributors
4 changes: 2 additions & 2 deletions hondana/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
__author__ = "AbstractUmbra"
__license__ = "MIT"
__copyright__ = "Copyright 2021-present AbstractUmbra"
__version__ = "3.2.0"
__version__ = "3.3.0"

import logging
from typing import Literal, NamedTuple
Expand Down Expand Up @@ -63,6 +63,6 @@ class VersionInfo(NamedTuple):
serial: int


version_info: VersionInfo = VersionInfo(major=3, minor=2, micro=0, releaselevel="final", serial=0)
version_info: VersionInfo = VersionInfo(major=3, minor=3, micro=0, releaselevel="final", serial=0)

logging.getLogger(__name__).addHandler(logging.NullHandler())
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Hondana"
version = "3.2.0"
version = "3.3.0"
description = "An asynchronous wrapper around the MangaDex v5 API"
authors = ["Alex Nørgaard <[email protected]>"]

Expand Down

0 comments on commit c8f254c

Please sign in to comment.