Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Releases: crookedneighbor/habitica-node

v4.0.0

24 Jan 14:41
Compare
Choose a tag to compare

Breaking Changes

  • Removed most helper methods. This module is now just a thin wrapper around the API so the instance exposes get, post, put, and del methods. The register method still exists.
  • login renamed to localLogin
  • Requires Promise object. If using in an environment that does not have a Promise object, it must be polyfilled
  • Drop support for Node < v4

Features

  • Errors are handled more sanely
  • Can set platform (defaults to Habitica-Node)
  • Can set a universal error handler for all requests
  • Top level routes now supported. IE, hitting the /export endpoint will not automatically prefix /api/v3 to the request

v4.0.0-beta.2

14 Oct 16:56
Compare
Choose a tag to compare

Breaking Changes

  • Module no longer includes a promise polyfill. If you are using the module in a context that does not support Promises (old versions of Node or old browsers), you must polyfill it yourself before using the module.
  • Connection endpoint now defaults to url without a trailing /
  • User-Agent is no longer set with provided platform (as using in a browser context was throwing errors)

Features

  • Top level routes now supported. IE, hitting the /export endpoint will not automatically prefix /api/v3 to the request

v4.0.0-beta.1

26 Sep 17:07
Compare
Choose a tag to compare

Breaking Changes

  • Removed most helper methods. This module is now just a thin wrapper around the API so the instance exposes get, post, put, and del methods. The register method still exists.
  • login renamed to localLogin

Features

  • Errors are handled more sanely
  • Can set platform (defaults to Habitica-Node)
  • Can set a universal error handler for all requests

v3.1.0

26 Sep 16:13
Compare
Choose a tag to compare

feat: Add beta method for sending chats

v3.0.0

23 May 14:01
Compare
Choose a tag to compare

Changes

  • Update dependencies
  • Update routes to use v3 of Habitica's API
  • Fix bug where setCredentials was not updating correctly

Breaking Changes

v1.0.0

16 Oct 19:18
Compare
Choose a tag to compare
v1.0.0

v0.6.0

16 Oct 17:32
Compare
Choose a tag to compare
v0.6.0

v0.5.1

11 Oct 14:33
Compare
Choose a tag to compare
0.5.1

v0.5.0

11 Oct 14:34
Compare
Choose a tag to compare
Version bump

v0.4.0

11 Oct 14:36
Compare
Choose a tag to compare
Version bump