Skip to content

v2.0.0

Compare
Choose a tag to compare
@TTTaevas TTTaevas released this 19 May 12:18
· 5 commits to master since this release
b8026d1

There are breaking changes, and from this version onwards, you will be required to add "type": "module" to your package.json

Changes:

  • APIErrors are now thrown instead of being returned, meaning the API's functions will always return what's desired (if anything is returned)
  • APIErrors now also have the server, endpoint and parameters that were used in the request that triggered it
  • The API's verbose is now more customizable, it is set to none by default, and can be set to errors or all (used to be a boolean set to false by default)
  • All enums are now UPPERCASED for the sake of consistency
  • api.getReplay() has been changed, documentation about it has consequently been updated

Full Changelog: https://github.com/TTTaevas/osu-api-v1-js/pull/42/commits