Conversation
Bumps [mikepenz/action-junit-report](https://github.com/mikepenz/action-junit-report) from 3 to 6. - [Release notes](https://github.com/mikepenz/action-junit-report/releases) - [Commits](mikepenz/action-junit-report@v3...v6) --- updated-dependencies: - dependency-name: mikepenz/action-junit-report dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.13 → v0.15.1](astral-sh/ruff-pre-commit@v0.14.13...v0.15.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add support for selects in modals (untested) Many attempts have been made to make this non-breaking - this means the UX is a little bit off. Also, as title says, untested. * feat: update classes to support new select features * feat💥: make ModalContext able to handle new component types This requires breaking the assumption that responses always has string keys. That being said, since this is Discord breaking things, not us, this should be fine for a non-breaking release. * docs: update/fix docstrings of select menus Signed-off-by: Astrea <25420078+AstreaTSS@users.noreply.github.com> * ci: correct from checks. * feat: add file upload components for modals * feat: make label for InputText optional Totally forgot Discord did this, oops. * feat: allow TextDisplayComponent to be used in modals Apparently this has been possible for a while now. * fix: missed a spot * refactor: import ComponentType from enums * fix: min/max_value -> min/max_values * fix: make to_dict behavior correct for FileUploadComponent * feat: add radio and checkbox components --------- Signed-off-by: Astrea <25420078+AstreaTSS@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Replaced instances of asyncio.iscoroutinefunction(), deprecated in 3.14, with inspect.iscoroutinefunction(), an analogue available since 3.5.
* fix: unified error messages for cmd, component, and modals - With the default error handler, ComponentError and ModalError now post errors, consistent with the handler for CommandError. - Added an error message post for BadArgument. - Migrated posted error messages to Components v2 to ensure the error message can be sent on Components v2 messages after defer(edit_origin=True), since a v1 message can be converted into v2 but not the other way around. * fix: add error message to CommandCheckFailure Added a message to the CommandCheckFailure class such that its __str__() is a proper error message rather than its repr. * fix: log user cmd errors as info In the default error handler, errors of the type CommandException e.g. CommandOnCooldown are now logged as info with its own log message instead of error. Logging as error would have emitted a traceback and a Sentry log. * fix: check for origin in default_error_send() Added check for ctx.editing_origin in default_error_send() to determine whether to use send() or edit_origin(). Set content and embeds fields to empty to ensure the function succeeds when the origin message is Components v1. * docs: add note on raised exceptions Added note that failed checks raise CommandCheckFailure and failed Converter conversions raise BadArgument. * docs: note on error events Added point that Error by itself only logs errors, not post an error message, but that its subtypes CommandError (as well as ComponentError and ModalError) do. * fix: handling of ModalError when edit_origin * docs: additional error handling notes
* chore: add missing docs dependencies Synchronizes the listed dependencies in requirements-docs.txt with that of pyproject.toml (poetry) and setup.py. * chore: remove version pin on griffe * fix: update config to working Merged `selection` and `rendering` options in mkdocstrings-python settings to one `options`; the former are deprecated in 0.19 and removed in 0.23. Set `autorefs.resolve_closest` to resolve "multiple primary URL" warnings with the monopage. Set mkdocstrings-python `members_order` to alphabetical to match the currently live documentation, and also `show_symbol_type_toc` to better distinguish methods from attributes in the ToC, as the `()` is no longer present in the current version.
updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.1 → v0.15.21](astral-sh/ruff-pre-commit@v0.15.1...v0.15.21) - [github.com/psf/black-pre-commit-mirror: 26.1.0 → 26.5.1](psf/black-pre-commit-mirror@26.1.0...26.5.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 6. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v6) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.