Mangadex Api Versions Save

Mangadex api wrapper for Node.js

v5.0.1

2 years ago

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) use Mangadex.converLegacyId method.
  • Authentification has changed as well. Now to login to your account, create a client const client = new Mangadex() and then call client.auth.login(username, password) method to login, instead of client.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

3 years ago

What's New

  • Removed name property from PartialManga type as it was deprecated at the start of February.
  • Fixed Agent.callApi calling 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 deepmerge utility setting properties on the original target, instead of a copied one.

v4.6.3

3 years ago

This release contains bugfixes that caused incorrect search result parsing for views and follows. #28

v4.6.2

3 years ago

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.

v4.6.1

3 years ago

Added deprecation notice for PartialManga.name option, NSFW search example for docs.

v4.6.0

3 years ago

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

3 years ago

Bug Fixes:

  • Fixed handling for chapters without pages in them (because the actual chapter is located on another service). #27

v4.5.0

3 years ago

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

3 years ago

Restructure readme, added some examples and notes about mangadex-heroku, add engines property in package.json.

v4.4.0

3 years ago

New stable release!

TSConfig target was updated to ES2018 which results in reduced packages size. (Well, 99.8kb -> 95.7kb is better than nothing) Also the minimum supported Node.js version now is 12.