diff --git a/CHANGELOG.md b/CHANGELOG.md index c480359176..a3106cb194 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,55 @@ This file is updated every release with the use of `towncrier` from the fragment .. towncrier release notes start +Hikari 2.0.0.dev109 (2022-06-26) +================================ + +Breaking Changes +---------------- + +- Removal of all application commands v1 related fields and endpoints. + - Discord has completely disabled some endpoints, so we unfortunately can't + deprecate them instead of removing them ([#1148](https://github.com/hikari-py/hikari/issues/1148)) +- Removed the `resolved` attribute from `AutocompleteInteraction` as autocomplete interactions never have resolved objects. ([#1152](https://github.com/hikari-py/hikari/issues/1152)) +- `build` methods are now typed as returning `MutableMapping[str, typing.Any]`. ([#1164](https://github.com/hikari-py/hikari/issues/1164)) + + +Deprecation +----------- + +- `messages.Mentions` object deprecated + - Alternatives can be found in the base message object ([#1149](https://github.com/hikari-py/hikari/issues/1149)) + + +Features +-------- + +- Add `create` method to `CommandBuilder`. ([#1016](https://github.com/hikari-py/hikari/issues/1016)) +- Support for attachments in REST-based interaction responses. ([#1048](https://github.com/hikari-py/hikari/issues/1048)) +- Add option to disable automatic member chunking. + Added the `auto_chunk_members` kwarg to `GatewayBot` and `EventManagerImpl`, which when `False` will disable automatic member chunking. ([#1084](https://github.com/hikari-py/hikari/issues/1084)) +- Allow passing multiple event types to the listen decorator. + Parse union type hints for events if listen decorator is empty. ([#1103](https://github.com/hikari-py/hikari/issues/1103)) +- Animated guild banner support. ([#1116](https://github.com/hikari-py/hikari/issues/1116)) +- Implement application commands permission v2. + - New `default_member_permissions` and `is_dm_enabled` related fields. + - Added `hikari.events.application_events.ApplicationCommandPermissionsUpdate`. + - Added `APPLICATION_COMMAND_PERMISSION_UPDATE` audit log entry ([#1148](https://github.com/hikari-py/hikari/issues/1148)) + + +Bugfixes +-------- + +- Improved pyright support. ([#1108](https://github.com/hikari-py/hikari/issues/1108)) +- `RESTClientImpl.fetch_bans` now return a `LazyIterator` to allow pagination of values. ([#1119](https://github.com/hikari-py/hikari/issues/1119)) +- Fix unicode decode error caused by `latin-1` encoding when sending the banner. ([#1120](https://github.com/hikari-py/hikari/issues/1120)) +- Don't error on an out-of-spec HTTP status code (e.g one of Cloudflare's custom status codes). + `HTTPResponseError.status` may now be of type `http.HTTPStatus` or `int`. ([#1121](https://github.com/hikari-py/hikari/issues/1121)) +- Fix name of polish locale (`hikari.Locale.OL` -> `hikari.Locale.PL`) ([#1144](https://github.com/hikari-py/hikari/issues/1144)) +- Properly garbage collect message references in the cache + - Properly deserialize `PartialMessage.referenced_message` as a partial message ([#1192](https://github.com/hikari-py/hikari/issues/1192)) + + Hikari 2.0.0.dev108 (2022-03-27) ================================ diff --git a/changes/1016.feature.md b/changes/1016.feature.md deleted file mode 100644 index f8168d8da9..0000000000 --- a/changes/1016.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `create` method to `CommandBuilder`. diff --git a/changes/1048.feature.md b/changes/1048.feature.md deleted file mode 100644 index d6b99b2000..0000000000 --- a/changes/1048.feature.md +++ /dev/null @@ -1 +0,0 @@ -Support for attachments in REST-based interaction responses. diff --git a/changes/1084.feature.md b/changes/1084.feature.md deleted file mode 100644 index 16c233b490..0000000000 --- a/changes/1084.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Add option to disable automatic member chunking. -Added the `auto_chunk_members` kwarg to `GatewayBot` and `EventManagerImpl`, which when `False` will disable automatic member chunking. diff --git a/changes/1103.feature.md b/changes/1103.feature.md deleted file mode 100644 index c5eae50102..0000000000 --- a/changes/1103.feature.md +++ /dev/null @@ -1,2 +0,0 @@ -Allow passing multiple event types to the listen decorator. -Parse union type hints for events if listen decorator is empty. diff --git a/changes/1108.bugfix.md b/changes/1108.bugfix.md deleted file mode 100644 index ed6719387e..0000000000 --- a/changes/1108.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Improved pyright support. diff --git a/changes/1116.feature.md b/changes/1116.feature.md deleted file mode 100644 index edf0dd6bbb..0000000000 --- a/changes/1116.feature.md +++ /dev/null @@ -1 +0,0 @@ -Animated guild banner support. diff --git a/changes/1119.bugfix.md b/changes/1119.bugfix.md deleted file mode 100644 index f3e4007e67..0000000000 --- a/changes/1119.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -`RESTClientImpl.fetch_bans` now return a `LazyIterator` to allow pagination of values. diff --git a/changes/1120.bugfix.md b/changes/1120.bugfix.md deleted file mode 100644 index 04734d5e51..0000000000 --- a/changes/1120.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix unicode decode error caused by `latin-1` encoding when sending the banner. diff --git a/changes/1121.bugfix.md b/changes/1121.bugfix.md deleted file mode 100644 index 67440ca321..0000000000 --- a/changes/1121.bugfix.md +++ /dev/null @@ -1,2 +0,0 @@ -Don't error on an out-of-spec HTTP status code (e.g one of Cloudflare's custom status codes). -`HTTPResponseError.status` may now be of type `http.HTTPStatus` or `int`. diff --git a/changes/1144.bugfix.md b/changes/1144.bugfix.md deleted file mode 100644 index 73e5688242..0000000000 --- a/changes/1144.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix name of polish locale (`hikari.Locale.OL` -> `hikari.Locale.PL`) diff --git a/changes/1148.breaking.md b/changes/1148.breaking.md deleted file mode 100644 index feddb3ccde..0000000000 --- a/changes/1148.breaking.md +++ /dev/null @@ -1,3 +0,0 @@ -Removal of all application commands v1 related fields and endpoints. - - Discord has completely disabled some endpoints, so we unfortunately can't - deprecate them instead of removing them diff --git a/changes/1148.feature.md b/changes/1148.feature.md deleted file mode 100644 index fadac43e88..0000000000 --- a/changes/1148.feature.md +++ /dev/null @@ -1,4 +0,0 @@ -Implement application commands permission v2. - - New `default_member_permissions` and `is_dm_enabled` related fields. - - Added `hikari.events.application_events.ApplicationCommandPermissionsUpdate`. - - Added `APPLICATION_COMMAND_PERMISSION_UPDATE` audit log entry diff --git a/changes/1149.deprecation.md b/changes/1149.deprecation.md deleted file mode 100644 index 65c7881e9b..0000000000 --- a/changes/1149.deprecation.md +++ /dev/null @@ -1,2 +0,0 @@ -`messages.Mentions` object deprecated - - Alternatives can be found in the base message object diff --git a/changes/1152.breaking.md b/changes/1152.breaking.md deleted file mode 100644 index c648d2988a..0000000000 --- a/changes/1152.breaking.md +++ /dev/null @@ -1 +0,0 @@ -Removed the `resolved` attribute from `AutocompleteInteraction` as autocomplete interactions never have resolved objects. diff --git a/changes/1164.breaking.md b/changes/1164.breaking.md deleted file mode 100644 index 1f0c06a812..0000000000 --- a/changes/1164.breaking.md +++ /dev/null @@ -1 +0,0 @@ -`build` methods are now typed as returning `MutableMapping[str, typing.Any]`. diff --git a/changes/1192.bugfix.md b/changes/1192.bugfix.md deleted file mode 100644 index f84e19a270..0000000000 --- a/changes/1192.bugfix.md +++ /dev/null @@ -1,2 +0,0 @@ -Properly garbage collect message references in the cache - - Properly deserialize `PartialMessage.referenced_message` as a partial message