Skip to content

Latest commit

 

History

History
563 lines (308 loc) · 30.5 KB

CHANGELOG.md

File metadata and controls

563 lines (308 loc) · 30.5 KB

2.0.5 (2024-01-20)

Bug Fixes

  • remove vulnerable dependencies (f4c8fd3)

2.0.4 (2023-12-10)

Bug Fixes

2.0.3 (2023-11-29)

Bug Fixes

2.0.2 (2023-10-03)

Bug Fixes

2.0.1 (2023-07-29)

Bug Fixes

2.0.0 (2023-06-13)

Make sure to read the version 2 migration guide.

Bug Fixes

  • engines: remove unnecessary array for search method (#17) (503ab0b)

chore

Features

BREAKING CHANGES

  • engines: Changed type PlayerEngine and all pre-built engines (youtube, spotify and file) to return SearchResult|null instead of SearchResult[]. The previous return value just wrapped the search result into an array so its length was always 1. Thats why it has been changed.
  • engines: player.search() now returns SearchResult|null instead of SearchResult[]
  • bump min required version of @discordjs/opus from 0.5.1 to 0.8.0
  • bump min required version of discord.js from 14.5.0 to 14.8.0

2.0.0-rc.2 (2023-06-13)

Bug Fixes

  • downgrade music-metadata to support commonjs (#23) (039a29e)

2.0.0-rc.1 (2023-05-14)

Bug Fixes

  • engines: remove unnecessary array for search method (#17) (503ab0b)

chore

Features

BREAKING CHANGES

  • engines: Changed type PlayerEngine and all pre-built engines (youtube, spotify and file) to return SearchResult|null instead of SearchResult[]. The previous return value just wrapped the search result into an array so its length was always 1. Thats why it has been changed.
  • engines: player.search() now returns SearchResult|null instead of SearchResult[]
  • bump min required version of @discordjs/opus from 0.5.1 to 0.8.0
  • bump min required version of discord.js from 14.5.0 to 14.8.0
  • add peerDependency discord-api-types with min version 0.37.0

1.5.2 (2023-05-13)

Bug Fixes

  • remove vulnerable dependency (2fb0787)

1.5.1 (2023-03-14)

Bug Fixes

  • peerDependencies: specify range of peerDependencies (656485b)

1.5.0 (2023-03-12)

Features

  • commands: add /insert command (7d6bab4)
  • commands: add /jump slash command (805c414)
  • commands: add /remove slash command (10b3216)
  • player: add method jump (9f0812c)

1.4.4 (2023-03-11)

Bug Fixes

  • player: bot stops playing after approximately 60 seconds (2bc1bb9)
  • player: bot stops playing after approximately 60 seconds (#11) (78fb74a), closes #9 #10
  • remove vulnerable dependencies (c30fa11)
  • youtube: playlist not searched when it contains hidden videos (1898238)

1.4.3 (2022-12-27)

Bug Fixes

  • spotify: searching playlist throws error cannot read XYZ of undefined (8e7d799)

1.4.2 (2022-10-23)

Bug Fixes

  • spotify: duration NaN for some tracks (4103459)

1.4.1 (2022-08-22)

Bug Fixes

  • remove vulnerable dependencies (5145993)

1.4.0 (2022-08-06)

Bug Fixes

  • player: event trackEnd not emitted when playing track while already playing (cdc809a)
  • player: event trackStart emitted when paused track is resumed (67a6539)
  • player: track seek time not resetting when repeating (0ed25f4)

Features

  • file-engine: extract audio file metadata for track information (5de66ae)
  • player: add option stopOnEnd to enable bot to stay connected when audio playback ends, default: true (78fe5ed)
  • player: add track to trackEnd event (06e8282)

1.3.0 (2022-08-05)

Bug Fixes

  • spotify: limit not working when searching spotify playlist (6bbb151)
  • spotify: playlist tracks not including playlist property (7d6b15a)

Features

  • player: make options property public (b39853b)

1.2.0 (2022-08-01)

Bug Fixes

  • youtube: limit not working when searching playlist (ead4449)

Features

  • player: add method getVoiceChannel (26b5d54)

1.1.2 (2022-07-29)

Bug Fixes

  • youtube: unable to search playlist that starts with https://www.youtube.com/playlist (2378c4d), closes #5

1.1.1 (2022-07-25)

Bug Fixes

  • remove vulnerable dependency (54ac14a)

1.1.0 (2022-07-21)

Bug Fixes

  • spotify: track seek not working (9ad030e)

Features

  • update to discord.js v14 (b5ca665)

1.0.3 (2022-07-21)

Bug Fixes

1.0.2 (2022-07-21)

Bug Fixes

  • remove vulnerable depedencies (d77013c)

1.0.1 (2022-06-19)

Bug Fixes

  • formatDuration not formatting hours (#3) (cc85989)

1.0.0 (2022-06-19)

Bug Fixes

  • remove not returning removed track (9e7ab69)
  • trackToMarkdown printing undefined when artist is not set (e2e1b5a)
  • add missing export handleSlashCommand (cd88723)
  • command: queue command not using ephemeral (cddd737)
  • example: use more user friendly ephemeral (cf51239)
  • player: add playing track twice, setPause not returning true when already paused/resumed (84a6a37)
  • remove track url preview for add and skip command message (a349c3f)
  • remove vulnerable dependencies (40c23c7)
  • spotify: playing wrong stream when artist is undefined (bbb3da4)
  • volume glitch when async function is used for initial volume (9f802bf)

Code Refactoring

  • player-manager: Add methods find and remove (0458b8f)
  • remove SearchType in favor of TrackSource (32cb323)
  • rename event disconnect to destroyed (2975507)

Documentation

Features

  • add duration and artist to track (bc6cbcb)
  • add fileRoot player option (ba5d6a2)
  • add insert and remove method (ed5e35b)
  • add queueEnd event (0873c42)
  • add SearchType search option (c486936)
  • add seek method (23a00e8)
  • add player (8390eec)
  • add player option customEngines (ac411de)
  • add PlayerManager (a1d8ed9)
  • add pre-build slash commands (ede5993)
  • add spotify player engine (159477d)
  • commands run method returning boolean (3031a21)
  • commands: add command seek (4fa37e9)
  • engines: add isResponsible method (dc58e90)
  • player-manager: add events (251b07c)
  • player-manager: add option deep merge (b42ea27)
  • player: add error event (fd23641)
  • player: add method getVolume (4e9ee7c)
  • player: add option allowSwitchChannels (9bceb75)
  • player: add play option addSkippedTrackToQueue (9c4597e)
  • player: add repeat mode NONE and TRACK (f97dc90)
  • player: make fileRoot option required for local files (a0f1994)
  • player: option initialVolume can be function (2b3b9b2)
  • support spotify playlists (744fabd)

BREAKING CHANGES

  • change handleSlashCommand signature
  • player: remove player event queueEnd in favor of destroyed
  • player: player event trackEnd now emmited before next track started
  • player: remove type StreamOptions
  • player: remove parameter streamOptions from engines getStream method
  • player: fileRoot option is required to play local files
  • commands run method returning boolean
  • remove player option customSearch and customStream in favor of customEngines
  • remove type TrackSource
  • require engine prop source
  • engines: remove exported function detectTrackSource
  • engines: require method isResponsible for engines
  • player-manager: remove method exists in favor of find
  • remove SearchType in favor of TrackSource
  • rename event disconnect to destroyed

1.0.0-beta.11 (2022-06-19)

Documentation

BREAKING CHANGES

  • change handleSlashCommand signature

1.0.0-beta.10 (2022-06-19)

Features

  • player-manager: add events (251b07c)
  • player: add error event (fd23641)

BREAKING CHANGES

  • player: remove player event queueEnd in favor of destroyed
  • player: player event trackEnd now emmited before next track started

1.0.0-beta.9 (2022-06-18)

Bug Fixes

  • volume glitch when async function is used for initial volume (9f802bf)

1.0.0-beta.8 (2022-06-18)

Features

  • commands: add command seek (4fa37e9)
  • player: add play option addSkippedTrackToQueue (9c4597e)

BREAKING CHANGES

  • player: remove type StreamOptions
  • player: remove parameter streamOptions from engines getStream method

1.0.0-beta.7 (2022-06-18)

Features

  • player: option initialVolume can be function (2b3b9b2)

1.0.0-beta.6 (2022-06-18)

Features

  • player: add option allowSwitchChannels (9bceb75)
  • player: make fileRoot option required for local files (a0f1994)

BREAKING CHANGES

  • player: fileRoot option is required to play local files

1.0.0-beta.5 (2022-06-17)

Features

  • commands run method returning boolean (3031a21)
  • player: add method getVolume (4e9ee7c)
  • player: add repeat mode NONE and TRACK (f97dc90)

BREAKING CHANGES

  • commands run method returning boolean

1.0.0-beta.4 (2022-06-10)

Bug Fixes

  • remove vulnerable dependencies (40c23c7)

1.0.0-beta.3 (2022-06-07)

Bug Fixes

  • trackToMarkdown printing undefined when artist is not set (e2e1b5a)
  • command: queue command not using ephemeral (cddd737)
  • example: use more user friendly ephemeral (cf51239)
  • remove track url preview for add and skip command message (a349c3f)
  • spotify: playing wrong stream when artist is undefined (bbb3da4)

Features

  • add player option customEngines (ac411de)
  • engines: add isResponsible method (dc58e90)

BREAKING CHANGES

  • remove player option customSearch and customStream in favor of customEngines
  • remove type TrackSource
  • require engine prop source
  • engines: remove exported function detectTrackSource
  • engines: require method isResponsible for engines

1.0.0-beta.2 (2022-05-24)

Bug Fixes

  • add missing export handleSlashCommand (cd88723)

1.0.0-beta.1 (2022-05-24)

Bug Fixes

  • remove not returning removed track (9e7ab69)
  • player: add playing track twice, setPause not returning true when already paused/resumed (84a6a37)

Code Refactoring

  • player-manager: Add methods find and remove (0458b8f)
  • remove SearchType in favor of TrackSource (32cb323)
  • rename event disconnect to destroyed (2975507)

Features

  • add duration and artist to track (bc6cbcb)
  • add fileRoot player option (ba5d6a2)
  • add insert and remove method (ed5e35b)
  • add queueEnd event (0873c42)
  • add SearchType search option (c486936)
  • add seek method (23a00e8)
  • add player (8390eec)
  • add PlayerManager (a1d8ed9)
  • add pre-build slash commands (ede5993)
  • add spotify player engine (159477d)
  • player-manager: add option deep merge (b42ea27)
  • support spotify playlists (744fabd)

BREAKING CHANGES

  • player-manager: remove method exists in favor of find
  • remove SearchType in favor of TrackSource
  • rename event disconnect to destroyed

1.0.0-alpha.4 (2022-05-24)

Bug Fixes

  • player: add playing track twice, setPause not returning true when already paused/resumed (84a6a37)

Code Refactoring

  • player-manager: Add methods find and remove (0458b8f)

Features

  • add pre-build slash commands (ede5993)
  • player-manager: add option deep merge (b42ea27)

BREAKING CHANGES

  • player-manager: remove method exists in favor of find

1.0.0-alpha.3 (2022-05-23)

Features

  • add fileRoot player option (ba5d6a2)

1.0.0-alpha.2 (2022-05-23)

Code Refactoring

  • remove SearchType in favor of TrackSource (32cb323)

Features

  • add spotify player engine (159477d)
  • support spotify playlists (744fabd)

BREAKING CHANGES

  • remove SearchType in favor of TrackSource

1.0.0-alpha.1 (2022-05-06)

Bug Fixes

  • remove not returning removed track (9e7ab69)

Code Refactoring

  • rename event disconnect to destroyed (2975507)

Features

BREAKING CHANGES

  • rename event disconnect to destroyed