Releases: EMACC99/mangadex
Finally an update!
First of all a big shoutout to @lasersPew for the work on this release.
This release includes some improvements and fixes that were implemented but never pushed or resolved. It also had a partial rewrite and refactoring of the code, not much is going to change in the usage of the wrapper but make sure to re read the new documentation to see what methods changed.
I will try to be more consistent with releases and the maintenance of this package in the future
Fixed __future__ must be at beginning of file
There was an issue mentioned in #12 and #13, that caused a syntax error, while this was fixed in the repo, this fix didn't make it to the PyPI probably causing the package was not usable. This release is meant to push the fix to the PyPI so the package continues to be usable.
Full Changelog: v2.5.1...v2.5.2
2.5.1
Model refractoring for ease of use and reading
In this release, the models have been refactored in a way that the alternate constructors are now @classmethods
and now more easy to read and the definition of now public and private methods are well defined. An important change to note is that some arguments have changed, all the ids are now something like: manga_id
, user_id
, etc. This si to avoid conflict with the reserved keyword id
n python and to have a more self-explanatory code.
PyPI stuff
I need to create this release as a pypi error keeps popping up
Improvements and error fixing
In this release,the function get_customlist_mangafedd() is no longer supported.
ApiError now has a more detailed error message.
KeyError exceptions were found in some other functions that no issues were open for.
This all was spotted because of the increased tests that were implemented recently.
As always if you want to contribute, you can do so by opening an issue o doing a PR.
KeyError fixing
Fixed KeyError reported in #11. This is a minor release but contains an urgent bug fix. Doing some investigations, it seems this error was caused by some changes in the server response, nothing too serious.
Correct parameter url parsing for some arguments
There were some arguments, like translatedLangauge
as pointed in #8, that were incorrectly handled, this caused that the API returned a bad request, which was due to some bad parameter parsing on the code. This not only affected the chapter_list()
function but others that had the translatedLangauge
parameter
Some other fixes and improvements include:
- Fixed a typo where scanlation was spelt sacanlation
- Updated the relations in the manga model. This was because they were in a different place in the JSON returned by the API
That's all for this release. As always, feel free to contribute by making suggestions, pull requests or submitting issues.
Key errors fixed
This release fixes some key errors generated by the functions get_manga_list()
and scanlation_group_list()
. This errors were present because of some minor changes to the API response
Account creation and Recovery
This release introduces the following
- Account creation
- Account activation
- Resend activation code
- Recover account
- Complete account recover
Also, there was some bug fixing and typos as well as completed the typed hints