Releases: Statcord/DisStat-npm
Releases · Statcord/DisStat-npm
v1.0.0
- 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
- 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
- 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
- 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
- Fix JSON parsing error when posting data successfully
Full Changelog: v1.0.0-pre3...v1.0.0-pre4
v1.0.0-pre3
- 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
- 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
- Updated to use the new site at https://disstat.pages.dev
- BREAKING: Replaced
postEvent()
withpostCustom()
to allow easier posting of other data - Note:
postCommand()
stays but accepts a newguildId
parameter for more statistics on bot usage - BREAKING: Removed
returnStats
option frompostStats()
, this may return later- Backend doesn't support this option anymore, so the function would call
getBot()
itself
- Backend doesn't support this option anymore, so the function would call
- 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
Full Changelog: v0.1.0...v0.2.0
- Updates api url & routes
- Adds autoposting
- Adds getMyBots() and sync() functions
v0.1.0
Initial release