๐ Changes in 2.9.2โ
โ ๏ธ If you are using a version lower than 2.9.0, please refer to upgrade guide to 2.9.0 first, as v2.9.0 is the major release containing the braking changes. Please update your code accordingly.
โ Patch release with important fixes and small feature improvements. No breaking changes introduced.
Hello, here you will find information on what has changed and what you need to change when upgrading to version 2.9.2.
๐ ๏ธ How to update?โ
- npm
- pnpm
- yarn
npm update magmastream
pnpm update magmastream
yarn upgrade magmastream
โจ New Features
New MagmaStreamError classโ
- Added a new MagmaStreamError class to handle and show errors more effectively.
New AnyMessage typeโ
- Added a new
AnyMessagetype to handle messages of the supported discord libraries.
New AnyUser typeโ
- Added a new
AnyUsertype to handle users of the supported discord libraries.
New optional parameter for previous()โ
- Added a new optional parameter for previous() to add the current playing track when skipping to the previous song back to the top of the queue.
New TTS search platformโ
- Added a new TTS search platform to play text-to-speech.
โ๏ธ Fixes & Improvements
Requesterโ
Requester property on track is not optional.
setVolume()โ
Fixed setVolume method to enforce a volume range of 0-500 when applyVolumeAsFilter is enabled, and to send the correct normalized value to the filters
Serializationโ
Fixed the player state serialization in PlayerUtils to improve track and requester handling, and updated Manager to use the new serialization logic.
Restoring playersโ
Fixed the player state restoration in Manager to improve track timing when restoring the players.
stop()โ
Fixed the stop() method to ensure that skipped songs are treated as "previous" songs.
artworkUrlโ
Fixed the artworkUrl property to be nullable.
displayThumbnail()โ
Fixed the displayThumbnail() method to be nullable.
๐ฌ Questions?โ
Join our Discord โ we're happy to help.