Changelog¶
v1.1¶
Added¶
Parameter
add_includes
torequest()
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.manga
attribute will be assigned to the manga that owns the cover art, if it is created byManga.fetch()
.Parameters
volume
andchapter_number
ofget_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¶
Changed¶
Pager
will now throw exceptions when it is given too many parameters.HTTPException.response
may beNone
.HTTPException
is now a subclass ofaiohttp.ClientResponseError
.request()
will raiseHTTPException
.ModelList.fetch_all()
will usebatch_covers()
.
Deprecated¶
Fixed¶
Renamed
locales
totranslatedLanguage
.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
wherehasattr()
andgetattr()
would raise KeyErrors.
Removed¶
Method
Chapter.get_page()
Parameter
locales
inChapterList.get()
andChapterList.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
andvolumes
.ChapterList.get()
has two new parameters:order
andlimit
.Added permission checks to various methods.
Manga.__getattr__()
Two new parameters on
logout()
:delete_tokens
andclear_login_info
Changed¶
- Attributes converted to a
GenericModelList
:
- Attributes converted to a
Pager
will returnGenericModelList
s (orMangaList
if parametermodel
isManga
).The key in the dictionary returned by
TagDict.groups()
is now aGenericModelList
.parse_relationships()
will now setGenericModelList
s instead of normal lists.
Deprecated¶
MangadexClient.logged_in_user()
Chapter.get_page()
Parameter
locales
forChapterList.get()
Parameter
locales
forChapterList.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¶
Pager.limit
to limit total responses,Allow the creation of
User
objects 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 theforcePort443
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.
- Methods added to
MangadexClient
: logged_in_user()
- Methods added to
AttrDict.first()
andDefaultAttrDict.first()
Changed¶
Manga.last_volume
andManga.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:
tag_cache
inside ofMangadexClient
v0.1¶
The initial release of AsyncDex.