v2.14.0
·
130 commits
to master
since this release
2.14.0 - 2023-04-24
Added
- Support for declaring command options through default descriptors. These descriptors are:
tanjun.annotations.attachment_fieldtanjun.annotations.bool_fieldtanjun.annotations.channel_fieldtanjun.annotations.float_fieldtanjun.annotations.int_fieldtanjun.annotations.member_fieldtanjun.annotations.mentionable_fieldtanjun.annotations.role_fieldtanjun.annotations.str_fieldtanjun.annotations.user_field
Deprecated
-
Using the following classes as generic types (i.e.
Class[...]):tanjun.annotations.Convertedtanjun.annotations.Defaulttanjun.annotations.Greedytanjun.annotations.Lengthtanjun.annotations.Maxtanjun.annotations.Mintanjun.annotations.Positionaltanjun.annotations.Rangedtanjun.annotations.SnowflakeOr
These can still be passed as other args to
typing.Annotatedafter being initialised.