Skip to content
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.

Latest commit

 

History

History
373 lines (321 loc) · 11.7 KB

changelog.rst

File metadata and controls

373 lines (321 loc) · 11.7 KB

Changelog

v1.1

Added

  • .UserFollowsMangaFeedListOrder
  • Parameter add_includes to .request to automatically add the reference expansion parameters in as long as the user has the permissions required.
  • .permission_model_mapping
  • Methods that now expand references:
    • .random_manga
    • .Author.fetch
    • .Chapter.fetch
    • .CoverArt.fetch
    • .CustomList.fetch
    • .Group.fetch
    • .Manga.fetch
    • .User.fetch
    • .batch_authors
    • .batch_chapters
    • .batch_covers
    • .batch_groups
    • .batch_mangas
    • .get_authors
    • .get_chapters
    • .MangadexClient.get_covers
    • .get_groups
    • .get_mangas
    • .ChapterList.get
    • .ClientUser.groups
    • .ClientUser.lists
    • .ClientUser.manga
    • .ClientUser.manga_chapters
    • .ClientUser.users
    • .CustomList.manga_chapters

Changed

  • .CustomList.fetch no longer requires authentication if the list is a public list.
  • The .CoverArt.manga attribute will be assigned to the manga that owns the cover art, if it is created by .Manga.fetch.
  • Parameters volume and chapter_number of .get_chapters now accept a list of strings to select multiple volume/chapters.
  • .parse_relationships will now make objects using the reference expansion data.

Fixed

  • .VolumeAggregate will correctly return values for null chapters.
  • .MangaAggregate will correctly return values for null volumes.
  • Fixed an issue where CoverArt instances did not correctly assign attributes.

v1.0

Added

  • .Relationship.COVER_ART
  • .CoverArt
  • .from_environment_variables
  • .from_config
  • .from_json
  • .get_cover
  • .batch_covers
  • .Manga.cover
  • MangadexClient.get_covers
  • .create_cover
  • .CoverListOrder
  • .parse_relationships can now parse .CoverArt models.
  • .CoverList
  • .Manga.covers
  • .ContentRating.NO_RATING
  • .MangaList.get_covers

Changed

  • .Pager will now throw exceptions when it is given too many parameters.
  • .HTTPException.response may be None.
  • .HTTPException is now a subclass of aiohttp.ClientResponseError.
  • .request will raise .HTTPException.
  • .ModelList.fetch_all will use .batch_covers.

Deprecated

  • .Group.chapters
  • .User.chapters

Fixed

  • Renamed locales to translatedLanguage.
  • Added the version to .Group.update.
  • Fixed a bug in .Pager.__anext__ that threw Exceptions if the server response was empty.
  • Fixed a bug where list orders were not being correctly applied.
  • Fixed a bug where trying to log in without a username and password but with a refresh token would make a network request.
  • Fixed an erroneous await call that would very rarely lead to exceptions.
  • Fixed a bug where a new refresh token would be fetched if the session token was None.
  • Fixed a bug where invalid session/refresh tokens would cause an infinite loop.
  • Fixed a bug where the refresh token and session token being invalid would cause a loop and result in an exception being raised.
  • Fixed a bug in .AttrDict where hasattr and getattr would raise KeyErrors.

Removed

  • Method Chapter.get_page()
  • Parameter locales in .ChapterList.get and .ChapterList.filter
  • Attribute Manga.anilist_id
  • Attribute Manga.animeplanet_id
  • Attribute Manga.bookwalker_id
  • Attribute Manga.mangaupdates_id
  • Attribute Manga.novelupdates_id
  • Attribute Manga.kitsu_id
  • Attribute Manga.amazon_id
  • Attribute Manga.cdjapan_id
  • Attribute Manga.ebookjapan_id
  • Attribute Manga.myanimelist_id
  • Attribute Manga.raw_url
  • Attribute Manga.english_translation_url
  • Property Manga.anilist_url
  • Property Manga.animeplanet_url
  • Property Manga.bookwalker_url
  • Property Manga.mangaupdates_url
  • Property Manga.novelupdates_url
  • Property Manga.kitsu_url
  • Property Manga.amazon_url
  • Property Manga.cdjapan_url
  • Property Manga.ebookjapan_url
  • Property Manga.myanimelist_url
  • Method Manga.__getattr__
  • Method Client.logged_in_user()

v0.5

Added

  • .ChapterList.filter has two new parameters: read and volumes.
  • .VolumeAggregate
  • .MangaAggregate
  • .TagDict.__repr__
  • .group_by_volumes
  • .group_by_numbers
  • .group_by_volume_and_chapters
  • .calculate_aggregate
  • .languages
  • .aggregate
  • .mark_read
  • .mark_unread
  • .toggle_read
  • .Chapter.get_read
  • .ChapterList.get_read
  • .id_map
  • .batch_manga_read
  • .ChapterList.get has two new parameters: order and limit.
  • .get_new
  • .ClientUser.manga_chapters
  • .MangaFeedListOrder
  • .ClientUser.manga
  • .ModelList
  • .GenericModelList
  • .ChapterList.fetch_all
  • .Chapter.read
  • .Manga.reading_status
  • .Manga.get_reading_status
  • .Manga.set_reading_status
  • .MangaList
  • .ClientUser
  • .MangadexClient.user
  • .PermissionMismatch
  • Added permission checks to various methods.
  • .CustomList
  • .get_list
  • .MangaLinks
  • .Manga.__getattr__
  • .Manga.update
  • .Manga.delete
  • .add_to_list
  • .remove_from_list
  • .Manga.follow
  • .Manga.unfollow
  • .TitleList.parts
  • .create_manga
  • .create_author
  • .Author.update
  • .Author.delete
  • .Group.update
  • .Group.delete
  • .create_group
  • .CustomList.manga_chapters
  • Two new parameters on .logout: delete_tokens and clear_login_info
  • .Captcha
  • .InvalidCaptcha
  • .solve_captcha
  • .MangadexClient.create
  • .MangadexClient.activate_account
  • .MangadexClient.resend_activation_code
  • .MangadexClient.reset_password_email
  • .MangadexClient.finish_password_reset

Changed

  • Attributes converted to a .GenericModelList:
    • .Chapter.groups
    • .Group.members
    • .Group.chapters
    • .Manga.tags
    • .Manga.authors
    • .Manga.artists
    • .User.chapters
  • .Pager will return .GenericModelLists (or .MangaList if parameter model is .Manga).
  • The key in the dictionary returned by .TagDict.groups is now a .GenericModelList.
  • .parse_relationships will now set .GenericModelLists instead of normal lists.

Deprecated

  • .MangadexClient.logged_in_user
  • .Chapter.get_page
  • Parameter locales for .ChapterList.get
  • Parameter locales for .ChapterList.filter

Fixed

  • Fixed a bug in .Pager where more items would be returned than the given limit.
  • Fixed a bug in .PathRatelimit.update that prevented a ratelimit from being applied correctly.
  • Fixed a bug in .User.__eq__ that returned False when the ClientUser was the same user as a given user.
  • Fixed a bug in .Manga.parse where chapters without a description would cause an exception to be raised.

v0.4

Added

  • .return_date_string
  • .download_all
  • .Pager.limit to limit total responses,
  • .Pager.as_list
  • .Tag.descriptions
  • .Tag.group
  • .TagDict
  • Allow the creation of .User objects if the ID is in the base data dictionary.
  • .Demographic.NONE
  • .OrderDirection
  • .TagMode
  • .AuthorListOrder
  • .ChapterListOrder
  • .GroupListOrder
  • .MangaListOrder
  • Methods added to .MangadexClient:
    • .get_groups
    • .get_chapters
    • .get_authors
    • .get_mangas
    • .report_page
    • .MangadexClient.close

Changed

  • Changed .download_chapter so that directories are not created until all pages are retrieved.
  • Moved .Chapter.get_page to .MangadexClient.get_page.

Fixed

  • Fixed .Pager.__anext__ so it does not need to complete all requests before returning the first batch of statements. This will drastically improve performance if all items aren't needed immediately (such as making further requests with returned data).
  • Fixed a bug where the chapter list would clear itself when filtered.
  • Fixed a bug where .download_chapter would not try again due to certain errors such as establishing a connection.
  • Fixed .Chapter.pages so it respects the forcePort443 parameter.

v0.3

Added

  • Added a ratelimit on the /at-home/server/{id} path to match the 5.0.2 release of the MD API.
  • Added a global ratelimit for 5 req/s to match the ratelimit set by the MD API.
  • .DuplicateResolutionAlgorithm
  • .Chapter
  • .ChapterList
  • .Group
  • .Manga.chapters
  • .Pager
  • .User
  • Methods added to .MangadexClient:
    • ~.get_chapter
    • ~.batch_chapters
    • ~.get_user
    • ~.logged_in_user
    • ~.ping
    • ~.convert_legacy
    • ~.get_group
    • ~.batch_groups
  • .AttrDict.first and .DefaultAttrDict.first
  • .Interval
  • .InclusionExclusionPair

Changed

  • .Manga.last_volume and .Manga.last_chapter both are now Strings.
  • Made all of the batch_* methods on the Client class parallel. This will speed up batch requests over the size of 100 items fivefold.

Fixed

  • .Manga.last_chapter did not account for floating point variables.
  • Changed .Model.__repr__ to properly show the delimiters for strings.
  • .MangadexClient.__aexit__ will now close the underlying session object.
  • Fixed a bug in .MangadexClient.request that prevented the use of non-string and non-iterable objects such as integers and floats.
  • Added a client-side fix for the incorrect spelling of the word hiatus on the MangaDex API.
  • Fixed a typo on .Demographic.JOSEI where the term "josei" was actually spelled "josel".
  • Added a message to .Unauthorized.
  • Fixed a bunch of places where requests are not properly closed.
  • Changed the value of MangaStatus.ABANDONED to match new API specifications.
  • Fixed a bug in the retry mechanism of .MangadexClient.request that added the parameters for a second time.

v0.2

Added

  • The 6 enums:
    1. .Demographic
    2. .MangaStatus
    3. .FollowStatus
    4. .ContentRating
    5. .Visibility
    6. .Relationship
  • .Missing
  • .InvalidID
  • Models:
    • .Model
    • .Manga
    • .Tag
    • .Author
  • ~.tag_cache inside of .MangadexClient
  • Methods to .MangadexClient:
    • ~.refresh_tag_cache
    • ~.get_tag
    • ~.get_manga
    • ~.random_manga
    • ~.batch_authors
    • ~.get_author
    • ~.batch_mangas
  • .DatetimeMixin
  • .TitleList
  • .AttrDict
  • .DefaultAttrDict
  • .copy_key_to_attribute
  • .parse_relationships

v0.1

The initial release of AsyncDex.