diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9fd2702..933c63b60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,36 @@ +## 2.0.0 (2024-08-28) + +### Breaking Changes + +- Drop Python 3.8 support. ([#2008](https://github.com/hikari-py/hikari/issues/2008)) + +### Features + +- Implement stage instances ([#1725](https://github.com/hikari-py/hikari/issues/1725)) +- Add Python 3.13 support ([#1793](https://github.com/hikari-py/hikari/issues/1793)) +- Add `title` and `description` fields to `Attachment`. ([#1945](https://github.com/hikari-py/hikari/issues/1945)) +- Add `display_name` to `PartialUser` ([#1951](https://github.com/hikari-py/hikari/issues/1951)) +- Remove `Optional` type hint from `CommandInteraction.options` - it will now always be an empty sequence when not provided. ([#1965](https://github.com/hikari-py/hikari/issues/1965)) +- Application-bound emojis API support. ([#1990](https://github.com/hikari-py/hikari/issues/1990)) +- Add `Member.guild_flag` and matching `GuildMemberFlags` enum. ([#2004](https://github.com/hikari-py/hikari/issues/2004)) +- Add `Message.thread` field. ([#2012](https://github.com/hikari-py/hikari/issues/2012)) +- Add new voice endpoints (`fetch_my_voice_state` and `fetch_voice_state`) ([#2016](https://github.com/hikari-py/hikari/issues/2016)) +- Add `fetch_role` method to `RESTClient` ([#2020](https://github.com/hikari-py/hikari/issues/2020)) + +### Bugfixes + +- Fix incorrect cleanup when failing to create request with a web reader ([#1946](https://github.com/hikari-py/hikari/issues/1946)) +- Fix serializing JSON dicts with enum values as keys. + + See https://github.com/hikari-py/hikari/issues/1955 ([#1957](https://github.com/hikari-py/hikari/issues/1957)) +- Use Discord Media Proxy instead of CDN for animated stickers urls ([#1982](https://github.com/hikari-py/hikari/issues/1982)) +- Use correct URL route for scheduled event covers. ([#1983](https://github.com/hikari-py/hikari/issues/1983)) +- Perform proper comparison when checking `CustomEmoji` against `KnownCustomEmoji`. ([#1986](https://github.com/hikari-py/hikari/issues/1986)) +- Add `NITRO_BASIC` attribute to `PremiumType` ([#1988](https://github.com/hikari-py/hikari/issues/1988)) +- Fix incorrectly deserialized field `type` in `ChannelOverwriteEntryInfo` ([#1993](https://github.com/hikari-py/hikari/issues/1993)) +- Add missing `AuditLogChangeKey.COMMUNICATION_DISABLED_UNTIL` and matching key deserialization ([#1996](https://github.com/hikari-py/hikari/issues/1996)) + +--- ## 2.0.0.dev126 (2024-06-20) ### Features diff --git a/changes/1725.feature.md b/changes/1725.feature.md deleted file mode 100644 index c9c02fd0c..000000000 --- a/changes/1725.feature.md +++ /dev/null @@ -1 +0,0 @@ -Implement stage instances diff --git a/changes/1793.feature.md b/changes/1793.feature.md deleted file mode 100644 index 982dece68..000000000 --- a/changes/1793.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add Python 3.13 support diff --git a/changes/1945.feature.md b/changes/1945.feature.md deleted file mode 100644 index aa826bd97..000000000 --- a/changes/1945.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `title` and `description` fields to `Attachment`. diff --git a/changes/1946.bugfix.md b/changes/1946.bugfix.md deleted file mode 100644 index 820d1f04f..000000000 --- a/changes/1946.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix incorrect cleanup when failing to create request with a web reader diff --git a/changes/1951.feature.md b/changes/1951.feature.md deleted file mode 100644 index c82a655d3..000000000 --- a/changes/1951.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `display_name` to `PartialUser` diff --git a/changes/1957.bugfix.md b/changes/1957.bugfix.md deleted file mode 100644 index c715d7f6c..000000000 --- a/changes/1957.bugfix.md +++ /dev/null @@ -1,3 +0,0 @@ -Fix serializing JSON dicts with enum values as keys. - -See https://github.com/hikari-py/hikari/issues/1955 diff --git a/changes/1965.feature.md b/changes/1965.feature.md deleted file mode 100644 index 829abca68..000000000 --- a/changes/1965.feature.md +++ /dev/null @@ -1 +0,0 @@ -Remove `Optional` type hint from `CommandInteraction.options` - it will now always be an empty sequence when not provided. diff --git a/changes/1982.bugfix.md b/changes/1982.bugfix.md deleted file mode 100644 index b6f319d28..000000000 --- a/changes/1982.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Use Discord Media Proxy instead of CDN for animated stickers urls diff --git a/changes/1983.bugfix.md b/changes/1983.bugfix.md deleted file mode 100644 index f9f8ea753..000000000 --- a/changes/1983.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Use correct URL route for scheduled event covers. diff --git a/changes/1986.bugfix.md b/changes/1986.bugfix.md deleted file mode 100644 index f60e84594..000000000 --- a/changes/1986.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Perform proper comparison when checking `CustomEmoji` against `KnownCustomEmoji`. diff --git a/changes/1988.bugfix.md b/changes/1988.bugfix.md deleted file mode 100644 index 1ef06a091..000000000 --- a/changes/1988.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Add `NITRO_BASIC` attribute to `PremiumType` diff --git a/changes/1990.feature.md b/changes/1990.feature.md deleted file mode 100644 index 21f000983..000000000 --- a/changes/1990.feature.md +++ /dev/null @@ -1 +0,0 @@ -Application-bound emojis API support. diff --git a/changes/1993.bugfix.md b/changes/1993.bugfix.md deleted file mode 100644 index a13c53609..000000000 --- a/changes/1993.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix incorrectly deserialized field `type` in `ChannelOverwriteEntryInfo` diff --git a/changes/1996.bugfix.md b/changes/1996.bugfix.md deleted file mode 100644 index 107882fe2..000000000 --- a/changes/1996.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Add missing `AuditLogChangeKey.COMMUNICATION_DISABLED_UNTIL` and matching key deserialization diff --git a/changes/2004.feature.md b/changes/2004.feature.md deleted file mode 100644 index ea12edf53..000000000 --- a/changes/2004.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `Member.guild_flag` and matching `GuildMemberFlags` enum. diff --git a/changes/2008.breaking.md b/changes/2008.breaking.md deleted file mode 100644 index 4308d194d..000000000 --- a/changes/2008.breaking.md +++ /dev/null @@ -1 +0,0 @@ -Drop Python 3.8 support. diff --git a/changes/2012.feature.md b/changes/2012.feature.md deleted file mode 100644 index b76d8f548..000000000 --- a/changes/2012.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `Message.thread` field. diff --git a/changes/2016.feature.md b/changes/2016.feature.md deleted file mode 100644 index 95faef357..000000000 --- a/changes/2016.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add new voice endpoints (`fetch_my_voice_state` and `fetch_voice_state`) diff --git a/changes/2020.feature.md b/changes/2020.feature.md deleted file mode 100644 index e87de0acc..000000000 --- a/changes/2020.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `fetch_role` method to `RESTClient` diff --git a/hikari/_about.py b/hikari/_about.py index 0e5dff99b..e8bb68d0e 100644 --- a/hikari/_about.py +++ b/hikari/_about.py @@ -34,10 +34,10 @@ __copyright__: typing.Final[str] = "2021-present, davfsa" __coverage__: typing.Final[str] = "https://codeclimate.com/github/hikari-py/hikari" __discord_invite__: typing.Final[str] = "https://discord.gg/Jx4cNGG" -__docs__: typing.Final[str] = "https://docs.hikari-py.dev/en/master" +__docs__: typing.Final[str] = "https://docs.hikari-py.dev/en/2.0.0" __email__: typing.Final[str] = "davfsa@gmail.com" __issue_tracker__: typing.Final[str] = "https://github.com/hikari-py/hikari/issues" __license__: typing.Final[str] = "MIT" __url__: typing.Final[str] = "https://github.com/hikari-py/hikari" -__version__: typing.Final[str] = "2.0.0.dev127" +__version__: typing.Final[str] = "2.0.0" __git_sha1__: typing.Final[str] = "HEAD"