Skip to main content
Version: v2.9.2

๐Ÿ Changes in 2.9.2โ€‹

warning

โš ๏ธ 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.

tip

โœ… 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 update magmastream

โœจ New Features

New MagmaStreamError classโ€‹

  • Added a new MagmaStreamError class to handle and show errors more effectively.

New AnyMessage typeโ€‹

  • Added a new AnyMessage type to handle messages of the supported discord libraries.

New AnyUser typeโ€‹

  • Added a new AnyUser type 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โ€‹


โš–๏ธ 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.