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 Mar 17, 2022
1 parent 2323c44 commit c694b4f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
27 changes: 8 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
2.0.13
2.1.1

API Version 5.5.6!
API Version 5.5.7!

# Hondana Changelog

## Added
- `hondana.Relationship` type was added as a container type to relationship keys in payloads. (684447e75088302d42ca803ca31eee190a4aafdd)
- Added `.relationship` property to all relevant types to use the new `Relationship` container. (8d2c7584879a14a0e47fdcbe23497efe1ac8b7e7)
- `Manga.raw_description` property added to access raw payload to resolve #20. (d1b5a9824e3d926a52ea319aaa89d29eacc03d10)
- `Manga.localized_title` and `Manga.localized_description` locale alternative methods. (2b1091000fb373dc72d283458464d05e60bc93ca)
- (#18) Mostly internal change with how collection types work from the API. Mostly `XFeed` classes. Also add a `.items()` method to these. (f8cf30d523e9b9264e818bad467515297c718c8a)
- Add missing `fan_box` attribute on `Author` and `Artist`. (7ab0ef0ac4c08b01a579e33a095c0578c8fdb8c9)
- Expose `Manga.alt_titles`. (dbae6aeb36022b7b8e7fcecaf9a8c9836ff31fbb)
- Added missing attributes of `ScanlatorGroup` as well as a new util for creating string formats that MangaDex accepts for publish delays. (2d15d9cc2b4573015a71250821ce9f56f4024fc1)
- First attempt at a testing suite for the library. (1755fffde40faaeed35710f9df6dcfac630bbddf)
- Added `Client.check_username_available` method as per the new endpoint. (9dee5bc9e96ce5f3dbce5290a2281914275518c2)
- Added base implementations for "Settings" section of API docs. (f99430038c445655ac8f441f0afc010adb4dca23)
- Not fully released so implementation is barebones and in need of a nicer interface, blocked on full release.

## Changes
- `Client.dump_refresh_token` is now kwarg only, and now accepts a `file` kwarg, which controls if it dumps to a file or not. (c5a348eaeb1a650c5ddd3efc29b3cdd8a3899772)
- Reworked internals of `Client.update_tags` to use the new `Client.get_tags`. (f4dc77aab922e8a33537be09af80763a1d40171d)
- Internal change to how datetime strings are sent to MangaDex. (b9c964bcc97964b2146149469710d726bff54026)
- Flatten attributes `Manga.alternate_titles` and `Tag.descriptions` to one `LocalisedString` instead of a list of them. (278651f3bcc3397dcfe75b7ce5cf061a0227005d and 4a149d7c1b2373439a70b8779f9bab0fc28c44cf)
- Internal change to how the `limit` parameter works, now that `0` is an allowed minimum value. (6719705eb7a74fa09347b9bde7d8787a3aa5d3c3)
- Updated `hondana.types.Manga.MangaLinks` type to include missing keys and added descriptions. (1d205d09886985040a8c1d28356ba2c7298896f9)
- `Manga.status` is no longer nullable or null. (6f7e2905d9ba489f0f2537e664d3016e92bde027 and 2323c44b5aa75ea04e53abafd67b9b75d7833898)

## Fixes
- (#19) Rare case where `Manga.description` can `AttributeError` due to PHP-isms. (6bc91d03ca10052038397205e8bced35734434fe and e56e9ce7557c330fefb1bf9964608a6bad8048e3)
- Add extra layer of http request handling. (18434dcd3be880660828dd3d3503f74c926fe1de)
- (#21) `Chapter.scanlator_groups` would only return one instance, even if many were present. `Chapter.get_scanlator_groups()` filtered for the wrong type name, so would never return results. (45b54bfaff9f611e9c21fb3c582623ff8ec4505a)
- `Manga.localised_title` now checks the correct attribute, not a single element dict. (e364dc8ec617b386ff89e6d93ef9b532db42a4ee)

### Notes
- `Client.view_manga` method has been marked as deprecated in favour of `Client.view_manga` and will be removed in version 3.0. (588c2fdc2956db5435c2aa5792281d3a78ef7396)
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__ = "2.1.0"
__version__ = "2.1.1"

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=2, minor=1, micro=0, releaselevel="final", serial=0)
version_info: VersionInfo = VersionInfo(major=2, minor=1, micro=1, 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 = "2.1.0"
version = "2.1.1"
description = "An asynchronous wrapper around the MangaDex v5 API"
authors = ["Alex Nørgaard <[email protected]>"]

Expand Down

0 comments on commit c694b4f

Please sign in to comment.