Releases: tandemdude/hikari-lightbulb
Releases · tandemdude/hikari-lightbulb
v3.0.0a26
Breaking Changes
-
- Removed
wait
kwarg from theMenu.attach
method -wait=True
is now the only supported behaviour. For persistent menus, you should use theMenu.attach_persistent
method instead. MenuHandle
is no longer awaitable. You should await the.wait()
method instead.
(#569)
- Removed
Features
- Add
Menu.attach_persistent
method to replace previous waiter functionality. (#569)
Miscellaneous
- Optimised the number of asyncio tasks created when using menus to improve performance at a large scale. (#569)
v3.0.0a25
Features
- Add
permit_admin
argument to builtin permission check hooks. - Add
sync_commands
flag when constructing the Client instance.
v3.0.0a24
v3.0.0a23
Features
- Add
extension
attribute toCommandData
andGroup
classes.
Miscellaneous
- Switch to
confspec
to providelightbulb.config
functionality.
v3.0.0a22
Bugfixes
- Fix cooldown prefabs failing to register the appropriate
CommandCooldown
dependency during invocation.
v3.0.0a21
v3.0.0a20
v3.0.0a19
Miscellaneous
- Bump Hikari version support to 2.3.1.
v3.0.0a18
Breaking Changes
-
Migrate to using
linkd
for dependency injection instead of including the framework within Lightbulb.- All DI classes have been removed and should now be imported from
linkd
instead. A few members are vendored through Lightbulb to prevent too many breaking code changes.
Vendored members:
The following members are still accessible through thelightbulb.di
namespaceDI_ENABLED
,INJECTED
If
,Try
,with_di
CircularDependencyException
,ContainerClosedException
,DependencyInjectionException
,DependencyNotSatisfiableException
DefaultContainer
The following members are implemented in Lightbulb due to them being too specialised to include directly in
linkd
CommandContainer
,AutocompleteContainer
,ListenerContainer
,TaskContainer
Contexts
(#543)
- All DI classes have been removed and should now be imported from
Bugfixes
- Fixed registering groups failing when using
integration_types
orcontexts
.
v3.0.0a17
Breaking Changes
- Removed
RestContext
andRestAutocompleteContext
. If you were not explicitly using these classes you will not be affected.
Features
- Added support for sending polls within command and component interaction responses.