Skip to content

Commit f02d584

Browse files
committed
version bump and changelog
1 parent 56004c6 commit f02d584

File tree

5 files changed

+245
-230
lines changed

5 files changed

+245
-230
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313

1414
jobs:
1515
build:
16-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1716
runs-on: ubuntu-latest
1817
strategy:
1918
fail-fast: false
@@ -23,7 +22,7 @@ jobs:
2322
name: "Build @ ${{ matrix.python-version }}"
2423
steps:
2524
- name: "Checkout Repository"
26-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2726
with:
2827
fetch-depth: 0
2928

@@ -45,7 +44,7 @@ jobs:
4544

4645
- name: "Setup Python @ ${{ matrix.python-version }}"
4746
id: setup-python
48-
uses: actions/setup-python@v4
47+
uses: actions/setup-python@v5
4948
with:
5049
python-version: "${{ matrix.python-version }}"
5150
cache: "poetry"
@@ -85,6 +84,7 @@ jobs:
8584
poetry run sphinx-build -aETW --keep-going . build
8685
8786
- name: "Upload artifacts @ ${{ matrix.python-version}}"
87+
if: matrix.python-version == '3.11'
8888
uses: actions/upload-artifact@v4
8989
with:
9090
name: distributions
@@ -118,10 +118,10 @@ jobs:
118118
set -x
119119
assets=()
120120
for asset in ./dist/*.{whl,tar.gz}; do
121-
assets+=("-a" "$asset")
121+
assets+=("$asset")
122122
done
123123
tag_name="${GITHUB_REF##*/}"
124-
hub release create "${assets[@]}" -F "CHANGELOG.md" "$tag_name"
124+
gh release create "$tag_name" -F "CHANGELOG.md" "${assets[@]}"
125125
126126
- name: "Set up Poetry"
127127
uses: snok/install-poetry@v1

CHANGELOG.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,41 @@
1-
3.4.7
1+
3.5.0
22

3-
API Version 5.9.0
3+
API Version 5.10.2
44

55
# Hondana Changelog
6-
API Release - more below!
6+
Hondana release, see below for finer details.
77

88
## Added
9-
- Forum/Thread/Comment api capability
10-
- Added various objects and methods, namely `hondana.ForumThread`, `hondana.MangaComments` (also `Chapter` and `ScanlatorGroup`), `Client.create_forum_thread` and `get_statistics` on `Chapter` and `ScanlatorGroup` objects. (2ab4ab4f529fd17e2083a804f9b58e000832447e and e45fb24082d0df599f8be12ee8f55ed44fef08aa primarily)
9+
- Add our own twist on the MangaDex logo for Hondana. (c07e92c4cc3844f4e6207f62b6429d2b3c522676)
10+
- Actions workflows now cache poetry installs and their venvs per Python version. (a38d458b1aae182db53e0711e228eea4f9dbdedf and aa5478f717021f6f05f5e8beb06249abc3624e07)
11+
- OAuth2 authentication flow. (34cf81b7e906efb091a964f874355c48e5d31332, 1ffd47337522881f6171b155f5aa5cf590a750ff, 1d461960c9d13d6ea62725201a077ad2bc45030b, 723a3f2b59b5f558bc896a5e8f5ca6e26d1fd398, 8e595d5f9b7ffccd3e9aa1f35a80b9d9b0e1f7b6, 1829a611ee48258f927eea085e9c80a1e52d63cd, 004b1219e64034fca29431abdb7631ea87be70b7)
12+
- Capability of using `Client` as a context manager for entry and exit cleanup. (c6048469de99e063dd76425fffa6ce7fa81bc03e)
13+
- Add `exLicensed` key to ScanlatorGroup. (feaa7a71acda325ff77f0dfa0c8d75cd70ec84ce)
14+
- `utils.to/from_json` is now within the public API. (7ceade163906494caa12e059deeb6e8c3eca25d7, 69e944d79d92a89dbdf39a9b3df9bb1f0372685b)
15+
- Added capability to use the [dev api](https://api.mangadex.dev). (fe9caff66db7057aebcb2b8f47e427fed226462d and d8e5c6c74f7187df586d86cf602d3c2b20cbc5d1)
16+
- Add NamiComi to `Author/Artist` types. (23adaf289445956924d916b64cc1590fb4d5f9df)
17+
- Add a way to check if an upload requires approval. (f745f6fd29a2ec12b404b2b2c51239205ec0cb55)
1118

1219
## Changes
13-
- Remove `Client.find_manga_statistics` in favour of combining it with `Client.get_manga_statistics` and using two optional params for singular and plural. (e45fb24082d0df599f8be12ee8f55ed44fef08aa)
14-
- Update library dependencies. (a1e8c92f545173b8abe6666b863bfcd8e0a782f9)
20+
- Remove `.webp` from allowed image formats as Mangadex doesn't support them. (9686262ee65839e8993cb77b7d030ac982dc054f)
21+
- Several iterations of updating dependencies. (Too many SHAs to list)
22+
- Switch to dedicated `pyright` workflow versus manually installing and running it. (c2e846ff95cd07023f5ebe2160f5d57b71ef1ddc)
23+
- Utilise speedier json parsing for local json stores, if present. (67b6997cb07ae0fc856b1db8eef4e01cea374149)
24+
- Test payload updates. (Too many SHAs to list)
25+
- Revamped the documentation. (9e506aeaa67a07401d8bc5c7a910374682088eb6, 1ba07e882929fec0dde37720d7a17f6a8339f072)
26+
- Fixed library's tooling to account for the fact it is 3.11+. (1db76d08aaa4c29fd9a7aaadc8661a8c3b818fd7, 8d942ffe6fc01fed6beb9de8811b17a283ec5a4b, 8d7b891e645075426a5cb136795ddfd740066007, dfcdcc2b4a484d053a244a3a59e57666a769877a)
27+
- Update Manga report reasons. (5a196bc0d78f2113faa9f4bb54c5484b4e9a4d22 and 661339ae9adaefdb4fbfa333d7bf647f3f142dc7)
28+
- Update Manga tags. (de07abfb8d859c67296db15111227d589058a962)
1529

1630
## Fixes
17-
- GH Actions now have the `--pythonversion` flag for pyright workflows as per their matrix. Probably optional but wanted to cover it. (7850d34546f37b917ff94cbfd173e079a4182925)
31+
- ReadTheDocs configuration file for building with later poetry versions. (116107be7666e1b35a622703a3bd9ec4b5176855)
32+
- Fix incorrect query parameter. (e47dfbca444edd45b1f04b7eb169a8e801e7548b)
33+
- Amended debug logging to restrict sensitive info that was needlessly included. (4a48b94669ecfdfbf080d5e01d496e27466b2221)
34+
- Allow passing `None` to the `year` parameter of `Client.manga_list`. (bc0451b0b9d4596e718fc15a415cf99f32ffa66f, 308f061863e855c68c0729fc8d5e1156980650c0)
1835

1936
### Notes
20-
Added a warning and also a section on the README about the upcoming basic authentication deprecation on MangaDex's side.
21-
The gist of which is that user/email and pass authentication will no longer be supported at an approaching but unspecified future date.
22-
I am actively enquiring about getting the Client Credentials oauth2 flow enabled. See the library README for more info.
37+
Apologies for the massive changelog, hopefully nothing is missed!
2338

2439
### Noted Contributors
40+
@Random-Cow for fixing a query parameter. (e47dfbca444edd45b1f04b7eb169a8e801e7548b)
41+
@oliver-ni for touching up and correcting my bad edit of the logo. (c07e92c4cc3844f4e6207f62b6429d2b3c522676)

hondana/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
__author__ = "AbstractUmbra"
2727
__license__ = "MIT"
2828
__copyright__ = "Copyright 2021-present AbstractUmbra"
29-
__version__ = "4.0.0a"
29+
__version__ = "3.5.0"
3030

3131
import logging
3232
from typing import Literal, NamedTuple
@@ -60,7 +60,7 @@ class VersionInfo(NamedTuple):
6060
serial: int
6161

6262

63-
version_info: VersionInfo = VersionInfo(major=4, minor=0, micro=0, releaselevel="alpha", serial=0)
63+
version_info: VersionInfo = VersionInfo(major=3, minor=5, micro=0, releaselevel="final", serial=0)
6464

6565
logging.getLogger(__name__).addHandler(logging.NullHandler())
6666

0 commit comments

Comments
 (0)