Skip to content

Commit

Permalink
Merge branch 'Cog-Creators:V3/develop' into use_exec_module
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuro-Rui authored Oct 3, 2023
2 parents 90a61f7 + 7dfe243 commit 68dbf36
Show file tree
Hide file tree
Showing 208 changed files with 14,910 additions and 14,070 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Release
on:
push:
tags:
- "*"
- "3.[0-9]+.[0-9]+"

jobs:
release_information:
Expand Down
151 changes: 151 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,155 @@
.. Red changelogs
Redbot 3.5.5 (2023-09-14)
=========================

| Thanks to all these amazing people that contributed to this release:
| :ghuser:`Flame442`, :ghuser:`Jackenmen`, :ghuser:`karlsbjorn`, :ghuser:`Kreusada`, :ghuser:`ltzmax`, :ghuser:`palmtree5`
End-user changelog
------------------

Changes
*******

- **Core - Dependencies** - Red's dependencies have been bumped (:issue:`6248`)
- **Cogs - Downloader** - Cogs in the ``[p]cog list`` command are now listed alphabetically (:issue:`6214`, :issue:`6215`)

Fixes
*****

- **Core - Bot Commands** - Fixed handling of an edge case in the ``[p]diagnoseissues`` command that involved commands without a cog (:issue:`6237`)
- **Core - Bot Commands** - Fixed the formatting of nested result lists in the ``[p]diagnoseissues`` command (:issue:`6238`)
- **Cogs - Mod** - Fixed the formatting of the help description for the ``[p]ban``, ``[p]kick``, and ``[p]tempban`` commands (:issue:`6245`)
- |cool| **Cogs - Streams** - Updated the implementation of Twitch streams to no longer use the "Get Users Follows" endpoint that was deprecated in February 2023 (:issue:`6246`, :issue:`6247`)

Documentation changes
---------------------

Changes
*******

- Updated Python version in ``pyenv`` instructions (:issue:`6241`)

----

Redbot 3.5.4 (2023-08-12)
=========================

| Thanks to all these amazing people that contributed to this release:
| :ghuser:`aikaterna`, :ghuser:`Jackenmen`, :ghuser:`laggron42`, :ghuser:`Leo40Git`, :ghuser:`PredaaA`, :ghuser:`TrustyJAID`
Read before updating
--------------------

#. Information for Audio users that are using an external Lavalink instance (if you don't know what that is, you should skip this point):

Red 3.5.4 uses a new Lavalink jar that you will need to manually update from `our GitHub <https://github.com/Cog-Creators/Lavalink-Jars/releases/tag/3.7.8>`__.

End-user changelog
------------------

Additions
*********

- |cool| **Core - Bot Commands** - Added ``[p]set status custom`` command allowing the bot owner to change the bot's custom status (:issue:`6226`)

Changes
*******

- **Core - Dependencies** - Red's dependencies have been bumped (:issue:`6225`)

Fixes
*****

- **Core** - Fixed errors showing in logs when the button menu timed out and the original message no longer existed (:issue:`6228`, :issue:`6229`)
- |cool| **Cogs - Audio** - Fixed YT playback (:issue:`6221`)
- **Cogs - Audio** - Fixed poor quality of ``[p]local/queue search``'s results when case sensitive matching was involved (:issue:`6129`, :issue:`6224`)
- **Cogs - Audio** - Fixed ``[p]local search`` resorting to YT playback when file name involved certain characters such as ``-`` (:issue:`6223`)
- **Cogs - CustomCommands** - Fixed poor quality of ``[p]customcom search``'s results when case sensitive matching was involved (:issue:`6224`)
- **Cogs - Streams** - Fixed Picarto channels showing without the channel avatar (:issue:`6230`)

----

Redbot 3.5.3 (2023-07-24)
=========================

| Thanks to all these amazing people that contributed to this release:
| :ghuser:`AAA3A-AAA3A`, :ghuser:`aikaterna`, :ghuser:`Drapersniper`, :ghuser:`Flame442`, :ghuser:`flaree`, :ghuser:`Jackenmen`, :ghuser:`Kowlin`, :ghuser:`Kreusada`, :ghuser:`Om1609`, :ghuser:`PredaaA`, :ghuser:`TrustyJAID`, :ghuser:`Zephyrkul`
Read before updating
--------------------

#. Fedora 36, Ubuntu 18.04 LTS and versions of RHEL/Alma Linux/Oracle Linux/Rocky Linux older than 8.6 are no longer supported as they have already reached their end of life.

End-user changelog
------------------

Changes
*******

- |cool| Red has been updated to support `Discord's new username system <https://discord.com/blog/usernames>`__ (:issue:`6130`)

This means that we now support passing the new usernames as arguments
and properly display usernames/global display names in core commands and cogs where applicable.

- **Core** - All bots are are now considered to be immune to auto-moderation (:issue:`6130`)
- **Core** - Added list of command-line arguments to ``redbot --debuginfo <instance_name>`` and ``[p]debuginfo`` (:issue:`6164`)
- **Core - Bot Commands** - The ``[p]set api`` command will now hide the button once the time to open the modal to set API keys elapses (:issue:`6166`)
- **Core - Command-line Interfaces** - Multiple arguments to ``--co-owner``, ``--load-cogs``, and ``--unload-cogs`` flags can now be specified both by passing multiple arguments right after the flag and by repeating the flag multiple times with different arguments (:issue:`6200`)
- **Core - Dependencies** - Red's dependencies have been bumped (:issue:`6185`)
- |cool| **Cogs - Audio** - The managed Lavalink server can now be run with either Java 11 or Java 17 (:issue:`6190`)
- **Cogs - Audio** - Added an option to auto-use default HTTP/HTTPS port for unmanaged Lavalink server (:issue:`5629`)
- **Cogs - Mod** - The cog now tracks both the usernames *and* global display names (:issue:`6130`)

Removals
********

- **Core - OS Support** - Fedora 36, Ubuntu 18.04 LTS and versions of RHEL/Alma Linux/Oracle Linux/Rocky Linux older than 8.6 are no longer supported as they have already reached end of life (:issue:`6189`)

Fixes
*****

- **Core** - Red's menu timeout is now consistent between reaction and button menus (:issue:`6173`)
- **Core - Bot Commands** - Fixed message too long error in the ``[p]slash list`` command (:issue:`6167`)
- **Core - Command-line Interfaces** - Red will now properly exit with code ``1`` (``CRITICAL``) when the bot fails after connecting to Discord but before becoming ready instead of indefinitely hanging in non-working condition (:issue:`6202`)
- **Cogs - Audio** - Fixed playlist selection in the picker used by the playlist-related commands (:issue:`6169`, :issue:`6170`)
- **Cogs - Cleanup** - Fixed an issue with ``[p]cleanup self`` not working in DMs (:issue:`6196`, :issue:`6197`)
- **Cogs - Downloader** - Fixed ``CancelledError`` tracebacks showing up in logs when the bot is shut down quickly after the cog is loaded (:issue:`6203`)
- **Cogs - Mutes** - Fixed ``CancelledError`` tracebacks showing up in logs when the bot is shut down quickly after the cog is loaded (:issue:`6203`)

Developer changelog
-------------------

Additions
*********

- |cool| **Core - Utils Package** - Added new view (`ConfirmView`) that can be used to ask for confirmation (:issue:`6174`, :issue:`6176`)
- **Core - Commands Package** - Added `Command.is_enabled()` method allowing to check whether the command is disabled in a guild/globally (:issue:`4130`, :issue:`5552`, :issue:`6209`)

Fixes
*****

- **Core - Commands Package** - Fixed handling of cases where the string returned by `Cog.format_help_for_context()`/`Command.format_help_for_context()` starts with ``"\n\n"`` (:issue:`5941`)
- **Cogs - Dev** - Fixed issues with exception formatting in ``[p]eval/repl/debug`` commands not including the code for chained/grouped exceptions (:issue:`6178`)

Documentation changes
---------------------

Additions
*********

- Added usage example to `get_end_user_data_statement_or_raise()` (:issue:`6171`)

Changes
*******

- |cool| Added install instructions for Debian 12 Bookworm (:issue:`6190`)
- |cool| The install guides have been updated to install Java 17 when possible (:issue:`6190`)


----

Redbot 3.5.2 (2023-05-14)
=========================

Expand Down Expand Up @@ -54,6 +204,7 @@ Documentation changes
Fixes
*****

- Fixed the search box on the documentation page returning no results (:issue:`6185`)
- Fixed command choices example in `Slash Commands and Interactions guide <guide_slash_and_interactions>` (:issue:`6154`)
- Updated `the 3.5.0 changelog <redbot-3-5-0-2023-05-04>`, `incompatible-changes-3.5`, and `end-user-guarantees` documents to mention the new ``x86-64-v2`` instruction set requirement (:issue:`6141`, :issue:`6147`)

Expand Down
6 changes: 3 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## Supported Versions

The table below explains the current state of our versions. Currently, only version
3.4 and higher are supported and receive security updates. Versions lower than 3.4
3.5 and higher are supported and receive security updates. Versions lower than 3.5
are considered End of Life and will not receive any security updates.

| Version | Branch | Security Updates | End of Life |
|---------------|------------|--------------------|--------------------|
| < 2.0 | master | :x: | :white_check_mark: |
| >= 2.0, < 3.0 | develop | :x: | :white_check_mark: |
| >= 3.0, < 3.4 | V3/develop | :x: | :white_check_mark: |
| >= 3.4 | V3/develop | :white_check_mark: | :x: |
| >= 3.0, < 3.5 | V3/develop | :x: | :white_check_mark: |
| >= 3.5 | V3/develop | :white_check_mark: | :x: |


## Reporting a Vulnerability
Expand Down
29 changes: 29 additions & 0 deletions docs/cog_guides/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3769,6 +3769,35 @@ Maximum length for a competing status is 128 characters.
**Arguments:**
- ``[competing]`` - The text to follow ``Competing in``. Leave blank to clear the current activity status.

.. _core-command-set-status-custom:

"""""""""""""""""
set status custom
"""""""""""""""""

.. note:: |owner-lock|

**Syntax**

.. code-block:: none
[p]set status custom [text]
**Description**

Sets Red's custom status.

This will appear as ``<text>``.

Maximum length for a custom status is 128 characters.

**Examples:**
- ``[p]set status custom`` - Clears the activity status.
- ``[p]set status custom Running cogs...``

**Arguments:**
- ``[text]`` - The custom status text. Leave blank to clear the current activity status.

.. _core-command-set-status-dnd:

""""""""""""""
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class IgnoreCoroSubstitution(SphinxTransform):
def apply(self, **kwargs) -> None:
for ref in self.document.traverse(nodes.substitution_reference):
if ref["refname"] == "coro":
ref.replace_self(nodes.Text("", ""))
ref.replace_self(nodes.Text(""))


def setup(app):
Expand Down
4 changes: 2 additions & 2 deletions docs/install_guides/_includes/install-python310-pyenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ virtual environment.

.. prompt:: bash

CONFIGURE_OPTS=--enable-optimizations pyenv install 3.10.12 -v
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.10.13 -v

This may take a long time to complete, depending on your hardware. For some machines (such as
Raspberry Pis and micro-tier VPSes), it may take over an hour; in this case, you may wish to remove
Expand All @@ -22,6 +22,6 @@ After that is finished, run:

.. prompt:: bash

pyenv global 3.10.12
pyenv global 3.10.13

Pyenv is now installed and your system should be configured to run Python 3.10.
4 changes: 2 additions & 2 deletions docs/install_guides/_includes/install-python39-pyenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ virtual environment.

.. prompt:: bash

CONFIGURE_OPTS=--enable-optimizations pyenv install 3.9.17 -v
CONFIGURE_OPTS=--enable-optimizations pyenv install 3.9.18 -v

This may take a long time to complete, depending on your hardware. For some machines (such as
Raspberry Pis and micro-tier VPSes), it may take over an hour; in this case, you may wish to remove
Expand All @@ -22,6 +22,6 @@ After that is finished, run:

.. prompt:: bash

pyenv global 3.9.17
pyenv global 3.9.18

Pyenv is now installed and your system should be configured to run Python 3.9.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dynamic = ["version", "requires-python", "dependencies", "optional-dependencies"
"Donate on Patreon" = "https://www.patreon.com/Red_Devs"
"Issue Tracker" = "https://github.com/Cog-Creators/Red-DiscordBot/issues"
"Source Code" = "https://github.com/Cog-Creators/Red-DiscordBot"
"Changelog" = "https://docs.discord.red/en/stable/changelog.html"

[project.scripts]
redbot = "redbot.__main__:main"
Expand Down
2 changes: 1 addition & 1 deletion redbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def _early_init():


# This is bumped automatically by release workflow (`.github/workflows/scripts/bump_version.py`)
_VERSION = "3.5.3.dev1"
_VERSION = "3.5.6.dev1"

__version__, version_info = VersionInfo._get_version()

Expand Down
Loading

0 comments on commit 68dbf36

Please sign in to comment.