Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2022

Bumps hikari-tanjun from 2.7.0a1 to 2.10.1a1.

Release notes

Sourced from hikari-tanjun's releases.

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 allows int nor float to be passed.
  • TimeSchedule.__init__ and tanjun.as_time_schedule now raise a TypeError instead of ValueError when a float is passed in or for any of its arguments.
  • The arguments for tanjun.clients.on_parser_error and Client.set_human_only.
  • The signatures of several internally used but publicly exported functions have been fixed to ensure they better follow the library's rules for positional and keyword arguments. For more information see Cursed-Solutions/Tanjun@a06b43d.

Deprecated

  • BaseConverter.async_caches, BaseConverter.cache_components and BaseConverter.intents.

Fixed

  • The hot reloader will no-longer miss command changes made while it's in the middle of redeclaring commands.
  • Component.remove_command now supports menu commands.

v2.10.0a1

[2.10.0a1] - 2022-11-24

Added

  • Support for message commands to tanjun.annotations.TheseChannels.

... (truncated)

Changelog

Sourced from hikari-tanjun's changelog.

[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.
  • [TimeSchedule.__init__][tanjun.schedules.TimeSchedule.init] and [tanjun.as_time_schedule][] now raise a [TypeError][] instead of [ValueError][] when a float is passed in or for any of its arguments.
  • The arguments for [tanjun.clients.on_parser_error][] and [Client.set_human_only][tanjun.Client.set_human_only].
  • The signatures of several internally used but publicly exported functions have been fixed to ensure they better follow the library's rules for positional and keyword arguments. For more information see Cursed-Solutions/Tanjun@a06b43d.

Deprecated

  • BaseConverter.async_caches, BaseConverter.cache_components and BaseConverter.intents.

Fixed

  • The hot reloader will no-longer miss command changes made while it's in the middle of redeclaring commands.
  • [Component.remove_command][tanjun.components.Component.remove_command] now supports menu commands.

[2.10.0a1] - 2022-11-24

... (truncated)

Commits
  • c519bbb Bump ver for release (#605)
  • 453f7de Default back to GITHUB_TOKEN (#603)
  • 319b6fa Add markup linters to the CI (#602)
  • d96fed9 Add back used default pre-coomit-hooks (#601)
  • a06b43d Some consistency fixes for arg positionality + have black skip magic commas (...
  • 304cfe5 Switch to pip-compile-cross-platform for generating dev dep lock files (#600)
  • 19b3dd7 Add more flake8 plugins (#599)
  • 0054110 Loop back naturally more often in the hot reloader (#598)
  • a06ab27 Add cache component check to converter config startup logging (#567)
  • f7e8978 Handle commands being changed while the reloader is declaring (#597)
  • Additional commits viewable in compare view

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 Dec 2, 2022
@dependabot dependabot bot force-pushed the dependabot/pip/hikari-tanjun-2.10.1a1 branch from 21b100d to 3935b5b Compare December 8, 2022 00:22
@dependabot dependabot bot force-pushed the dependabot/pip/hikari-tanjun-2.10.1a1 branch 2 times, most recently from 10d36ba to d4016cc Compare December 21, 2022 23:52
@dependabot dependabot bot force-pushed the dependabot/pip/hikari-tanjun-2.10.1a1 branch from d4016cc to 8e80c84 Compare December 29, 2022 03:43
Bumps [hikari-tanjun](https://github.com/FasterSpeeding/tanjun) from 2.7.0a1 to 2.10.1a1.
- [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.10.1a1)

---
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.10.1a1 branch from 8e80c84 to a59bb13 Compare December 29, 2022 23:34
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 2, 2023

Superseded by #116.

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