Skip to content

Commit

Permalink
Bump version, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude authored and github-actions[bot] committed Sep 30, 2024
1 parent cca1474 commit 33726bc
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
18 changes: 18 additions & 0 deletions docs/source/changelogs/v3-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ Below are all the changelogs for the new versions of hikari-lightbulb (version 3

<!-- next-changelog -->

## v3.0.0a13 (2024-09-30)
### Features

- - Implement injection for union dependencies using `Foo | Bar`. If any of the requested dependencies are not registered, it will fall back to the next in the union.
- Implement injection for optional dependencies using `Foo | None`. If all the requested dependencies are not registered, it will fall back to `None`.
- Implement injection 'meta annotations' (`Try[]` and `If[]`) allowing modifying of the fall-back behaviour.

([#454](https://github.com/tandemdude/hikari-lightbulb/issues/454))
- Add `name` argument to the `hook()` decorator and `name` attribute to `ExecutionHook`.
- Prefab cooldown hooks now register an instance of `CommandCooldown` as a dependency when they are executed.

### Bugfixes

- Fix `KeyError` preventing error handlers being loaded from extensions.
- Fix menu task exceptions being logged even if they were raised previously.

----

## v3.0.0a12 (2024-08-30)
### Breaking Changes

Expand Down
1 change: 0 additions & 1 deletion fragments/+cooldown_manipulation.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion fragments/+hook_name.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion fragments/+loader_error_handler.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion fragments/+menu_logging.bugfix.md

This file was deleted.

3 changes: 0 additions & 3 deletions fragments/454.feature.md

This file was deleted.

2 changes: 1 addition & 1 deletion lightbulb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@
]

# Do not change the below field manually. It is updated by CI upon release.
__version__ = "3.0.0a12"
__version__ = "3.0.0a13"

0 comments on commit 33726bc

Please sign in to comment.