Skip to content

Threads and V10!

Pre-release
Pre-release
Compare
Choose a tag to compare
@davfsa davfsa released this 06 Nov 15:59
· 700 commits to master since this release
a02498e

Hikari 2.0.0.dev112 (2022-11-06)

Breaking Changes

  • Moved permission overwrite mapping and permission related methods from GuildChannel to PermissibleGuildChannel. (#811)

  • Support v10 attachments edits

    This includes breaking changes, features and things to look out for when editing messages:

    • Modifying attachments in messages that contain embeds with any image attached to them now requires the images of that embed
      image to be re-passed in the edit or they will be lost.
    • attachment and attachments in message edits now support passing an Attachment object to keep existing attachments.
    • replace_attachments has been removed, as it is now the default.
      • attachment and attachments now supports None to replicate the behaviour of fully removing all attachments.
    • InteractionMessageBuilder.clear_attachments has been implemented to remove existing attachments from messages. (#1260)

Features

  • Thread support for REST requests and gateway events. (#811)
  • Startup and shutdown callbacks for the RESTBot interface/impl. (#999)
  • Support specifying with_counts and with_expiration in RESTClient.fetch_invite (#1330)
  • Support for including the SUPPRESS_EMBEDS flag while creating a message. (#1331)
  • Add MANAGE_EVENTS permission to hikari.Permissions (#1334)

Bugfixes

  • Wrong typehint for InviteGuild.features. (#1307)
  • Fix aiohttp error "charset must not be in content type" when using InteractionServer (#1320)
  • The REST list methods (e.g. fetch_channels) no-longer raise hikari.errors.UnrecognisedEntityError when they encounter an unknown type. (#1337)
  • Fix deprecation warnings in CPython3.11 in hikari.internal.ux. (#1344)