Configurable cache
Pre-release
Pre-release
Breaking changes
- RestAware does not include CacheAware anymore
- Guild chunker removed
PartialMessage.reply
renamed toPartialMessage.respond
reply_message
arg renamed toreply
reply_mention
arg renamed tomentions_reply
PresenceUpdateEvent.get_cached_user
renamed toPresenceUpdateEvent.get_user
- Documentation has been moved from
https://hikari-py.github.io/hikari/hikari
tohttps://hikari-py.github.io/hikari/documentation
chunking_limit
andenable_cache
args removed fromBotImpl
- To retain the functionality of
enable_cache
, please useBotImpl(cache_settings=CacheSttings(enable=False))
- To retain the functionality of
Features
source_channel
andsource_guild
have been added toWebhook
- Guild template objects and endpoints
Member.is_pending
attribute addedMember.roles
property addedapplications.TeamMember
now extendsusers.User
- Twemoji base url has been switched to raw.githubusercontent.com to avoid redirects
- Stateful and stateless components merged
Message.respond
can take inreply
asTrue
to reply to the messageGuildAvailableEvent
now includes aguild_chunk_nonce
attribute to aid tracking chunks- CacheImpl rewritten internally
- Fully configurable (
hikari.config.CacheSettings
) - Allow snowflakes.Snowflakeish to be used for IDs in calls to cache
- Fully configurable (
Bugfixes
- Improve handling websocket disconnects
- Mobile friendly landing page
OwnUser.send
now matches the inherited signaturementions_reply
added toedit_message
- PyPI checker now recomends you to update dev releases
- Voice state now correctly updates (muting and deafening)
- Cache now cleared out on bot closure
.channel
properties failing to assert whenNone