From 396e9fc20e537b57caae18b65fd6e05226aed972 Mon Sep 17 00:00:00 2001 From: "hikari-bot[bot]" <90276125+hikari-bot[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 11:20:56 +0000 Subject: [PATCH] Prepare for release of 2.0.0.dev116 (#1495) Co-authored-by: hikari-bot <90276125+hikari-bot[bot]@users.noreply.github.com> --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++++ changes/1422.feature.md | 1 - changes/1441.breaking.md | 1 - changes/1441.bugfix.md | 1 - changes/1455.breaking.md | 0 changes/1455.deprecation.md | 4 ---- changes/1455.feature.md | 1 - changes/1457.feature.md | 1 - changes/1459.feature.md | 1 - changes/1464.feature.md | 1 - changes/1470.bugfix.md | 1 - changes/1471.deprecation.md | 1 - changes/1471.feature.md | 1 - changes/1474.bugfix.md | 1 - changes/1474.feature.md | 1 - changes/1475.feature.md | 1 - changes/1480.bugfix.md | 2 -- changes/1485.breaking.md | 1 - changes/1485.bugfix.md | 1 - changes/1485.feature.md | 1 - changes/1486.feature.md | 1 - hikari/_about.py | 2 +- 22 files changed, 42 insertions(+), 24 deletions(-) delete mode 100644 changes/1422.feature.md delete mode 100644 changes/1441.breaking.md delete mode 100644 changes/1441.bugfix.md delete mode 100644 changes/1455.breaking.md delete mode 100644 changes/1455.deprecation.md delete mode 100644 changes/1455.feature.md delete mode 100644 changes/1457.feature.md delete mode 100644 changes/1459.feature.md delete mode 100644 changes/1464.feature.md delete mode 100644 changes/1470.bugfix.md delete mode 100644 changes/1471.deprecation.md delete mode 100644 changes/1471.feature.md delete mode 100644 changes/1474.bugfix.md delete mode 100644 changes/1474.feature.md delete mode 100644 changes/1475.feature.md delete mode 100644 changes/1480.bugfix.md delete mode 100644 changes/1485.breaking.md delete mode 100644 changes/1485.bugfix.md delete mode 100644 changes/1485.feature.md delete mode 100644 changes/1486.feature.md diff --git a/CHANGELOG.md b/CHANGELOG.md index cb4c06a30c..43574fe6b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +## 2.0.0.dev116 (2023-02-06) + +### Breaking Changes + +- Remove `RateLimitedError` in favour of always waiting on ratelimits. ([#1441](https://github.com/hikari-py/hikari/issues/1441)) +- ([#1455](https://github.com/hikari-py/hikari/issues/1455)) +- Default logging to `sys.stdout` stream to bring more in-line with banner output. ([#1485](https://github.com/hikari-py/hikari/issues/1485)) + +### Deprecation + +- Deprecate selects v1 functionality: + - `ComponentType.SELECT_MENU` -> `ComponentType.TEXT_SELECT_MENU` + - Not passing `MessageActionRowBuilder.add_select_menu`'s `type` argument explicitly. + - `InteractionChannel` and `ResolvedOptionData` moved from `hikari.interactions.command_interactions` to `hikari.interactions.base_interactions`. ([#1455](https://github.com/hikari-py/hikari/issues/1455)) +- Renamed `Intents.GUILD_BANS` to `Intents.GUILD_MODERATION`. ([#1471](https://github.com/hikari-py/hikari/issues/1471)) + +### Features + +- Add linked roles support (models + endpoints). ([#1422](https://github.com/hikari-py/hikari/issues/1422)) +- Add selects v2 components. ([#1455](https://github.com/hikari-py/hikari/issues/1455)) +- Added `fetch_self`, `edit`, `delete`, `sync`, and `create_guild` methods to `hikari.templates.Template`. ([#1457](https://github.com/hikari-py/hikari/issues/1457)) +- Add ability to suppress optimization warnings through `suppress_optimization_warning=True` to the `GatewayBot` or `RESTBot` constructors. ([#1459](https://github.com/hikari-py/hikari/issues/1459)) +- Support GIF sticker image format ([#1464](https://github.com/hikari-py/hikari/issues/1464)) +- Add support for guild audit log entry create events. ([#1471](https://github.com/hikari-py/hikari/issues/1471)) +- Update `RESTClient.edit_channnel` to support setting `applied_tags` on forum threads. ([#1474](https://github.com/hikari-py/hikari/issues/1474)) +- Implement `reply_must_exist` in create message methods ([#1475](https://github.com/hikari-py/hikari/issues/1475)) +- Support loading files through `logging.config.fileConfig` in `init_logging`. ([#1485](https://github.com/hikari-py/hikari/issues/1485)) +- Add `orjson` as an optional speedup and allow to pass custom `json.dumps` and `json.loads` functions to all components. ([#1486](https://github.com/hikari-py/hikari/issues/1486)) + +### Bugfixes + +- The global ratelimit now abides by `max_rate_limit`. ([#1441](https://github.com/hikari-py/hikari/issues/1441)) +- Move `description_localizations` from `PartialCommand` to `SlashCommand` (removing it from `ContextMenuCommand`). ([#1470](https://github.com/hikari-py/hikari/issues/1470)) +- Add missing fields to `GuildChannel.edit`. ([#1474](https://github.com/hikari-py/hikari/issues/1474)) +- Fix `hikari.webhooks.ChannelFollowWebhook` not including source in all cases. + - `source_channel` and `source_guild` will be `None` instead. ([#1480](https://github.com/hikari-py/hikari/issues/1480)) +- Fix colour logging not occurring on specific terminals (ie, Pycharm). ([#1485](https://github.com/hikari-py/hikari/issues/1485)) + +--- + + ## 2.0.0.dev115 (2023-01-03) ### Breaking Changes diff --git a/changes/1422.feature.md b/changes/1422.feature.md deleted file mode 100644 index 1a00049f21..0000000000 --- a/changes/1422.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add linked roles support (models + endpoints). diff --git a/changes/1441.breaking.md b/changes/1441.breaking.md deleted file mode 100644 index e0571225d1..0000000000 --- a/changes/1441.breaking.md +++ /dev/null @@ -1 +0,0 @@ -Remove `RateLimitedError` in favour of always waiting on ratelimits. diff --git a/changes/1441.bugfix.md b/changes/1441.bugfix.md deleted file mode 100644 index 2c324fc783..0000000000 --- a/changes/1441.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -The global ratelimit now abides by `max_rate_limit`. diff --git a/changes/1455.breaking.md b/changes/1455.breaking.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/changes/1455.deprecation.md b/changes/1455.deprecation.md deleted file mode 100644 index 7c84d5245e..0000000000 --- a/changes/1455.deprecation.md +++ /dev/null @@ -1,4 +0,0 @@ -Deprecate selects v1 functionality: - - `ComponentType.SELECT_MENU` -> `ComponentType.TEXT_SELECT_MENU` - - Not passing `MessageActionRowBuilder.add_select_menu`'s `type` argument explicitly. - - `InteractionChannel` and `ResolvedOptionData` moved from `hikari.interactions.command_interactions` to `hikari.interactions.base_interactions`. diff --git a/changes/1455.feature.md b/changes/1455.feature.md deleted file mode 100644 index e5c9dbbc9b..0000000000 --- a/changes/1455.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add selects v2 components. diff --git a/changes/1457.feature.md b/changes/1457.feature.md deleted file mode 100644 index d94e5cd1d4..0000000000 --- a/changes/1457.feature.md +++ /dev/null @@ -1 +0,0 @@ -Added `fetch_self`, `edit`, `delete`, `sync`, and `create_guild` methods to `hikari.templates.Template`. diff --git a/changes/1459.feature.md b/changes/1459.feature.md deleted file mode 100644 index 1bc2dffe48..0000000000 --- a/changes/1459.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add ability to suppress optimization warnings through `suppress_optimization_warning=True` to the `GatewayBot` or `RESTBot` constructors. diff --git a/changes/1464.feature.md b/changes/1464.feature.md deleted file mode 100644 index 1e40d32912..0000000000 --- a/changes/1464.feature.md +++ /dev/null @@ -1 +0,0 @@ -Support GIF sticker image format diff --git a/changes/1470.bugfix.md b/changes/1470.bugfix.md deleted file mode 100644 index 8bf6d99d4e..0000000000 --- a/changes/1470.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Move `description_localizations` from `PartialCommand` to `SlashCommand` (removing it from `ContextMenuCommand`). diff --git a/changes/1471.deprecation.md b/changes/1471.deprecation.md deleted file mode 100644 index 795fcffa26..0000000000 --- a/changes/1471.deprecation.md +++ /dev/null @@ -1 +0,0 @@ -Renamed `Intents.GUILD_BANS` to `Intents.GUILD_MODERATION`. diff --git a/changes/1471.feature.md b/changes/1471.feature.md deleted file mode 100644 index 1abda66808..0000000000 --- a/changes/1471.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add support for guild audit log entry create events. diff --git a/changes/1474.bugfix.md b/changes/1474.bugfix.md deleted file mode 100644 index 26f99e7db1..0000000000 --- a/changes/1474.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Add missing fields to `GuildChannel.edit`. diff --git a/changes/1474.feature.md b/changes/1474.feature.md deleted file mode 100644 index fc150802e0..0000000000 --- a/changes/1474.feature.md +++ /dev/null @@ -1 +0,0 @@ -Update `RESTClient.edit_channnel` to support setting `applied_tags` on forum threads. diff --git a/changes/1475.feature.md b/changes/1475.feature.md deleted file mode 100644 index d360aab3f3..0000000000 --- a/changes/1475.feature.md +++ /dev/null @@ -1 +0,0 @@ -Implement `reply_must_exist` in create message methods diff --git a/changes/1480.bugfix.md b/changes/1480.bugfix.md deleted file mode 100644 index 4226a0cae4..0000000000 --- a/changes/1480.bugfix.md +++ /dev/null @@ -1,2 +0,0 @@ -Fix `hikari.webhooks.ChannelFollowWebhook` not including source in all cases. -- `source_channel` and `source_guild` will be `None` instead. diff --git a/changes/1485.breaking.md b/changes/1485.breaking.md deleted file mode 100644 index db1d4823b8..0000000000 --- a/changes/1485.breaking.md +++ /dev/null @@ -1 +0,0 @@ -Default logging to `sys.stdout` stream to bring more in-line with banner output. diff --git a/changes/1485.bugfix.md b/changes/1485.bugfix.md deleted file mode 100644 index 899ae373ea..0000000000 --- a/changes/1485.bugfix.md +++ /dev/null @@ -1 +0,0 @@ -Fix colour logging not occurring on specific terminals (ie, Pycharm). diff --git a/changes/1485.feature.md b/changes/1485.feature.md deleted file mode 100644 index 3d47417e1c..0000000000 --- a/changes/1485.feature.md +++ /dev/null @@ -1 +0,0 @@ -Support loading files through `logging.config.fileConfig` in `init_logging`. diff --git a/changes/1486.feature.md b/changes/1486.feature.md deleted file mode 100644 index fcdbce4075..0000000000 --- a/changes/1486.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add `orjson` as an optional speedup and allow to pass custom `json.dumps` and `json.loads` functions to all components. diff --git a/hikari/_about.py b/hikari/_about.py index 080abdc9b6..0611b0f88e 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.dev116" __email__: typing.Final[str] = "davfsa@gmail.com" __issue_tracker__: typing.Final[str] = "https://github.com/hikari-py/hikari/issues" __license__: typing.Final[str] = "MIT"