Releases: lavaclient/lavaclient
Releases · lavaclient/lavaclient
🎉 Lavaclient v4
4th major version of lavaclient is here!
Major Changes
- The Manager class no longer exists, please use one of Cluster or Node.
- The Plugin class have been removed.
- The Structures class have been removed.
- The Filters class has been removed, use
Player#filtersandPlayer#setFilters() - A dedicated REST class has been added.
- Possibly smaller than v3??!!
Stuff I've fixed that people have been complaining about
- Very poor node reconnecting.
pretty sure that's it lol, oh and it was like remade from the ground up!
Filters
- (
7a1d74c) Added a filters class for the upcoming versions of lavalink. - (
2ca72de) Added a second parameter toManager#create, "socket" (suggested by @Jade3375) - (
2ca72de) Reworked the way discord voice updates are handled, instead of two methods, it's just one. - (
6d1c3cd) Made payloads sync, no more promises........... might be reverted in future versions.
Version 3.1.0
Big Update!
- Rewrote the Socket, Reworked resuming, and reconnecting options. Reworked the payload queue.
- Added
Player#move, which allows for moving the player to another node. - Added the option to omit the port and password (defaults to
"youshallnotpass"). - Added the option to use ssl (
httpsandwss).
Quality-Of-Life Update
- Made
host,port, andpasswordoptional... defaulting tolocalhost,2333, andyoushallnotpass - Change the way the ideal node accessor works.
- Added
Socket#penalties - Changed the way sending of messages works: instead of adding to a queue if the node isn't connected, it adds to a queue regardless but... it uses
Socket#{flush -> checkQueue}instead. socketDisconnectno longer exists
Version 3.0.10 (woot)
The woot update xd
- Added statically typed events for the Manager and Player
- Re-added Player#send to reduce reiteration of this.socket.send
- Made Manager#create synchronous
- Removed typedoc stuff
- Remade the tsconfig.json for a more strict code style.
there's probably more but I forgot... OH YEAH NEW FUCKING DOCS MMMMMM: https://lavaclient.github.io/ (and I actually might've forgot shit
lavaclient.js.org isn't available due to js.org being on a "summer break"
Version 3.0.7
Added some new stuff, mostly cleaning up code and removing random elements.
- Made the README have a center-aligned header and badge section
- Added a section that showcases the bots that make use of lavaclient.
- Added an Eris Setup Guide.
- Added searching and playing music guide.
More Code Related:
- major Removed the option for auto-connecting
- minor Added the option to remove the player from the player map when using Player#disconnect
- major Added Manager#search so the rest plugin is now for extra functionality.
- minor Added Player#manager getter.
- minor Added Player#connected getter.
there's probably more that I forgot.