Skip to content

v0.4.0

Compare
Choose a tag to compare
@aaronhnsy aaronhnsy released this 03 Sep 23:20
· 15 commits to main since this release

New Features

  • Queue.__delitem__ now accepts the slice type which allows you to delete a range of entries.
  • Pool.create_node and Node.__init__ now accept a session parameter allowing you to pass your own aiohttp ClientSession.
  • Pool.create_node and Node.__init__ now accept a ws_path parameter allowing you to customize the path used for websocket connections.
  • Added the NodeAlreadyConnected exception raised when you call Node.connect on an already connected node.

Changes

  • Pool.create_node and Node.__init__ no longer accept a resume_key parameter.
  • Pool.create_node and Node.__init__ now accept either the (host and port) or (ws_url and rest_url) parameters.
  • Pool.remove_node and Node.disconnect no longer accept a force parameter.
  • Node.connect no longer accepts a raise_on_failure parameter.
  • Renamed InvalidNodePassword to InvalidPassword.

Bug Fixes

  • Fixed spotify URL regex.

Notes

  • Updated docs and added new pages.
  • Completely reworked how the internal websocket connection works.