Skip to content

0.11.0

Latest
Compare
Choose a tag to compare
@Jackenmen Jackenmen released this 19 Apr 01:19
· 2 commits to develop since this release
ae5aaed

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