Skip to content

v2.12.0

Choose a tag to compare

@FasterSpeeding FasterSpeeding released this 12 Mar 04:24
· 158 commits to master since this release
c3f9541

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.