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 May 3, 2024
1 parent 56004c6 commit ebca8af
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 229 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:

jobs:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -23,7 +22,7 @@ jobs:
name: "Build @ ${{ matrix.python-version }}"
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -45,7 +44,7 @@ jobs:

- name: "Setup Python @ ${{ matrix.python-version }}"
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
cache: "poetry"
Expand Down Expand Up @@ -85,6 +84,7 @@ jobs:
poetry run sphinx-build -aETW --keep-going . build
- name: "Upload artifacts @ ${{ matrix.python-version}}"
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
with:
name: distributions
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
assets+=("-a" "$asset")
done
tag_name="${GITHUB_REF##*/}"
hub release create "${assets[@]}" -F "CHANGELOG.md" "$tag_name"
gh release create "$tag_name" -F "CHANGELOG.md" "${assets[@]}"
- name: "Set up Poetry"
uses: snok/install-poetry@v1
Expand Down
39 changes: 28 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,41 @@
3.4.7
3.5.0

API Version 5.9.0
API Version 5.10.2

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

## Added
- Forum/Thread/Comment api capability
- 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)
- Add our own twist on the MangaDex logo for Hondana. (c07e92c4cc3844f4e6207f62b6429d2b3c522676)
- Actions workflows now cache poetry installs and their venvs per Python version. (a38d458b1aae182db53e0711e228eea4f9dbdedf and aa5478f717021f6f05f5e8beb06249abc3624e07)
- OAuth2 authentication flow. (34cf81b7e906efb091a964f874355c48e5d31332, 1ffd47337522881f6171b155f5aa5cf590a750ff, 1d461960c9d13d6ea62725201a077ad2bc45030b, 723a3f2b59b5f558bc896a5e8f5ca6e26d1fd398, 8e595d5f9b7ffccd3e9aa1f35a80b9d9b0e1f7b6, 1829a611ee48258f927eea085e9c80a1e52d63cd, 004b1219e64034fca29431abdb7631ea87be70b7)
- Capability of using `Client` as a context manager for entry and exit cleanup. (c6048469de99e063dd76425fffa6ce7fa81bc03e)
- Add `exLicensed` key to ScanlatorGroup. (feaa7a71acda325ff77f0dfa0c8d75cd70ec84ce)
- `utils.to/from_json` is now within the public API. (7ceade163906494caa12e059deeb6e8c3eca25d7, 69e944d79d92a89dbdf39a9b3df9bb1f0372685b)
- Added capability to use the [dev api](https://api.mangadex.dev). (fe9caff66db7057aebcb2b8f47e427fed226462d and d8e5c6c74f7187df586d86cf602d3c2b20cbc5d1)
- Add NamiComi to `Author/Artist` types. (23adaf289445956924d916b64cc1590fb4d5f9df)
- Add a way to check if an upload requires approval. (f745f6fd29a2ec12b404b2b2c51239205ec0cb55)

## Changes
- 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)
- Update library dependencies. (a1e8c92f545173b8abe6666b863bfcd8e0a782f9)
- Remove `.webp` from allowed image formats as Mangadex doesn't support them. (9686262ee65839e8993cb77b7d030ac982dc054f)
- Several iterations of updating dependencies. (Too many SHAs to list)
- Switch to dedicated `pyright` workflow versus manually installing and running it. (c2e846ff95cd07023f5ebe2160f5d57b71ef1ddc)
- Utilise speedier json parsing for local json stores, if present. (67b6997cb07ae0fc856b1db8eef4e01cea374149)
- Test payload updates. (Too many SHAs to list)
- Revamped the documentation. (9e506aeaa67a07401d8bc5c7a910374682088eb6, 1ba07e882929fec0dde37720d7a17f6a8339f072)
- Fixed library's tooling to account for the fact it is 3.11+. (1db76d08aaa4c29fd9a7aaadc8661a8c3b818fd7, 8d942ffe6fc01fed6beb9de8811b17a283ec5a4b, 8d7b891e645075426a5cb136795ddfd740066007, dfcdcc2b4a484d053a244a3a59e57666a769877a)
- Update Manga report reasons. (5a196bc0d78f2113faa9f4bb54c5484b4e9a4d22 and 661339ae9adaefdb4fbfa333d7bf647f3f142dc7)
- Update Manga tags. (de07abfb8d859c67296db15111227d589058a962)

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

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

### Noted Contributors
@Random-Cow for fixing a query parameter. (e47dfbca444edd45b1f04b7eb169a8e801e7548b)
@oliver-ni for touching up and correcting my bad edit of the logo. (c07e92c4cc3844f4e6207f62b6429d2b3c522676)
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__ = "4.0.0a"
__version__ = "3.5.0"

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


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

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

Expand Down
Loading

0 comments on commit ebca8af

Please sign in to comment.