Releases: aaronhnsy/discord-ext-lava
Releases · aaronhnsy/discord-ext-lava
v0.5.0
v0.4.1
v0.4.0
New Features
Queue.__delitem__
now accepts theslice
type which allows you to delete a range of entries.Pool.create_node
andNode.__init__
now accept asession
parameter allowing you to pass your own aiohttpClientSession
.Pool.create_node
andNode.__init__
now accept aws_path
parameter allowing you to customize the path used for websocket connections.- Added the
NodeAlreadyConnected
exception raised when you callNode.connect
on an already connected node.
Changes
Pool.create_node
andNode.__init__
no longer accept aresume_key
parameter.Pool.create_node
andNode.__init__
now accept either the (host
andport
) or (ws_url
andrest_url
) parameters.Pool.remove_node
andNode.disconnect
no longer accept aforce
parameter.Node.connect
no longer accepts araise_on_failure
parameter.- Renamed
InvalidNodePassword
toInvalidPassword
.
Bug Fixes
- Fixed spotify URL regex.
Notes
- Updated docs and added new pages.
- Completely reworked how the internal websocket connection works.
v0.3.1
v0.3.0
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
, andslate.Search
are all no longer generic overContextT
.slate.Node.search
no longer acceptsctx
as an argument.slate.Track
andslate.Collection
no longer havectx
orrequester
attributes.slate.Pool.create_node
now requires theprovider
argument to be keyword-only.
Features:
- Added
slate.NodeAlreadyExists
.
Bug Fixes:
- Renamed uses of old
slate.QueueLoopMode
enum values.
v0.2.2
v0.2.1
v0.2.0
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 forNode.connect
was renamed toraise_on_fail
.
Changes
- Improved logging for
Pool.create_node
andPool.remove_node
. - Seperated logging warnings for
event
andplayerUpdate
payloads when theNode
receieving them doesn't have a matchingPlayer
.
v0.1.0
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
, andslate.obsidian.Op
.- All places where the above were used have been converted to use strings.