This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
Releases: crookedneighbor/habitica-node
Releases · crookedneighbor/habitica-node
v4.0.0
Breaking Changes
- Removed most helper methods. This module is now just a thin wrapper around the API so the instance exposes
get
,post
,put
, anddel
methods. Theregister
method still exists. login
renamed tolocalLogin
- Requires
Promise
object. If using in an environment that does not have aPromise
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
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
Breaking Changes
- Removed most helper methods. This module is now just a thin wrapper around the API so the instance exposes
get
,post
,put
, anddel
methods. Theregister
method still exists. login
renamed tolocalLogin
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
feat: Add beta method for sending chats
v3.0.0
Changes
- Update dependencies
- Update routes to use v3 of Habitica's API
- Fix bug where setCredentials was not updating correctly
Breaking Changes
- V3 of Habitica's API dropped support for non-UUID custom ids. If you were using the score route with a custom id, you will receive a task not found error.
v1.0.0
v1.0.0
v0.6.0
v0.6.0
v0.5.1
0.5.1
v0.5.0
Version bump
v0.4.0
Version bump