From 4adbadcfa11d3a2d5603670165085b8fd6264115 Mon Sep 17 00:00:00 2001 From: "hikari-bot[bot]" <90276125+hikari-bot[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 07:08:47 +0000 Subject: [PATCH] Prepare for release of 2.0.0.dev117 (#1534) Co-authored-by: hikari-bot <90276125+hikari-bot[bot]@users.noreply.github.com> --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ changes/1423.feature.md | 1 - changes/1496.breaking.md | 2 -- changes/1501.bugfix.md | 1 - changes/1504.feature.md | 1 - changes/1506.bugfix.md | 1 - changes/1508.feature.md | 1 - changes/1509.breaking.md | 2 -- changes/1509.feature.md | 1 - changes/1516.feature.md | 1 - changes/1527.feature.md | 1 - changes/1529.bugfix.md | 1 - hikari/_about.py | 2 +- 13 files changed, 28 insertions(+), 14 deletions(-) delete mode 100644 changes/1423.feature.md delete mode 100644 changes/1496.breaking.md delete mode 100644 changes/1501.bugfix.md delete mode 100644 changes/1504.feature.md delete mode 100644 changes/1506.bugfix.md delete mode 100644 changes/1508.feature.md delete mode 100644 changes/1509.breaking.md delete mode 100644 changes/1509.feature.md delete mode 100644 changes/1516.feature.md delete mode 100644 changes/1527.feature.md delete mode 100644 changes/1529.bugfix.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 43574fe6b4..57ed00986a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## 2.0.0.dev117 (2023-03-06) + +### Breaking Changes + +- Remove previously deprecated functionality: + - `delete_message_days` parameter for `ban` methods. ([#1496](https://github.com/hikari-py/hikari/issues/1496)) +- `type` can no-longer be specified while initialise `hikari.impl.special_endpoints.TextSelectMenuBuilder` and `hikari.impl.special_endpoints.ChannelSelectMenuBuilder`. + `hikari.api.special_endpoints.SelectOptionBuilder` no-longer inherits from `hikari.api.special_endpoints.ComponentBuilder` (but it still has a `build` method). ([#1509](https://github.com/hikari-py/hikari/issues/1509)) + +### Features + +- Pre-maturely fetch the public key if not present when starting an interaction server. ([#1423](https://github.com/hikari-py/hikari/issues/1423)) +- Add and document the new `SUPPRESS_NOTIFICATIONS` message flag. ([#1504](https://github.com/hikari-py/hikari/issues/1504)) +- `hikari.impl.special_endpoints.ChannelSelectMenuBuilder` and `hikari.impl.special_endpoints.TextSelectMenuBuilder` are now both exported directly on `hikari.impl`. ([#1508](https://github.com/hikari-py/hikari/issues/1508)) +- `type` property to the component builders. ([#1509](https://github.com/hikari-py/hikari/issues/1509)) +- Traits now use `abc.abstractmethod`. This gives better type errors. ([#1516](https://github.com/hikari-py/hikari/issues/1516)) +- `token_type` now defaults to `"Bot"` when initialising `RESTBot` with a string token. ([#1527](https://github.com/hikari-py/hikari/issues/1527)) + +### Bugfixes + +- Re-export missing exports from `hikari.api.special_endpoints` and `hikari.components`. ([#1501](https://github.com/hikari-py/hikari/issues/1501)) +- Fix `PartialSticker.image_url` not accounting for stickers with GIF format. ([#1506](https://github.com/hikari-py/hikari/issues/1506)) +- Await bucket manager gc task to completion when closing ([#1529](https://github.com/hikari-py/hikari/issues/1529)) + +--- + + ## 2.0.0.dev116 (2023-02-06) ### Breaking Changes diff --git a/changes/1423.feature.md b/changes/1423.feature.md deleted file mode 100644 index 0c674912f5..0000000000 --- a/changes/1423.feature.md +++ /dev/null @@ -1 +0,0 @@ -Pre-maturely fetch the public key if not present when starting an interaction server. diff --git a/changes/1496.breaking.md b/changes/1496.breaking.md deleted file mode 100644 index a1e5375932..0000000000 --- a/changes/1496.breaking.md +++ /dev/null @@ -1,2 +0,0 @@ -Remove previously deprecated functionality: - - `delete_message_days` parameter for `ban` methods. diff --git a/changes/1501.bugfix.md b/changes/1501.bugfix.md deleted file mode 100644 index cff44f1fd5..0000000000 --- a/changes/1501.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Re-export missing exports from `hikari.api.special_endpoints` and `hikari.components`. diff --git a/changes/1504.feature.md b/changes/1504.feature.md deleted file mode 100644 index 8c4782a0e3..0000000000 --- a/changes/1504.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add and document the new `SUPPRESS_NOTIFICATIONS` message flag. diff --git a/changes/1506.bugfix.md b/changes/1506.bugfix.md deleted file mode 100644 index ff0443c544..0000000000 --- a/changes/1506.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix `PartialSticker.image_url` not accounting for stickers with GIF format. diff --git a/changes/1508.feature.md b/changes/1508.feature.md deleted file mode 100644 index c55ab7b0d5..0000000000 --- a/changes/1508.feature.md +++ /dev/null @@ -1 +0,0 @@ -`hikari.impl.special_endpoints.ChannelSelectMenuBuilder` and `hikari.impl.special_endpoints.TextSelectMenuBuilder` are now both exported directly on `hikari.impl`. diff --git a/changes/1509.breaking.md b/changes/1509.breaking.md deleted file mode 100644 index 5ecc767b82..0000000000 --- a/changes/1509.breaking.md +++ /dev/null @@ -1,2 +0,0 @@ -`type` can no-longer be specified while initialise `hikari.impl.special_endpoints.TextSelectMenuBuilder` and `hikari.impl.special_endpoints.ChannelSelectMenuBuilder`. -`hikari.api.special_endpoints.SelectOptionBuilder` no-longer inherits from `hikari.api.special_endpoints.ComponentBuilder` (but it still has a `build` method). diff --git a/changes/1509.feature.md b/changes/1509.feature.md deleted file mode 100644 index 75ccc05eb7..0000000000 --- a/changes/1509.feature.md +++ /dev/null @@ -1 +0,0 @@ -`type` property to the component builders. diff --git a/changes/1516.feature.md b/changes/1516.feature.md deleted file mode 100644 index bd0398e424..0000000000 --- a/changes/1516.feature.md +++ /dev/null @@ -1 +0,0 @@ -Traits now use `abc.abstractmethod`. This gives better type errors. diff --git a/changes/1527.feature.md b/changes/1527.feature.md deleted file mode 100644 index 9bf02ed77b..0000000000 --- a/changes/1527.feature.md +++ /dev/null @@ -1 +0,0 @@ -`token_type` now defaults to `"Bot"` when initialising `RESTBot` with a string token. diff --git a/changes/1529.bugfix.md b/changes/1529.bugfix.md deleted file mode 100644 index c9c0331e67..0000000000 --- a/changes/1529.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Await bucket manager gc task to completion when closing diff --git a/hikari/_about.py b/hikari/_about.py index b061707587..1de17c3456 100644 --- a/hikari/_about.py +++ b/hikari/_about.py @@ -34,7 +34,7 @@ __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.dev117" __email__: typing.Final[str] = "davfsa@gmail.com" __issue_tracker__: typing.Final[str] = "https://github.com/hikari-py/hikari/issues" __license__: typing.Final[str] = "MIT"