Releases: ejnshtein/mangadex-api
Releases · ejnshtein/mangadex-api
Release list
v5.0.1
V5 stable release
Notable changes from API V4:
- ID type is now string type, instead of a number.
To convert types from old (numbers) to new (strings) useMangadex.converLegacyIdmethod. - Authentification has changed as well.
Now to login to your account, create a clientconst client = new Mangadex()and then callclient.auth.login(username, password)method to login, instead ofclient.agent.
See examples in readme. - Some APIs I'm unable to test, like Manga.create, since I don't have permissions, so those APIs are considered unstable and if you have permission to create manga, upload covers and so on, please report how those APIs are working, open an issue, this always helps!
Still WIP, but you can start switching to this version!
v4.6.4
What's New
- Removed
nameproperty fromPartialMangatype as it was deprecated at the start of February. - Fixed
Agent.callApicalling on the old endpoint, now it's using the default one if it's not overridden by the user. - Default options are now located in the file
src/lib/options. - Fixed
deepmergeutility setting properties on the original target, instead of a copied one.
Bug Fixes
Updated MD-API schema
Updated MD-API schema, mainCover field is now available on UserManga type, FollowedPartialManga type was removed since it has the same type structure as UserManga.
Added deprecation notice for PartialManga.name option, NSFW search example for docs
Added deprecation notice for PartialManga.name option, NSFW search example for docs.
New schema, NSFW search support and more.
What's new
- Typings were updated to version of 11.01.2021 (announcement post)
[WARNING] Devs will remove name field in future updates from /user/:id/followed-updates endpoint. I will release patch for it as well, but both fields, title and name, will remain in typings for now. - Added a new method to user API: setHomepageSettings.
It controls these settings from MD homepage:- Site theme
- User interface language
- Hentai mode
- Added support for NSFW enabling/disabling in search results. #26
To enable NSFW results set with_hentai option to true in search query.
Breaking changes
- Default API endpoint is now api.mangadex.org/v2. Old endpoint (mangadex.org/api/v2/) will be removed by February so it's recommended to update endpoint URL for older mangadex-api versions or update to the latest version.
v4.5.1
v4.5.0
Daily tests, cheerio fix & update
- Cheerio was updated to the latest release candidate version.
Looks like they start working on library development and with this update, you can no longer use cheerioChildren node in cheerio.load which broke Home page parsing. Now everything should be fine. - Added daily test workflow.
To be sure that the current library schema is up-to-date with MD-API schema tests workflow was added. If the schema is out of date we'll get notified in Telegram chat.
v4.4.1
Restructure readme, added some examples and notes about mangadex-heroku, add engines property in package.json.