Skip to content

Releases: Cog-Creators/Red-Lavalink

0.11.0

19 Apr 01:19
ae5aaed
Compare
Choose a tag to compare

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, and enums.DiscordVoiceSocketResponses
      • Renamed lavalink.player_manager module to lavalink.player
      • Removed Player.manager
      • Removed Node.player_manager
      • Removed Node.get_voice_ws()
      • Removed Node.join_voice_channel()
      • Added Node methods replacing methods from PlayerManager: create_player(), get_player()
    • Renamed lavalink.node.PlayerState to lavalink.node.PositionTime
    • Removed RESTClient.close() and RESTClient.reset_session()
    • Changed signature of Player.connect(), Player.disconnect()
  • All but first argument to lavalink.initialize() have been made keyword-only (#124)
    • ws_port argument has been renamed to port to reflect that it's actually used for everything (#121)
  • port argument to lavalink.initialize() can now be omitted to use 80/443 (#121)
  • The following arguments have been made keyword-only: (#124)
    • timeout and wait_if_no_node in lavalink.wait_until_ready()
    • timeout in Node.wait_until_ready()
    • deafen in Node.create_player()
    • timeout and no_raise in Player.wait_until_ready()
    • deafen in Player.move_to()
    • replace , start, and pause in Player.resume()
    • timed in Player.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

17 Sep 00:43
134905c
Compare
Choose a tag to compare
0.11.0rc1 Pre-release
Pre-release

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

15 Aug 09:47
Compare
Choose a tag to compare

Maintenance release fixing the library hanging the whole loop indefinitely on reconnection. See #131.

0.9.3

31 May 23:25
Compare
Choose a tag to compare

Maintenance release backporting missing FAULT exception severity level in the ExceptionSeverity enum.

0.11.0rc0

29 Mar 22:16
Compare
Choose a tag to compare
0.11.0rc0 Pre-release
Pre-release

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, and enums.DiscordVoiceSocketResponses
      • Renamed lavalink.player_manager module to lavalink.player
      • Removed Player.manager
      • Removed Node.player_manager
      • Removed Node.get_voice_ws()
      • Removed Node.join_voice_channel()
      • Added Node methods replacing methods from PlayerManager: create_player(), get_player()
    • Renamed lavalink.node.PlayerState to lavalink.node.PositionTime
    • Removed RESTClient.close() and RESTClient.reset_session()
    • Changed signature of Player.connect(), Player.disconnect()
  • All but first argument to lavalink.initialize() have been made keyword-only (#124)
    • ws_port argument has been renamed to port to reflect that it's actually used for everything (#121)
  • port argument to lavalink.initialize() can now be omitted to use 80/443 (#121)
  • The following arguments have been made keyword-only: (#124)
    • timeout and wait_if_no_node in lavalink.wait_until_ready()
    • timeout in Node.wait_until_ready()
    • deafen in Node.create_player()
    • timeout and no_raise in Player.wait_until_ready()
    • deafen in Player.move_to()
    • replace , start, and pause in Player.resume()
    • timed in Player.pause()

0.10.0

20 Mar 22:45
Compare
Choose a tag to compare
  • Fixed wrong enum value in ExceptionSeverity (renamed FATAL to FAULT) (#108)
  • Added more specific exception classes which are now used instead of more generic IndexError and KeyError (#115)
  • Fixed support for WebSocket Secure (#116)
    • Removed secured parameter from Node.connect()
  • RLL has undergone major rework of shutdown and reconnect logic to avoid zombie tasks and race conditions (#117)
    • Added lavalink.wait_until_ready()
  • 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

03 Mar 20:16
Compare
Choose a tag to compare

Not much going on here, here's the gist of the changes:

  • changed few log messages to mention node rather than server
  • simplified connection logic
  • improved get_channel logic

0.9.1

02 Mar 19:05
502b9aa
Compare
Choose a tag to compare
  • added support for WebSocket Secure

0.9.0

31 Dec 00:05
d40092e
Compare
Choose a tag to compare
  • Add support for Lavalink 3.4 (#103)
  • Add connected attributed to PlayerState (#103)
  • Change the extra for LavalinkEvents.TRACK_EXCEPTION from string to a dictionary with message, cause, and severity 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)

0.8.1

18 May 22:43
6e649bc
Compare
Choose a tag to compare
  • Make logs more informative, use %-formatting for better performance
  • Add Player.connected_at attribute containing a datetime for the connection of player
  • Add Player.connected signifying a valid, connected player
  • Loosen Python version requirement