Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 2023

Bumps hikari-tanjun from 2.7.0a1 to 2.11.1.

Release notes

Sourced from hikari-tanjun's releases.

v2.11.1

2.11.1 - 2023-01-07

Added

  • Support for specifying Guild Forum channels for the constraints of a channel command option.

Changed

  • Bumped the minimum Hikari version to 2.0.0.dev115.

v2.11.0

2.11.0 - 2022-12-31

Added

  • Support for passing relative timedeltas to tanjun.conversion.from_datetime.
  • Support for passing multiple callbacks to add_check, add_client_callback, add_listener, add_on_close and add_on_open.
  • Support for creating modals in response to Slash and Context menu commands.

Changed

  • Bumped the minimum Hikari version to hikari~=2.0.0.dev113.

v2.10.1a1

[2.10.1a1] - 2022-12-02

Added

  • Slash command specific tanjun.annotations.InteractionChannel and tanjun.annotations.InteractionMember types for annotation parsing.
  • Exposed non-decorator version of with_annotated_args at tanjun.annotations.parse_annotated_args. This comes with the added functionality of letting you directly pass slash command option descriptions to the callback via the descriptions argument (instead of putting strings in annotations).
  • Add cache component checks to the startup logging for converter client config compatibility.

Changed

  • tanjun.annotations.with_annotated_args will now raise if a slash command-specific type is used for a required message command parameter.
  • Converter startup client config logs now only use info level when REST fallback is possible.
  • allowed_types=[] is now treated as allowing no channel types (rather than any) when passed to tanjun.conversion.ToChannel.__init__.
  • tanjun.annotations.Choices now raises a TypeError instead of ValueError if an enum class which isn't a subclass of int, float or str is passed to it as a type variable (e.g Choices[Enum]).
  • tanjun.annotations.with_annotated_args now raises TypeError instead of ValueError if a value of the wrong type is provided as any of the choices, min value or max value.
  • The descriptors generated by tanjun.as_unloader and tanjun.as_loader now raise a TypeError if the wrong client implementation is passed to them when standard_impl is True.
  • Component.add_command, Component.remove_command and Component.with_command now raise TypeError instead of ValueError if the object isn't a message, menu or slash command.
  • The standard converters in tanjun.conversion no-longer allow float to be passed.
  • to_invite, ToInvite.__call__, to_invite_with_metadata and ToInviteWithMetadata.__call__ no-longer

... (truncated)

Changelog

Sourced from hikari-tanjun's changelog.

[2.11.1] - 2023-01-07

Added

  • Support for specifying Guild Forum channels for the constraints of a channel command option.

Changed

  • Bumped the minimum Hikari version to 2.0.0.dev115.

[2.11.0] - 2022-12-31

Added

  • Support for passing relative timedeltas to [tanjun.conversion.from_datetime][].
  • Support for passing multiple callbacks to add_check, add_client_callback, add_listener, add_on_close and add_on_open.
  • Support for creating modals in response to Slash and Context menu commands.

Changed

  • Bumped the minimum Hikari version to hikari~=2.0.0.dev113.

[2.10.1a1] - 2022-12-02

Added

  • Slash command specific [tanjun.annotations.InteractionChannel][] and [tanjun.annotations.InteractionMember][] types for annotation parsing.
  • Exposed non-decorator version of [with_annotated_args][tanjun.annotations.with_annotated_args] at [tanjun.annotations.parse_annotated_args][]. This comes with the added functionality of letting you directly pass slash command option descriptions to the callback via the descriptions argument (instead of putting strings in annotations).
  • Add cache component checks to the startup logging for converter client config compatibility.

Changed

  • [tanjun.annotations.with_annotated_args][] will now raise if a slash command-specific type is used for a required message command parameter.
  • Converter startup client config logs now only use info level when REST fallback is possible.
  • allowed_types=[] is now treated as allowing no channel types (rather than any) when passed to [tanjun.conversion.ToChannel.__init__][tanjun.conversion.ToChannel.init].
  • [tanjun.annotations.Choices][] now raises a [TypeError][] instead of [ValueError][] if an enum class which isn't a subclass of [int][], [float][] or [str][] is passed to it as a type variable (e.g Choices[Enum]).
  • [tanjun.annotations.with_annotated_args][] now raises [TypeError][] instead of [ValueError][] if a value of the wrong type is provided as any of the choices, min value or max value.
  • The descriptors generated by [tanjun.as_unloader][] and [tanjun.as_loader][] now raise a [TypeError][] if the wrong client implementation is passed to them when standard_impl is [True][].
  • [Component.add_command][tanjun.components.Component.add_command], [Component.remove_command][tanjun.components.Component.remove_command] and [Component.with_command][tanjun.components.Component.with_command] now raise [TypeError][] instead of [ValueError][] if the object isn't a message, menu or slash command.
  • The standard converters in [tanjun.conversion][] no-longer allow [float][] to be passed.
  • [to_invite][tanjun.to_invite], [ToInvite.__call__][tanjun.conversion.ToInvite], [to_invite_with_metadata][tanjun.to_invite_with_metadata] and [ToInviteWithMetadata.__call__][tanjun.conversion.ToInviteWithMetadata] no-longer allows [int][] nor [float][] to be passed.

... (truncated)

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 Jan 9, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/hikari-tanjun-2.11.1 branch 2 times, most recently from 381b4b8 to ebb62a0 Compare January 13, 2023 13:22
Bumps [hikari-tanjun](https://github.com/FasterSpeeding/tanjun) from 2.7.0a1 to 2.11.1.
- [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.11.1)

---
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.11.1 branch from ebb62a0 to f26198a Compare January 16, 2023 23:46
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 23, 2023

Superseded by #128.

@dependabot dependabot bot closed this Jan 23, 2023
@dependabot dependabot bot deleted the dependabot/pip/hikari-tanjun-2.11.1 branch January 23, 2023 23:13
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