Skip to content

Latest commit

 

History

History
270 lines (144 loc) · 16.7 KB

File metadata and controls

270 lines (144 loc) · 16.7 KB

Changelog

5.4.1 (2026-08-28)

Bug Fixes

  • VoiceManager: correct when voice connect/disconnect events should emit (9ec8a47)

5.4.0 (2026-08-25)

Features

  • VoiceManager: rework voice update handling (#106) (d5ef0a0)
  • VoiceManager: emit disconnect event instead of destroying (d5ef0a0)
  • VoiceState: add 'joined' prop and reconnect() method (d5ef0a0)
  • QueueManager: finish queue with reason instead of destroying (d5ef0a0)
  • Typings: add 'QueueEndReason' enum and missing complementary types (d5ef0a0)

5.3.0 (2026-07-26)

Features

  • FilterManager: add 'current' prop for active filters (#93) (82cd748)

Bug Fixes

  • NodeManager: sort nodes without stats last in relevant() (#92) (78900aa)

5.2.0 (2026-07-12)

Features

5.1.0 (2026-06-23)

Features

  • Player: make init nodes optional (#72) (a714371)
  • Player: optional 'nodes' param for init() (a714371)

5.0.0 (2026-06-06)

⚠ BREAKING CHANGES

  • Plugins: all built-in plugins have been removed
  • Plugins: enforce structure via interface instead of class (#68)

Features

  • Functions: add isPlugin() for plugin validation (e2e2718)
  • Plugins: enforce structure via interface instead of class (#68) (e2e2718)

4.7.0 (2026-05-18)

Features

  • Managers: expose queue and voice manager caches (#65) (8468a73)
  • Queue: typed track user data param for 'add' methods (#63) (aa7bb18)

4.6.2 (2026-05-09)

Bug Fixes

4.6.1 (2026-04-16)

Bug Fixes

  • VoiceRegion: use stats interval from default node options (#51) (4c91117)

4.6.0 (2026-04-06)

Features

  • QueueManager: new arg 'inQueue' for track events (62ad965)
  • QueueManager: prefer local track objects in events (#48) (62ad965)

4.5.0 (2026-03-23)

Features

  • VoiceRegion: add forgetAllNodes() method (ebf4357)
  • VoiceRegion: improve latency based node selection (#46) (ebf4357)

Bug Fixes

  • QueueManager: do not add ineligible queue load to node in relocate() (#44) (8d11e02)

4.4.0 (2026-03-16)

Features

  • QueueManager: account for different loads in relocate() (00445b3)
  • QueueManager: improve sync and relocate methods (#42) (00445b3)

Bug Fixes

  • QueueManager: make relocate() send requests sequentially (00445b3)
  • QueueManager: make remote sync() send requests sequentially (00445b3)

4.3.0 (2026-03-06)

Features

  • VoiceCloseCodes: add enum for DAVE protocol required (5891b91)

Bug Fixes

  • REST: format error response correctly (584aea9)

4.2.0 (2026-02-28)

Features

  • voice: include channelId required for DAVE (#34) (782d686)

4.1.0 (2026-02-25)

Features

  • HttpStatusCode: add some http status codes (d9c88bf)
  • Queue: add 'clear' method (4f0f32c)
  • RequestOptions: add 'headers' field (d9c88bf)
  • REST: replace axios with native fetch (#35) (d9c88bf)

Bug Fixes

  • FilterManager: use object has-own instead of 'in' for has() (1f8fac9)
  • LavaLyrics: mark plugin name as readonly (7d31e17)
  • NodeManager: prevent deletion of nodes with active queues (ccff57d)
  • Queue: allow remove() to remove current track if queue is stopped (71af92d)

4.0.0 (2026-02-19)

⚠ BREAKING CHANGES

  • Plugins: improve event system (#32)

Features

  • Plugins: improve event system (#32) (3bdbd90)
  • types: add commonly used augmentable types (#31) (f211709)

Bug Fixes

  • isArray: no implicit non-empty check when check is a predicate (#29) (547006a)

3.0.0 (2026-02-15)

⚠ BREAKING CHANGES

  • typings and queue sync (#27)

Bug Fixes

2.1.0 (2026-02-15)

Features

  • Player: add options to toggle queue sync and relocation (ef33034)
  • queue sync and relocation options (#26) (ef33034)
  • Queue: implement sync method (ef33034)
  • QueueManager: implement sync and relocate methods (ef33034)
  • VoiceState: new property for 'disconnected' state (#25) (4fb06a0)

Bug Fixes

  • Node: prevent immediate connect on initial failure (#23) (3d5bd22)

2.0.1 (2026-02-04)

Bug Fixes

  • Queue: do not construct if one already exists (5eb1036)

2.0.0 (2026-02-03)

⚠ BREAKING CHANGES

  • Plugins: better plugin system (#11)
  • Player: removed relocateQueues option (e5077c2)
  • Player: removed nodes and plugins from instance options (e5077c2)
  • Player: renamed initialized property to ready (e5077c2)
  • REST: removed retryLimit option (e5077c2)
  • REST: removed request queue and dropSessionRequests() (e5077c2)
  • Node: removed handshakeTimeout property (e5077c2)
  • FilterManager: removed data property (e5077c2)
  • QueueManager: removed cache and relocate() (e5077c2)
  • VoiceManager: removed cache property (e5077c2)
  • VoiceManager: removed queue auto-destroy feature on guild/channel delete (e5077c2)
  • NodeManager: removed queue auto-relocation feature on close/disconnect (e5077c2)
  • VoiceRegion: removed nodes property (e5077c2)
  • VoiceRegion: getAveragePing() now returns null for insufficient data (e5077c2)
  • VoiceState: removed valid, sessionId, token, endpoint, muted, deafened, and reconnect() (e5077c2)

Features

  • Plugins: better plugin system (#11) (e0a791e)
  • Player: autoInit option to control initialization (e5077c2)
  • REST: directly usable common http methods (#16) (0415148)
  • Node: reconnectLimit can now be an integer, 0 for none, positive for limit, negative for no limit (e5077c2)
  • Node: exposed reconnectLimit property (e5077c2)
  • NodeManager: exposed metrics and supports() (e5077c2)
  • REST: exposed baseUrl and userAgent properties (e5077c2)
  • FilterManager: included pluginFilters as a valid filter key (e5077c2)
  • FilterManager: added clear filter types native and plugin for clear() (e5077c2)

Bug Fixes

  • Node: record timestamp before sending ping (#15) (b510b3c)
  • Node: persist sessionId when reconnecting (e5077c2)
  • Playlist: mandate track(s) in raw api data (e5077c2)

1.3.0 (2025-11-14)

Features

  • Node: immediate connect attempt before reconnect cycle (#8) (d5ee6b5)

Bug Fixes

  • VoiceRegionIdRegex: redos vulnerability (#10) (4188355)

1.2.1 (2025-10-19)

Bug Fixes

  • FilterManager: do not allow getting pluginFilters (#6) (446538c)
  • voice: do not destroy on arbitrary close codes (#4) (d11225e)

1.2.0 (2025-10-09)

Features

  • auto-destroy player on guild or channel delete (#2) (20398ad)