Changelog¶
v1.1¶
Added¶
Parameter
add_includestorequest()to automatically add the reference expansion parameters in as long as the user has the permissions required.- Methods that now expand references:
Changed¶
CustomList.fetch()no longer requires authentication if the list is a public list.The
CoverArt.mangaattribute will be assigned to the manga that owns the cover art, if it is created byManga.fetch().Parameters
volumeandchapter_numberofget_chapters()now accept a list of strings to select multiple volume/chapters.parse_relationships()will now make objects using the reference expansion data.
Fixed¶
VolumeAggregatewill correctly return values for null chapters.MangaAggregatewill correctly return values for null volumes.Fixed an issue where CoverArt instances did not correctly assign attributes.
v1.0¶
Changed¶
Pagerwill now throw exceptions when it is given too many parameters.HTTPException.responsemay beNone.HTTPExceptionis now a subclass ofaiohttp.ClientResponseError.request()will raiseHTTPException.ModelList.fetch_all()will usebatch_covers().
Deprecated¶
Fixed¶
Renamed
localestotranslatedLanguage.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
awaitcall 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
AttrDictwherehasattr()andgetattr()would raise KeyErrors.
Removed¶
Method
Chapter.get_page()Parameter
localesinChapterList.get()andChapterList.filter()Attribute
Manga.anilist_idAttribute
Manga.animeplanet_idAttribute
Manga.bookwalker_idAttribute
Manga.mangaupdates_idAttribute
Manga.novelupdates_idAttribute
Manga.kitsu_idAttribute
Manga.amazon_idAttribute
Manga.cdjapan_idAttribute
Manga.ebookjapan_idAttribute
Manga.myanimelist_idAttribute
Manga.raw_urlAttribute
Manga.english_translation_urlProperty
Manga.anilist_urlProperty
Manga.animeplanet_urlProperty
Manga.bookwalker_urlProperty
Manga.mangaupdates_urlProperty
Manga.novelupdates_urlProperty
Manga.kitsu_urlProperty
Manga.amazon_urlProperty
Manga.cdjapan_urlProperty
Manga.ebookjapan_urlProperty
Manga.myanimelist_urlMethod
Manga.__getattr__Method
Client.logged_in_user()
v0.5¶
Added¶
ChapterList.filter()has two new parameters:readandvolumes.ChapterList.get()has two new parameters:orderandlimit.Added permission checks to various methods.
Manga.__getattr__()Two new parameters on
logout():delete_tokensandclear_login_info
Changed¶
- Attributes converted to a
GenericModelList:
- Attributes converted to a
Pagerwill returnGenericModelLists (orMangaListif parametermodelisManga).The key in the dictionary returned by
TagDict.groups()is now aGenericModelList.parse_relationships()will now setGenericModelLists instead of normal lists.
Deprecated¶
MangadexClient.logged_in_user()Chapter.get_page()Parameter
localesforChapterList.get()Parameter
localesforChapterList.filter()
Fixed¶
Fixed a bug in
Pagerwhere 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¶
Pager.limitto limit total responses,Allow the creation of
Userobjects if the ID is in the base data dictionary.
Changed¶
Changed
download_chapter()so that directories are not created until all pages are retrieved.Moved
Chapter.get_page()toMangadexClient.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 theforcePort443parameter.
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.
- Methods added to
MangadexClient: logged_in_user()
- Methods added to
AttrDict.first()andDefaultAttrDict.first()
Changed¶
Manga.last_volumeandManga.last_chapterboth 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_chapterdid 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
hiatuson the MangaDex API.Fixed a typo on
Demographic.JOSEIwhere 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.ABANDONEDto 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:
tag_cacheinside ofMangadexClient
v0.1¶
The initial release of AsyncDex.