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

Releases: crookedneighbor/habitica-node

v4.0.0

Choose a tag to compare

@crookedneighbor crookedneighbor released this 24 Jan 14:41

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

Choose a tag to compare

@crookedneighbor crookedneighbor released this 14 Oct 16:56

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

Choose a tag to compare

@crookedneighbor crookedneighbor released this 26 Sep 17:07

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

Choose a tag to compare

@crookedneighbor crookedneighbor released this 26 Sep 16:13

feat: Add beta method for sending chats

v3.0.0

Choose a tag to compare

@crookedneighbor crookedneighbor released this 23 May 14:01

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

Choose a tag to compare

@crookedneighbor crookedneighbor released this 16 Oct 19:18
v1.0.0

v0.6.0

Choose a tag to compare

@crookedneighbor crookedneighbor released this 16 Oct 17:32
v0.6.0

v0.5.1

Choose a tag to compare

@crookedneighbor crookedneighbor released this 11 Oct 14:33
0.5.1

v0.5.0

Choose a tag to compare

@crookedneighbor crookedneighbor released this 11 Oct 14:34
Version bump

v0.4.0

Choose a tag to compare

@crookedneighbor crookedneighbor released this 11 Oct 14:36
Version bump