Skip to content

Releases: Statcord/DisStat-npm

v1.0.0

20 Dec 18:04
Compare
Choose a tag to compare
  • Switch to new website & API
  • Implement events, check README for info on which are available
  • Increased test coverage

Full Changelog: v0.2.0...v1.0.0

v1.0.0-pre7

18 Dec 17:55
Compare
Choose a tag to compare
v1.0.0-pre7 Pre-release
Pre-release
  • Fixes some mixups with arguments for the "post" event
  • Fixed the used memory using the wrong function, resulting in a usually higher used than total value

Full Changelog: v1.0.0-pre6...v1.0.0-pre7

Note

No further changes to v1.0.0 are expected if all is going well.

v1.0.0-pre6

17 Dec 21:02
Compare
Choose a tag to compare
v1.0.0-pre6 Pre-release
Pre-release
  • Fix autopost data object key names being invalid for use with the new api
  • Removed "ready" event because it cannot work, just assume it's ready lol

Full Changelog: v1.0.0-pre5...v1.0.0-pre6

Note

The package and the API should be fully stable now.
There won't be further changes if everything goes as expected.

v1.0.0-pre5

17 Dec 20:37
Compare
Choose a tag to compare
v1.0.0-pre5 Pre-release
Pre-release
  • Fix this.emit() being undefined error
  • Fix custom graph data being an array causing an empty array instead of actual data to get posted

Full Changelog: v1.0.0-pre4...v1.0.0-pre5

v1.0.0-pre4

17 Dec 19:56
Compare
Choose a tag to compare
v1.0.0-pre4 Pre-release
Pre-release
  • Fix JSON parsing error when posting data successfully

Full Changelog: v1.0.0-pre3...v1.0.0-pre4

v1.0.0-pre3

17 Dec 19:50
Compare
Choose a tag to compare
v1.0.0-pre3 Pre-release
Pre-release
  • Rename "autopost" event to "autopostStart" to be less confusing
  • Fixed custom charts not posting without autoposting enabled

Full Changelog: v1.0.0-pre2...v1.0.0-pre3

v1.0.0-pre2

17 Dec 05:28
Compare
Choose a tag to compare
v1.0.0-pre2 Pre-release
Pre-release
  • Changed events to "ready", "autopost", "autopostError" and "autopostSuccess" (autopostError is new & autopostSuccess renamed)
  • Internal changes to reflect API changes for custom graphs

Full Changelog: v1.0.0-pre1...v1.0.0-pre2

v1.0.0-pre1

16 Dec 15:36
Compare
Choose a tag to compare
v1.0.0-pre1 Pre-release
Pre-release
  • Updated to use the new site at https://disstat.pages.dev
  • BREAKING: Replaced postEvent() with postCustom() to allow easier posting of other data
  • Note: postCommand() stays but accepts a new guildId parameter for more statistics on bot usage
  • BREAKING: Removed returnStats option from postStats(), this may return later
    • Backend doesn't support this option anymore, so the function would call getBot() itself
  • There are now events emitted before and after autoposting

Caution

This is a pre-release and there will be more breaking changes until the full v1.0.0 is released.

v0.2.0

31 May 11:43
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Full Changelog: v0.1.0...v0.2.0

  • Updates api url & routes
  • Adds autoposting
  • Adds getMyBots() and sync() functions

v0.1.0

09 Mar 17:47
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Initial release