scriptydev / prescripty

Early version of Scripty during development.
https://scriptybot.web.app
Apache License 2.0
3 stars 0 forks source link

Bump hikari-tanjun from 2.7.0a1 to 2.12.0 #145

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps hikari-tanjun from 2.7.0a1 to 2.12.0.

Release notes

Sourced from hikari-tanjun's releases.

v2.12.0

2.12.0 - 2023-03-12

Added

  • Support for declaring the options for a command using **kwargs: typing.Unpack[TypedDict] when using the annotations parsing impl in tanjun.annotations.
  • tanjun.abc.NO_PASS for marking command options as being not passed when they weren't provided.

Changed

  • Marked deprecated classes, functions and overloads as deprecated using typing.deprecated. Deprecated class aliases are now separate classes to allow warning on init.

Deprecated

  • Renamed tanjun.parsing.UNDEFINED_DEFAULT and tanjun.commands.slash.UNDEFINED_DEFAULT to tanjun.abc.NO_DEFAULT.
  • tanjun.parsing.UndefinedT.

v2.11.4

2.11.4 - 2023-02-08

Fixed

  • Context.create_initial_response (and by extension Context.respond for the initial response specifically) will no-longer try to pass the attachment, component or embed as the actual message content when passed for the content argument for REST-based interaction commands.
  • Removed use of and references to hikari.RateLimitedError to fix compatibility with hikari>=2.0.0.dev116.

v2.11.3

2.11.3 - 2023-02-01

Added

  • tanjun.MenuHooks is now exported top-level.

Changed

  • Improved the typing of callbacks which support DI to enforce the type of any positionally passed arguments with a static type.

Fixed

  • tanjun.annotations.Converted now properly overrides the actual type annotation for slash commands.
  • The add_{}_option and with_{}_option methods for the standard slash command impl will no-longer mishandle iterable but non-sequence types like enum.Enum as if they were a sequence of converters when they are passed as the value for converters.

v2.11.2

[2.11.2] - 2023-01-23

... (truncated)

Changelog

Sourced from hikari-tanjun's changelog.

[2.12.0] - 2023-03-12

Added

  • Support for declaring the options for a command using **kwargs: typing.Unpack[TypedDict] when using the annotations parsing impl in [tanjun.annotations][].
  • [tanjun.abc.NO_PASS][] for marking command options as being not passed when they weren't provided.

Changed

  • Marked deprecated classes, functions and overloads as deprecated using typing.deprecated. Deprecated class aliases are now separate classes to allow warning on init.

Deprecated

  • Renamed [tanjun.parsing.UNDEFINED_DEFAULT][] and [tanjun.commands.slash.UNDEFINED_DEFAULT][] to [tanjun.abc.NO_DEFAULT][].
  • [tanjun.parsing.UndefinedT][].

[2.11.4] - 2023-02-08

Fixed

  • Context.create_initial_response (and by extension Context.respond for the initial response specifically) will no-longer try to pass the attachment, component or embed as the actual message content when passed for the content argument for REST-based interaction commands.
  • Removed use of and references to hikari.RateLimitedError to fix compatibility with hikari>=2.0.0.dev116.

[2.11.3] - 2023-02-01

Added

  • [tanjun.MenuHooks][] is now exported top-level.

Changed

  • Improved the typing of callbacks which support DI to enforce the type of any positionally passed arguments with a static type.

Fixed

  • [tanjun.annotations.Converted][] now properly overrides the actual type annotation for slash commands.
  • The add_{}_option and with_{}_option methods for the standard slash command impl will no-longer mishandle iterable but non-sequence types like [enum.Enum][] as if they were a sequence of converters when they are passed as the value for converters.

[2.11.2] - 2023-01-23

Changed

  • [tanjun.clients.Client.from_gateway_bot][] can now also take cache-less ShardAware bots.

Fixed

  • [tanjun.clients.Client.set_human_only][] no longer registers the internal check multiple times when called with [True][] multiple times.

[2.11.1] - 2023-01-07

... (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[bot] commented 1 year ago

Superseded by #153.