Skip to content

Releases: AbstractUmbra/Hondana

2.2.0

19 Mar 21:10
Compare
Choose a tag to compare

API Version 5.5.7!

Hondana Changelog

Added

Changes

  • This release is purely an optimization change, all commits between the last release and now were purely for these reasons.

Fixes

Notes

Noted Contributors

@Axelancerr - cleaning up my bad grammar all year 'round.

2.1.2

19 Mar 12:22
Compare
Choose a tag to compare

API Version 5.5.7!

Hondana Changelog

Added

Changes

Fixes

  • ScanlatorGroup.publish_delay is now (correctly) Optional. (2ae4806)
  • New utility added and utilised for sending datetimes to mangadex. It now cleans and coverts them to UTC from aware timezones. (11ff668)
  • Cover.url now supports passing a parent manga id, as it is generally a "sub-relationship" meaning it has no relationships to parse for the parent manga. (802795d)

Notes

  • Client.view_manga method has been marked as deprecated in favour of Client.view_manga and will be removed in version 3.0. (588c2fd)
  • Due to this being a fix release, there is some pending internal changes that are not fully implemented across the board.

Noted Contributors

@Axelancerr - cleaning up my bad grammar all year 'round.

2.1.1

17 Mar 12:30
Compare
Choose a tag to compare

API Version 5.5.7!

Hondana Changelog

Added

  • Added Client.check_username_available method as per the new endpoint. (9dee5bc)
  • Added base implementations for "Settings" section of API docs. (f994300)
    • Not fully released so implementation is barebones and in need of a nicer interface, blocked on full release.

Changes

  • Internal change to how the limit parameter works, now that 0 is an allowed minimum value. (6719705)
  • Updated hondana.types.Manga.MangaLinks type to include missing keys and added descriptions. (1d205d0)
  • Manga.status is no longer nullable or null. (6f7e290 and 2323c44)

Fixes

Notes

  • Client.view_manga method has been marked as deprecated in favour of Client.view_manga and will be removed in version 3.0. (588c2fd)

2.1.0

15 Mar 20:10
Compare
Choose a tag to compare

API Version 5.5.6!

Hondana Changelog

Added

  • hondana.Relationship type was added as a container type to relationship keys in payloads. (684447e)
  • Added .relationship property to all relevant types to use the new Relationship container. (8d2c758)
  • Manga.raw_description property added to access raw payload to resolve #20. (d1b5a98)
  • Manga.localized_title and Manga.localized_description locale alternative methods. (2b10910)
  • (#18) Mostly internal change with how collection types work from the API. Mostly XFeed classes. Also add a .items() method to these. (f8cf30d)
  • Add missing fan_box attribute on Author and Artist. (7ab0ef0)
  • Expose Manga.alt_titles. (dbae6ae)
  • Added missing attributes of ScanlatorGroup as well as a new util for creating string formats that MangaDex accepts for publish delays. (2d15d9c)
  • First attempt at a testing suite for the library. (1755fff)

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. (c5a348e)
  • Reworked internals of Client.update_tags to use the new Client.get_tags. (f4dc77a)
  • Internal change to how datetime strings are sent to MangaDex. (b9c964b)
  • Flatten attributes Manga.alternate_titles and Tag.descriptions to one LocalisedString instead of a list of them. (278651f and 4a149d7)

Fixes

  • (#19) Rare case where Manga.description can AttributeError due to PHP-isms. (6bc91d0 and e56e9ce)
  • Add extra layer of http request handling. (18434dc)
  • (#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. (45b54bf)
  • Manga.localised_title now checks the correct attribute, not a single element dict. (e364dc8)

Notes

  • Client.view_manga method has been marked as deprecated in favour of Client.view_manga and will be removed in version 3.0. (588c2fd)

2.0.12

11 Mar 08:41
Compare
Choose a tag to compare

API Version 5.5.6!

Hondana Changelog

Added

  • hondana.Relationship type was added as a container type to relationship keys in payloads. (684447e)
  • Added .relationship property to all relevant types to use the new Relationship container. (8d2c758)

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. (c5a348e)
  • Reworked internals of Client.update_tags to use the new Client.get_tags. (f4dc77a)

Fixes

  • Rare case where Manga.description can AttributeError due to PHP-isms. (6bc91d0)
  • Add extra layer of http request handling. (18434dc)

Notes

  • Client.view_manga method has been marked as deprecated in favour of Client.get_manga and will be removed in version 3.0. (588c2fd)

2.0.11

05 Mar 20:20
Compare
Choose a tag to compare

API Version 5.5.6!

Hondana Changelog

Added

  • Add Client.get_manga method to be more consistent with the rest of the Client methods, see notes below. (588c2fd)

Changes

Fixes

Notes

  • Client.view_manga method has been marked as deprecated in favour of Client.get_manga and will be removed in version 3.0. (588c2fd)

2.0.10

03 Mar 09:50
Compare
Choose a tag to compare

API Version 5.5.6!

Hondana Changelog

Added

  • Added content_rating kwarg to Client.get_random_manga(). (2f6f018)

Changes

Fixes

  • Types of MangaStatistics.average were wrong, this has been corrected. (Thanks Pokestar) (fee0a49)

Notes

2.0.9

23 Feb 21:33
Compare
Choose a tag to compare

API Version 5.5.4!

Hondana Changelog

Added

Changes

Fixes

  • version kwarg in Manga.submit_draft and Client.submit_manga_draft is now required. (c430eee)
  • Client.get_manga_statistics and Client.find_manga_statistics does not require auth. (9f1d6df)
  • Cleanup some issues in the use_logging.py example. (fd4e419)
  • Types of MangaStatistics.distribution were wrong, this has been corrected. (Thanks Pokestar) (2b34ad1)

Notes

2.0.8

21 Feb 15:25
Compare
Choose a tag to compare

API Version 5.5.3!

Hondana Changelog

Fix release.

Added

  • Manga.available_translated_languages was added, a list of LanguageCode this manga has chapters translated for. (f26e49f)

Changes

Fixes

Notes

2.0.7

20 Feb 18:29
Compare
Choose a tag to compare

API Version 5.5.2!

Hondana Changelog

Fix release.

Added

Changes

  • Added __repr__ to more objects for clarity if required. (d154ee2)
  • Rework exceptions internally because of DRY. (3eeb9fe)
  • Exceptions now have a .errors attribute that is a list of Error sentinel types for ease of readability and access. (3eeb9fe)
  • Add response_id attribute to Exceptions and add notes on their use in reporting errors to MangaDex. (a8af0d5)
  • Added some notes to example and docs about using DEBUG level logging. (e26072c)
  • Performance change for Manga.tags where the property doesn't exist until accessed. (24cf178)
    • The above opens us up for further changes to these things where an objects creation would be less performance.

Fixes

  • Some typos in docs. (6265e8b)
  • Actually create the enum type in Manga.__init__. (33d2517)
  • Token refresh datetime math was a little off, this has been fixed and renamed for ease of understanding. (fae516a)

Notes