Releases: PokeAPI/pokedex-promise-v2
Releases · PokeAPI/pokedex-promise-v2
4.2.1
What's Changed
- Update to the latest api-data schema, which brings more documentation.
- In this update I've also spent a significant amount of time cleaning up an of duplicated interfaces and dangling types that weren't really needed, so the TS file is way more helpful and compact.
- Updated the dependencies and fixed some vulnerabilities that NPM was complaining about
- Added a bun lock file and ran the tests with it, it works really nicely I think, more testing is welcome
Full Changelog: 4.1.1...4.2.1
4.1.1
4.1.0
Core:
- Cleanup the code, reduces nesting with less ifs, it also checks for an array and not an object
- Update to the latest api-docs and made the necessary changes on the types generator to accomodate that
- Reject the promise on Getter error
Types:
- Overloads on all methods and callbacks, so if you pass an array it will know to return an array too
Tests:
- Changes the tests to use overloads
Chores:
- Update dependencies
- Bump version to 4.1.0
- Bump minimum node version to 14