Selects V2, linked roles, guild audit log create event support and massive speedups!
Pre-release
Pre-release
2.0.0.dev116 (2023-02-06)
Breaking Changes
- Remove
RateLimitedError
in favour of always waiting on ratelimits. (#1441) - (#1455)
- Default logging to
sys.stdout
stream to bring more in-line with banner output. (#1485)
Deprecation
- Deprecate selects v1 functionality:
ComponentType.SELECT_MENU
->ComponentType.TEXT_SELECT_MENU
- Not passing
MessageActionRowBuilder.add_select_menu
'stype
argument explicitly. InteractionChannel
andResolvedOptionData
moved fromhikari.interactions.command_interactions
tohikari.interactions.base_interactions
. (#1455)
- Renamed
Intents.GUILD_BANS
toIntents.GUILD_MODERATION
. (#1471)
Features
- Add linked roles support (models + endpoints). (#1422)
- Add selects v2 components. (#1455)
- Added
fetch_self
,edit
,delete
,sync
, andcreate_guild
methods tohikari.templates.Template
. (#1457) - Add ability to suppress optimization warnings through
suppress_optimization_warning=True
to theGatewayBot
orRESTBot
constructors. (#1459) - Support GIF sticker image format (#1464)
- Add support for guild audit log entry create events. (#1471)
- Update
RESTClient.edit_channnel
to support settingapplied_tags
on forum threads. (#1474) - Implement
reply_must_exist
in create message methods (#1475) - Support loading files through
logging.config.fileConfig
ininit_logging
. (#1485) - Add
orjson
as an optional speedup and allow to pass customjson.dumps
andjson.loads
functions to all components. (#1486)
Bugfixes
- The global ratelimit now abides by
max_rate_limit
. (#1441) - Move
description_localizations
fromPartialCommand
toSlashCommand
(removing it fromContextMenuCommand
). (#1470) - Add missing fields to
GuildChannel.edit
. (#1474) - Fix
hikari.webhooks.ChannelFollowWebhook
not including source in all cases.source_channel
andsource_guild
will beNone
instead. (#1480)
- Fix colour logging not occurring on specific terminals (ie, Pycharm). (#1485)