Skip to content

Releases: aaronhnsy/discord-ext-lava

v0.5.0

03 Sep 23:31
Compare
Choose a tag to compare

This release marks the rename of the library from slate to discord-ext-lava. It is now importable from the discord.ext namespace as lava.

New Features

  • n/a

Changes

  • n/a

Bug Fixes

  • n/a

Notes

  • n/a

v0.4.1

03 Sep 23:23
Compare
Choose a tag to compare

No notable changes.

v0.4.0

03 Sep 23:20
Compare
Choose a tag to compare

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.

v0.3.1

15 May 23:07
Compare
Choose a tag to compare

Beta release v0.3.1!

Features:

  • Additional keyword arguments passed to slate.Node.search can now be accessed through the returned Track's extras attribute.

v0.3.0

11 May 22:51
Compare
Choose a tag to compare

Beta release v0.3.0!

Breaking Changes:

  • Removed slate.NodeCreationError.
  • Renamed slate.NodeInvalidPassword -> slate.InvalidNodePassword.
  • Removed slate.Stats.
  • slate.Pool, slate.Node, slate.Player, slate.Track, slate.Collection, and slate.Search are all no longer generic over ContextT.
  • slate.Node.search no longer accepts ctx as an argument.
  • slate.Track and slate.Collection no longer have ctx or requester attributes.
  • slate.Pool.create_node now requires the provider argument to be keyword-only.

Features:

  • Added slate.NodeAlreadyExists.

Bug Fixes:

  • Renamed uses of old slate.QueueLoopMode enum values.

v0.2.2

04 Apr 02:08
Compare
Choose a tag to compare

Beta release v0.2.2!

This release updates the project documentation and renames the QueueLoopMode enums.

Breaking Changes:

  • Renamed QueueLoopMode.OFF -> QueueLoopMode.DISABLED
  • Renamed QueueLoopMode.QUEUE -> QueueLoopMode.ALL

v0.2.1

04 Apr 02:06
Compare
Choose a tag to compare

Beta release v0.2.1!

This release simply updates the aiohttp requirements to >=3.8.0 to match discord.py.

Changelog

Breaking Changes

  • n/a

Features

  • n/a

Bug Fixes

  • n/a

Misc:

  • n/a

v0.2.0

16 Feb 23:45
Compare
Choose a tag to compare

Beta release v0.2.0!

This release adds, removes, and cleans up a few logging lines. Some general internal logic "improvements" (maybe) were made across the library as well.

Changelog

Breaking changes:

  • The raise_on_error keyword argument for Node.connect was renamed to raise_on_fail.

Changes

  • Improved logging for Pool.create_node and Pool.remove_node.
  • Seperated logging warnings for event and playerUpdate payloads when the Node receieving them doesn't have a matching Player.

v0.1.0

15 Feb 14:29
Compare
Choose a tag to compare

Beta release v0.1.0!

This release completely refactors the library to (finally) support Lavalink alongside Obsidian. I've tried to keep the breaking changes to a minimum, however there are inevitably some places where stuff will break.

The main change is the removal of the slate.obsidian namespace, as this was merged into the normal slate namespace which now contains logic for both node provider types.

Changelog

There are quite a few breaking changes, and because of my bad committing skills im probably going to miss a few from this (small) changelog.

  • slate.obsidian.NodePool -> slate.Pool.
  • slate.obsidian.Result -> slate.Search.
  • slate.obsidian.X -> slate.X (unless otherwise specified).
  • Removed slate.obsidian.ErrorSeverity, slate.obsidian.TrackEndReason, slate.obsidian.EventType, slate.obsidian.LoadType, slate.obsidian.SearchType, and slate.obsidian.Op.
    • All places where the above were used have been converted to use strings.

v0.0.6

09 Feb 14:02
Compare
Choose a tag to compare

Changelog

Added

  • Added the ability to pass custom args and/or kwargs to Player subclasses.

Changes

  • Updated dependancy requirements to be more relaxed.