Releases: Cog-Creators/Red-Lavalink
Releases · Cog-Creators/Red-Lavalink
0.11.0
A non-rc version of changes made in 0.11.0rc0 and 0.11.0rc1.
Changes since 0.10.0:
- Dropped support for discord.py 1.x
- Switched to using discord.py's
VoiceProtocol
(#122)- Removed
user_id
,PlayerManager
, andenums.DiscordVoiceSocketResponses
- Renamed
lavalink.player_manager
module tolavalink.player
- Removed
Player.manager
- Removed
Node.player_manager
- Removed
Node.get_voice_ws()
- Removed
Node.join_voice_channel()
- Added
Node
methods replacing methods fromPlayerManager
:create_player()
,get_player()
- Renamed
- Renamed
lavalink.node.PlayerState
tolavalink.node.PositionTime
- Removed
RESTClient.close()
andRESTClient.reset_session()
- Changed signature of
Player.connect()
,Player.disconnect()
- Removed
- All but first argument to
lavalink.initialize()
have been made keyword-only (#124)ws_port
argument has been renamed toport
to reflect that it's actually used for everything (#121)
port
argument tolavalink.initialize()
can now be omitted to use 80/443 (#121)- The following arguments have been made keyword-only: (#124)
timeout
andwait_if_no_node
inlavalink.wait_until_ready()
timeout
inNode.wait_until_ready()
deafen
inNode.create_player()
timeout
andno_raise
inPlayer.wait_until_ready()
deafen
inPlayer.move_to()
replace
,start
, andpause
inPlayer.resume()
timed
inPlayer.pause()
- Modernized documentation and packaging setup (this shouldn't matter to users of this library but listing it anyway...)
- Moved on to using PEP 621 metadata now that setuptools supports it and PEP 660 editable installs
- Renamed tests and docs extras to test and doc, respectively
0.11.0rc1
In short:
- updated our VoiceProtocol implementation to work with the released version of discord.py 2.0
- dropped support for discord.py 1.x in the process
- modernized documentation and packaging setup (this shouldn't matter to users of this library but listing it anyway...)
- moved on to using PEP 621 metadata now that setuptools supports it and PEP 660 editable installs
- renamed tests and docs extras to test and doc, respectively
0.9.4
0.9.3
0.11.0rc0
This is the rare occurrence of us making an RC version, how exciting!
- Switched to using discord.py's
VoiceProtocol
(#122)- Removed
user_id
,PlayerManager
, andenums.DiscordVoiceSocketResponses
- Renamed
lavalink.player_manager
module tolavalink.player
- Removed
Player.manager
- Removed
Node.player_manager
- Removed
Node.get_voice_ws()
- Removed
Node.join_voice_channel()
- Added
Node
methods replacing methods fromPlayerManager
:create_player()
,get_player()
- Renamed
- Renamed
lavalink.node.PlayerState
tolavalink.node.PositionTime
- Removed
RESTClient.close()
andRESTClient.reset_session()
- Changed signature of
Player.connect()
,Player.disconnect()
- Removed
- All but first argument to
lavalink.initialize()
have been made keyword-only (#124)ws_port
argument has been renamed toport
to reflect that it's actually used for everything (#121)
port
argument tolavalink.initialize()
can now be omitted to use 80/443 (#121)- The following arguments have been made keyword-only: (#124)
timeout
andwait_if_no_node
inlavalink.wait_until_ready()
timeout
inNode.wait_until_ready()
deafen
inNode.create_player()
timeout
andno_raise
inPlayer.wait_until_ready()
deafen
inPlayer.move_to()
replace
,start
, andpause
inPlayer.resume()
timed
inPlayer.pause()
0.10.0
- Fixed wrong enum value in
ExceptionSeverity
(renamedFATAL
toFAULT
) (#108) - Added more specific exception classes which are now used instead of more generic
IndexError
andKeyError
(#115) - Fixed support for WebSocket Secure (#116)
- Removed
secured
parameter fromNode.connect()
- Removed
- RLL has undergone major rework of shutdown and reconnect logic to avoid zombie tasks and race conditions (#117)
- Added
lavalink.wait_until_ready()
- Added
- Added
lavalink.get_all_nodes()
(#114) - RLL now sets
red_commons.logging.RedTraceLogger
as global logger class (#119, #120)- Log messages have been updated to use more appropriate log levels
0.9.2
0.9.1
0.9.0
- Add support for Lavalink 3.4 (#103)
- Add
connected
attributed toPlayerState
(#103) - Change the extra for
LavalinkEvents.TRACK_EXCEPTION
from string to a dictionary withmessage
,cause
, andseverity
keys (#103) - Fix documentation build at https://red-lavalink.readthedocs.io/en/latest/ (#104)
- Fix
Player
objects reporting a "playing" status when nothing was playing (#102) - Remove support for Lavalink 3.3 and earlier (#103)