This repository has been archived by the owner on Oct 1, 2022. It is now read-only.
Releases: zekroTJA/yuri2
Releases · zekroTJA/yuri2
2.1.0
Attention: Some changes in this version require a new structure of the main config file. Please use the example config to update your config or create a new one by starting the bot with a different configuration file passed.
Front End
Back End and Discord Front End
- add loading sounds from multiple directories
- add permission control via Discord roles
- add rate limiting for REST and web socket API
API
-
add
GET /api/admin/stats
REST endpoint -
add
GET /api/admin/soundstats
REST endpoint -
add
POST /api/admin/restart
REST endpoint -
add
POST /api/admin/refetch
REST endpoint -
add
GET /api/favorites
endpoint for getting favorites -
add
POST /api/favorites/:SOUND
endpoint for adding favorites -
add
DELETE /api/favorites/:SOUND
endpoint for removing favorites -
append
admin
property to WSHELLO
Minor and Code Structure Changes
- prettify frontend JS files with prettier
- optimize frontend JS code
- update API docs
Bug Fixes and Improvements
- fix missing error messages on showing log and stats in front end
- add scroll to top on error in front end
- some other minor changes and fixes