Skip to content

Releases: Magmastream-NPM/magmastream

v2.8.6

23 Mar 18:03
d30d7d3
Compare
Choose a tag to compare

MagmaStream 2.8.6 - Release Notes

🔧 Fixes

  • Fixed player.setAutoplay(): Now correctly recognizes User and ClientUser.
  • Fixed ManagerEventTypes.PlayerDestroy(): No longer emits twice when a player is destroyed.
  • AutoPlay Improvements:
    • Now correctly uses the last played song instead of selecting an unrelated track.
    • AutoPlay now activates properly when reloading a player using manager.loadPlayerStates().
  • Fixed duplicate songs being added to player.queue.previous[].
  • Fixed replaceYouTubeCredentials() issue.
  • Resolved undefined properties:
    • player.isAutoplay is now properly defined.
    • player.queue.previous[0].track is no longer undefined on trackEnd.

Upgrade Notes:
This is a patch release with important bug fixes. No breaking changes were introduced.

🚀 How to Update:

pnpm update magmastream
# or
npm update magmastream
# or
yarn upgrade magmastream

v2.8.4

26 Feb 01:22
394e79f
Compare
Choose a tag to compare

MagmaStream 2.8.4 - Release Notes

Fixes

  • Fixed moveNode(): Now correctly moves the given player to a new node.
  • Improved loadPlayerStates():
    • Now fully saves player info, including filters, and reapplies them on successful reconnection.
    • Fixed an issue where the bot would disconnect from voice chat after calling loadPlayerStates(), ensuring it remains in the voice channel if restarted in time.

New Features & Enhancements

  • player.queue.previous is now an array:
    • Tracks previous songs instead of storing only one.
    • Can be limited using the new manager option: maxPreviousTracks: number.
  • Manual filter toggling: You can now enable/disable filters without needing to call .clearFilters().
  • Added Demon filter.
  • Improved bassBoost() filter:
    • Now accepts a numerical level instead of a simple on/off toggle.

Changes & Improvements

  • TrackUtils validation removed: Since all tracks are queued using manager.search() and trackUtils.build(), validation is no longer necessary.
  • Many functions are now Promises:
    • Functions like .disconnect(), .pause(), .setVolume(), .seek(), .stop(), and others now return Promises since they require a connection to the Lavalink REST API.
    • Make sure to update your code to await these functions where necessary!
  • Dependency updates: Bumped all dependencies to their latest versions.

v2.8.5

26 Feb 18:20
2f89657
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.2.8.4...v2.8.5

.

v2.8.2

10 Feb 17:45
c2260d1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.8.1...v2.8.2

v2.8.1

08 Feb 22:15
eb2b384
Compare
Choose a tag to compare

What's Changed

@SxMAbel:

  • Modify discord.js peer dependency to support versions 13.x and 14.x
  • Make handleShutdown method public in Manager
  • Add source name mapping for track creation to standardize source names

Full Changelog: v2.8.0...v2.8.1

v2.8.0

07 Feb 03:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.7.5...v2.8.0

v2.7.5

22 Jan 01:41
Compare
Choose a tag to compare

What's Changed

Full Changelog: v.2.7.4...v2.7.5

v.2.7.4

21 Jan 03:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.3...v.2.7.4

v2.7.3

20 Jan 01:41
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.2...v2.7.3

v2.7.2

18 Jan 04:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.1...v2.7.2