Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2022

Bumps hikari-tanjun from 2.7.0a1 to 2.8.0a1.

Release notes

Sourced from hikari-tanjun's releases.

v2.8.0a1

2.8.0a1 - 2022-10-16

Added

  • Support for specifying min_length and max_length for slash command string options.
  • Support for specifying min_length and max_length for message command parsing options with either no converters or converters which result in a collections.abc.Sized compatible value.
  • Support for specifying the length of a string argument in annotation command declaration through tanjun.annotations.Length.
  • AutocompleteContext.triggering_name which acts like Context.triggering_name.
  • Support for localising check responses for application command contexts, and slash command + context menu declarations (names and descriptions). More information on how this works can be found at https://tanjun.cursed.solutions/usage/#localisation.

Changed

  • Bumped the minimum Hikari version to 2.0.0.dev111.
  • Bumped the minimum Alluka version to 0.1.2.
  • tanjun.dependencies.HotReloader.add_to_client now returns None.

Fixed

  • Make tanjun.commands.slash.SlashCommandGroup.as_sub_command's typing more flexible to allow decorating other command objects.
  • tanjun.context.slash.SlashContext.triggering_name now returns the full triggering command name for sub-commands instead of just the top level command's name.
  • Optimise tanjun.checks.OwnPermissionCheck to use context.app_permissions instead of calculating the bot's permissions for context menu command calls.

Removed

  • The generic value field from BaseConverter.
Changelog

Sourced from hikari-tanjun's changelog.

[2.8.0a1] - 2022-10-16

Added

  • Support for specifying min_length and max_length for slash command string options.
  • Support for specifying min_length and max_length for message command parsing options with either no converters or converters which result in a [collections.abc.Sized][] compatible value.
  • Support for specifying the length of a string argument in annotation command declaration through [tanjun.annotations.Length][].
  • [AutocompleteContext.triggering_name][tanjun.abc.AutocompleteContext.triggering_name] which acts like [Context.triggering_name][tanjun.abc.Context.triggering_name].
  • Support for localising check responses for application command contexts, and slash command + context menu declarations (names and descriptions). More information on how this works can be found in [localisation][].

Changed

  • Bumped the minimum Hikari version to 2.0.0.dev111.
  • Bumped the minimum Alluka version to 0.1.2.
  • [tanjun.dependencies.HotReloader.add_to_client][] now returns [None][].

Fixed

  • Make [tanjun.commands.slash.SlashCommandGroup.as_sub_command][]'s typing more flexible to allow decorating other command objects.
  • tanjun.context.slash.SlashContext.triggering_name now returns the full triggering command name for sub-commands instead of just the top level command's name.
  • Optimise [tanjun.checks.OwnPermissionCheck][] to use context.app_permissions instead of calculating the bot's permissions for context menu command calls.

Removed

  • The generic value field from BaseConverter.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 17, 2022
@dependabot dependabot bot force-pushed the dependabot/pip/hikari-tanjun-2.8.0a1 branch from 737ba57 to bec88a6 Compare October 19, 2022 00:53
Bumps [hikari-tanjun](https://github.com/FasterSpeeding/tanjun) from 2.7.0a1 to 2.8.0a1.
- [Release notes](https://github.com/FasterSpeeding/tanjun/releases)
- [Changelog](https://github.com/FasterSpeeding/Tanjun/blob/master/CHANGELOG.md)
- [Commits](Cursed-Solutions/Tanjun@v2.7.0a1...v2.8.0a1)

---
updated-dependencies:
- dependency-name: hikari-tanjun
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/hikari-tanjun-2.8.0a1 branch from bec88a6 to 3787802 Compare October 20, 2022 00:04
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 24, 2022

Superseded by #92.

@dependabot dependabot bot closed this Oct 24, 2022
@dependabot dependabot bot deleted the dependabot/pip/hikari-tanjun-2.8.0a1 branch October 24, 2022 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant