Skip to content

v5.0.0

Compare
Choose a tag to compare
@Enet4 Enet4 released this 28 Apr 16:21

Changes

  • Node.js 10 is the minimum supported version for using and building on Node.
  • The library now requires ECMAScript 2015 support. This can be added through Babel and polyfills if necessary, but it should work out of the box on all modern browsers.
  • Public dependency superagent has been updated to v5.1.
  • remove the "dist" folder from the files field (the bundle was never intended to be included).

New

  • All asynchronous functions now return a Promise-like object, which can be used in async functions. Providing a callback is optional and still supported.
  • users namespace: methods to list, add, and remove users

Other

  • Fixed and improved TypeScript type definitions.