Skip to content

Releases: tandemdude/hikari-lightbulb

v3.0.0a26

01 Jun 13:54
Compare
Choose a tag to compare
v3.0.0a26 Pre-release
Pre-release

Breaking Changes

    • Removed wait kwarg from the Menu.attach method - wait=True is now the only supported behaviour. For persistent menus, you should use the Menu.attach_persistent method instead.
    • MenuHandle is no longer awaitable. You should await the .wait() method instead.

    (#569)

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

28 May 08:35
Compare
Choose a tag to compare
v3.0.0a25 Pre-release
Pre-release

Features

  • Add permit_admin argument to builtin permission check hooks.
  • Add sync_commands flag when constructing the Client instance.

v3.0.0a24

20 May 22:22
Compare
Choose a tag to compare
v3.0.0a24 Pre-release
Pre-release

Bugfixes

  • Fix DI context not propagating correctly for menu callbacks where it would be expected to work. (#563)

Miscellaneous

  • Remove maximum version limit for linkd and confspec.

v3.0.0a23

17 May 14:51
Compare
Choose a tag to compare
v3.0.0a23 Pre-release
Pre-release

Features

  • Add extension attribute to CommandData and Group classes.

Miscellaneous

  • Switch to confspec to provide lightbulb.config functionality.

v3.0.0a22

08 May 19:40
Compare
Choose a tag to compare
v3.0.0a22 Pre-release
Pre-release

Bugfixes

  • Fix cooldown prefabs failing to register the appropriate CommandCooldown dependency during invocation.

v3.0.0a21

05 May 17:47
Compare
Choose a tag to compare
v3.0.0a21 Pre-release
Pre-release

Features

  • Add config submodule for parsing configuration files to msgspec Structs, including environment variable interpolation. (#557)

v3.0.0a20

03 May 18:30
Compare
Choose a tag to compare
v3.0.0a20 Pre-release
Pre-release

Bugfixes

  • Fix handling of REST interactions erroring when trying to make an initial response. (#556)

v3.0.0a19

27 Apr 20:21
Compare
Choose a tag to compare
v3.0.0a19 Pre-release
Pre-release

Miscellaneous

  • Bump Hikari version support to 2.3.1.

v3.0.0a18

14 Apr 11:43
Compare
Choose a tag to compare
v3.0.0a18 Pre-release
Pre-release

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 the lightbulb.di namespace

    • DI_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)

Bugfixes

  • Fixed registering groups failing when using integration_types or contexts.

v3.0.0a17

06 Apr 21:18
Compare
Choose a tag to compare
v3.0.0a17 Pre-release
Pre-release

Breaking Changes

  • Removed RestContext and RestAutocompleteContext. 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.