From bd534817e39ee8024ed53af5981ce7b7b2875589 Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Wed, 25 Dec 2024 02:59:55 +0100 Subject: [PATCH] Red 3.5.14 - Changelog --- CHANGES.rst | 81 ++++++++++++++++++++++++++++ docs/incompatible_changes/future.rst | 11 ++++ redbot/core/utils/chat_formatting.py | 1 + 3 files changed, 93 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index b12020fef6e..c966e8fc9d8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,86 @@ .. Red changelogs +Redbot 3.5.14 (2024-12-25) +========================== + +| Thanks to all these amazing people that contributed to this release: +| :ghuser:`aikaterna`, :ghuser:`Ascensionn`, :ghuser:`cswimr`, :ghuser:`Chovin`, :ghuser:`cdaman3141`, :ghuser:`DJTOMATO`, :ghuser:`Flame442`, :ghuser:`japandotorg`, :ghuser:`Jackenmen`, :ghuser:`karlsbjorn`, :ghuser:`Kowlin`, :ghuser:`kpopdev`, :ghuser:`kevin1015wang`, :ghuser:`Kreusada`, :ghuser:`mellow-org`, :ghuser:`palmtree5`, :ghuser:`sravan1946`, :ghuser:`TrustyJAID` + +Read before updating +-------------------- + +#. Following operating systems are no longer supported as they have already reached their end of life: + + - Debian 11 (excluding Raspberry Pi OS 11) + - Fedora 39 + - macOS 12 (Monterey) + +#. Information for Audio users that are using an external Lavalink instance (if you don't know what that is, you should skip this point): + + We've updated our default application.yml file and you should update your instance's ``application.yml`` accordingly. + More specifically, we bumped the version of YT source plugin. + `Download Red 3.5.14's default application.yml file `__ + +End-user changelog +------------------ + +Additions +********* + +- |cool| **Cogs - Mod** - Added new setting (``[p]modset requirereason``) for enforcing reason to be filled in cog's commands (:issue:`6477`) + +Changes +******* + +- |cool| **Core** - Updated the output from help command to enable use of the new copy to clipboard feature on Discord code blocks to copy the command input (:issue:`6244`) +- **Core** - Updated ID parser used by some (core and 3rd-party) commands to reject IDs that are larger than a Discord ID (snowflake) can be (:issue:`6431`, :issue:`6486`) +- |cool| **Core - Bot Commands** - The ``[p]slash disablecog`` and ``[p]slash enablecog`` commands can now be passed multiple cog names to disable/enable app commands from many cogs at the same time (:issue:`6001`) +- **Core - Dependencies** - Red's dependencies have been bumped (:issue:`6492`) +- **Core - OS Support** - Debian 11, Fedora 39, and macOS 12 (Monterey) are no longer supported as they have already reached end of life (:issue:`6492`) +- **Core - OS Support** - Ubuntu non-LTS version is currently considered unsupported due to lack of support for Python 3.12 from Red (:issue:`6492`) +- **Cogs - Audio** - The ``[p]play`` command will now mention how the URL restrictions can be disabled, if they're currently enabled (:issue:`6348`) +- **Cogs - Audio** - The Lavalink download process now has a separate, larger, timeout than the timeout for startup of the Lavalink process (:issue:`6460`, :issue:`6461`) +- **Cogs - Downloader** - Changed the format of the ``[p]repo list`` command's output to include repo links (:issue:`6284`) +- |cool| **Cogs - Warnings** - The ``[p]warn`` command will now prompt whether to ban the user, if that user has already left the server by the time the command was called (:issue:`6445`, :issue:`6481`) +- **Cogs - Trivia - Lists** - Added variants of the answers without punctuation to the ``harrypotter`` trivia list (:issue:`5889`) + +Fixes +***** + +- **Core** - Fixed issues with permission handling for user-installable app commands (:issue:`6457`) +- **Core - Bot Commands** - Fixed uncaught error when running ``[p]load locales`` command (:issue:`4623`) +- |cool| **Cogs - Audio** - Fixed various issues with YT playback resulting in "Something broke when playing the track" error (:issue:`6488`, :issue:`6490`) +- **Cogs - Trivia - Lists** - Fixed typos in Golden Glove questions in the ``worldcup`` trivia list (:issue:`6441`) + +Developer changelog +------------------- + +Additions +********* + +- |cool| **Core - Bot Class** - Added `Red.get_app_command_id()` and `Red.get_app_command_mention()` methods for getting app command IDs/mentions from Red's cache (:issue:`5976`, :issue:`6278`) +- **Core - Utils Package** - Added `hyperlink()`, `header()`, and `subtext()` chat formatting functions (:issue:`6102`, :issue:`6444`) +- |cool| **Core - Utils Package** - Added `redbot.core.utils.chat_formatting.rich_markup()` function for generating Discord-compatible code blocks with ANSI formatting using a limited set of `Rich markup `__ (:issue:`5538`) +- **Cogs - Downloader** - Downloader will now replace ``[botname]`` in the install messages with the bot's name, same as is done for command help messages (:issue:`6443`) + +Changes +******* + +- **Core - Utils Package** - Added support for `SimpleMenu` to customize the select options before sending (:issue:`6455`, :issue:`6480`) + +Deprecations +************ + +- **Core - Utils Package** - Deprecated `SimpleMenu.select_menu` attribute (:issue:`6480`) + +Fixes +***** + +- **Core** - Fixed the cooldown bypass (enabled by ``[p]bypasscooldowns`` command) not being respected by the ``[p]slash sync`` command (:issue:`6465`) +- **Core - Commands Package** - Updated `RawUserIdConverter` to reject IDs that are larger than a Discord ID (snowflake) can be (:issue:`6431`, :issue:`6486`) + +---- + Redbot 3.5.13 (2024-08-27) ========================== diff --git a/docs/incompatible_changes/future.rst b/docs/incompatible_changes/future.rst index 71175c05642..57ff267a0b7 100644 --- a/docs/incompatible_changes/future.rst +++ b/docs/incompatible_changes/future.rst @@ -16,6 +16,17 @@ For Developers Removals ~~~~~~~~ +``SimpleMenu.select_menu`` attribute +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. deprecated-removed:: 3.5.14 60 + +The `SimpleMenu.select_menu` attribute has been deprecated. + +Any behaviour enabled by the usage of this attribute should no longer be depended on. +If you need this for something and cannot replace it with the other functionality, +create an issue on Red's issue tracker. + Downloader's shared libraries ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/redbot/core/utils/chat_formatting.py b/redbot/core/utils/chat_formatting.py index 9c1f6684953..9ebce3b3d3b 100644 --- a/redbot/core/utils/chat_formatting.py +++ b/redbot/core/utils/chat_formatting.py @@ -38,6 +38,7 @@ "humanize_timedelta", "humanize_number", "text_to_file", + "rich_markup", ) _ = Translator("UtilsChatFormatting", __file__)