diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9a025bce..320447cab0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,43 @@ This file is updated every release with the use of `towncrier` from the fragment .. towncrier release notes start +Hikari 2.0.0.dev112 (2022-11-06) +================================ + +Breaking Changes +---------------- + +- Moved permission overwrite mapping and permission related methods from `GuildChannel` to `PermissibleGuildChannel`. ([#811](https://github.com/hikari-py/hikari/issues/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](https://github.com/hikari-py/hikari/issues/1260)) + + +Features +-------- + +- Thread support for REST requests and gateway events. ([#811](https://github.com/hikari-py/hikari/issues/811)) +- Startup and shutdown callbacks for the RESTBot interface/impl. ([#999](https://github.com/hikari-py/hikari/issues/999)) +- Support specifying `with_counts` and `with_expiration` in `RESTClient.fetch_invite` ([#1330](https://github.com/hikari-py/hikari/issues/1330)) +- Support for including the `SUPPRESS_EMBEDS` flag while creating a message. ([#1331](https://github.com/hikari-py/hikari/issues/1331)) +- Add `MANAGE_EVENTS` permission to `hikari.Permissions` ([#1334](https://github.com/hikari-py/hikari/issues/1334)) + + +Bugfixes +-------- + +- Wrong typehint for `InviteGuild.features`. ([#1307](https://github.com/hikari-py/hikari/issues/1307)) +- Fix aiohttp error "charset must not be in content type" when using `InteractionServer` ([#1320](https://github.com/hikari-py/hikari/issues/1320)) +- The REST list methods (e.g. `fetch_channels`) no-longer raise `hikari.errors.UnrecognisedEntityError` when they encounter an unknown type. ([#1337](https://github.com/hikari-py/hikari/issues/1337)) +- Fix deprecation warnings in CPython3.11 in `hikari.internal.ux`. ([#1344](https://github.com/hikari-py/hikari/issues/1344)) + + Hikari 2.0.0.dev111 (2022-09-26) ================================ diff --git a/changes/1260.breaking.md b/changes/1260.breaking.md deleted file mode 100644 index ccc7e5617f..0000000000 --- a/changes/1260.breaking.md +++ /dev/null @@ -1,9 +0,0 @@ -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. diff --git a/changes/1307.bugfix.md b/changes/1307.bugfix.md deleted file mode 100644 index 5116a2fd4a..0000000000 --- a/changes/1307.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Wrong typehint for `InviteGuild.features`. diff --git a/changes/1320.bugfix.md b/changes/1320.bugfix.md deleted file mode 100644 index 82d5e9fb3a..0000000000 --- a/changes/1320.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix aiohttp error "charset must not be in content type" when using `InteractionServer` diff --git a/changes/1330.feature.md b/changes/1330.feature.md deleted file mode 100644 index 2a6313d56d..0000000000 --- a/changes/1330.feature.md +++ /dev/null @@ -1 +0,0 @@ -Support specifying `with_counts` and `with_expiration` in `RESTClient.fetch_invite` diff --git a/changes/1331.feature.md b/changes/1331.feature.md deleted file mode 100644 index 7381116539..0000000000 --- a/changes/1331.feature.md +++ /dev/null @@ -1 +0,0 @@ -Support for including the `SUPPRESS_EMBEDS` flag while creating a message. diff --git a/changes/1334.feature.md b/changes/1334.feature.md deleted file mode 100644 index cd6bbbb029..0000000000 --- a/changes/1334.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `MANAGE_EVENTS` permission to `hikari.Permissions` diff --git a/changes/1337.bugfix.md b/changes/1337.bugfix.md deleted file mode 100644 index c84a2e9556..0000000000 --- a/changes/1337.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -The REST list methods (e.g. `fetch_channels`) no-longer raise `hikari.errors.UnrecognisedEntityError` when they encounter an unknown type. diff --git a/changes/1344.bugfix.md b/changes/1344.bugfix.md deleted file mode 100644 index d4fc65c8ad..0000000000 --- a/changes/1344.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix deprecation warnings in CPython3.11 in `hikari.internal.ux`. diff --git a/changes/811.breaking.md b/changes/811.breaking.md deleted file mode 100644 index 8965a9b883..0000000000 --- a/changes/811.breaking.md +++ /dev/null @@ -1 +0,0 @@ -Moved permission overwrite mapping and permission related methods from `GuildChannel` to `PermissibleGuildChannel`. diff --git a/changes/811.feature.md b/changes/811.feature.md deleted file mode 100644 index 9168a90949..0000000000 --- a/changes/811.feature.md +++ /dev/null @@ -1 +0,0 @@ -Thread support for REST requests and gateway events. diff --git a/changes/999.feature.md b/changes/999.feature.md deleted file mode 100644 index 88e1013efd..0000000000 --- a/changes/999.feature.md +++ /dev/null @@ -1 +0,0 @@ -Startup and shutdown callbacks for the RESTBot interface/impl.