Skip to content

v1.0.3

Compare
Choose a tag to compare
@TTTaevas TTTaevas released this 22 Apr 15:39
· 3 commits to master since this release

New release! Here's what's different from the previous version:

  • Versions of Node.js 16 and more are now explicitly supported while versions 15 and below are explicitly unsupported
  • APIError now provides the method used for the request
  • The method used for a request is now logged (when API.verbose is set to all)
  • Introduce API.withSettings() and the ChildAPI class (#34)

To not go technical about it, the introduction of API.withSettings() means you're now able to cancel any request by providing your own AbortSignal! ChildAPI is essentially what makes it possible behind the scenes

As always, the documentation should be able to help you if you wish to use this newly introduced feature!

Full Changelog: v1.0.2...v1.0.3