mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add changelog for v2.3
This commit is contained in:
parent
cf681105ce
commit
9f5b6c2bed
@ -11,6 +11,78 @@ Changelog
|
||||
This page keeps a detailed human friendly rendering of what's new and changed
|
||||
in specific versions.
|
||||
|
||||
.. _vp2p3p0:
|
||||
|
||||
v2.3.0
|
||||
--------
|
||||
|
||||
New Features
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
- Add support for the new username system (also known as "pomelo").
|
||||
- Add :attr:`User.global_name` to get their global nickname or "display name".
|
||||
- Update :attr:`User.display_name` and :attr:`Member.display_name` to understand global nicknames.
|
||||
- Update ``__str__`` for :class:`User` to drop discriminators if the user has been migrated.
|
||||
- Update :meth:`Guild.get_member_named` to work with migrated users.
|
||||
- Update :attr:`User.default_avatar` to work with migrated users.
|
||||
- |commands| Update user and member converters to understand migrated users.
|
||||
|
||||
- Add :attr:`DefaultAvatar.pink` for new pink default avatars.
|
||||
- Add :meth:`Colour.pink` to get the pink default avatar colour.
|
||||
- Add support for voice messages (:issue:`9358`)
|
||||
- Add :attr:`MessageFlags.voice`
|
||||
- Add :attr:`Attachment.duration` and :attr:`Attachment.waveform`
|
||||
- Add :meth:`Attachment.is_voice_message`
|
||||
- This does not support *sending* voice messages because this is currently unsupported by the API.
|
||||
|
||||
- Add support for new :attr:`Interaction.channel` attribute from the API update (:issue:`9339`).
|
||||
- Add support for :attr:`TextChannel.default_thread_slowmode_delay` (:issue:`9291`).
|
||||
- Add support for :attr:`ForumChannel.default_sort_order` (:issue:`9290`).
|
||||
- Add support for ``default_reaction_emoji`` and ``default_forum_layout`` in :meth:`Guild.create_forum` (:issue:`9300`).
|
||||
- Add support for ``widget_channel``, ``widget_enabled``, and ``mfa_level`` in :meth:`Guild.edit` (:issue:`9302`, :issue:`9303`).
|
||||
- Add various new :class:`Permissions` and changes (:issue:`9312`, :issue:`9325`, :issue:`9358`, :issue:`9378`)
|
||||
- Add new :attr:`~Permissions.manage_expressions`, :attr:`~Permissions.use_external_sounds`, :attr:`~Permissions.use_soundboard`, :attr:`~Permissions.send_voice_messages`, :attr:`~Permissions.create_expressions` permissions.
|
||||
- Change :attr:`Permissions.manage_emojis` to be an alias of :attr:`~Permissions.manage_expressions`.
|
||||
|
||||
- Add various new properties to :class:`PartialAppInfo` and :class:`AppInfo` (:issue:`9298`).
|
||||
- Add support for ``with_counts`` parameter to :meth:`Client.fetch_guilds` (:issue:`9369`).
|
||||
- Add new :meth:`Guild.get_emoji` helper (:issue:`9296`).
|
||||
- Add :attr:`ApplicationFlags.auto_mod_badge` (:issue:`9313`).
|
||||
- Add :attr:`Guild.max_stage_video_users` and :attr:`Guild.safety_alerts_channel` (:issue:`9318`).
|
||||
- Add support for ``raid_alerts_disabled`` and ``safety_alerts_channel`` in :meth:`Guild.edit` (:issue:`9318`).
|
||||
- |commands| Add :attr:`BadLiteralArgument.argument <ext.commands.BadLiteralArgument.argument>` to get the failed argument's value (:issue:`9283`).
|
||||
- |commands| Add :attr:`Context.filesize_limit <ext.commands.Context.filesize_limit>` property (:issue:`9416`).
|
||||
- |commands| Add support for :attr:`Parameter.displayed_name <ext.commands.Parameter.displayed_name>` (:issue:`9427`).
|
||||
|
||||
Bug Fixes
|
||||
~~~~~~~~~~
|
||||
|
||||
- Fix ``FileHandler`` handlers being written ANSI characters when the bot is executed inside PyCharm.
|
||||
- This has the side effect of removing coloured logs from the PyCharm terminal due an upstream bug involving TTY detection. This issue is tracked under `PY-43798 <https://youtrack.jetbrains.com/issue/PY-43798>`_.
|
||||
|
||||
- Fix channel edits with :meth:`Webhook.edit` sending two requests instead of one.
|
||||
- Fix :attr:`StageChannel.last_message_id` always being ``None`` (:issue:`9422`).
|
||||
- Fix piped audio input ending prematurely (:issue:`9001`, :issue:`9380`).
|
||||
- Fix persistent detection for :class:`ui.TextInput` being incorrect if the ``custom_id`` is set later (:issue:`9438`).
|
||||
- Fix custom attributes not being copied over when inheriting from :class:`app_commands.Group` (:issue:`9383`).
|
||||
- Fix AutoMod audit log entry error due to empty channel_id (:issue:`9384`).
|
||||
- Fix handling of ``around`` parameter in :meth:`abc.Messageable.history` (:issue:`9388`).
|
||||
- Fix occasional :exc:`AttributeError` when accessing the :attr:`ClientUser.mutual_guilds` property (:issue:`9387`).
|
||||
- Fix :func:`utils.escape_markdown` not escaping the new markdown (:issue:`9361`).
|
||||
- Fix webhook targets not being converted in audit logs (:issue:`9332`).
|
||||
- Fix error when not passing ``enabled`` in :meth:`Guild.create_automod_rule` (:issue:`9292`).
|
||||
- Fix how various parameters are handled in :meth:`Guild.create_scheduled_event` (:issue:`9275`).
|
||||
- Fix not sending the ``ssrc`` parameter when sending the SPEAKING payload (:issue:`9301`).
|
||||
- Fix :attr:`Message.guild` being ``None`` sometimes when received via an interaction.
|
||||
- Fix :attr:`Message.system_content` for :attr:`MessageType.channel_icon_change` (:issue:`9410`).
|
||||
|
||||
Miscellaneous
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
- Update the base :attr:`Guild.filesize_limit` to 25MiB (:issue:`9353`).
|
||||
- Allow Interaction webhook URLs to be used in :meth:`Webhook.from_url`.
|
||||
- Set the socket family of internal connector to ``AF_INET`` to prevent IPv6 connections (:issue:`9442`, :issue:`9443`).
|
||||
|
||||
.. _vp2p2p3:
|
||||
|
||||
v2.2.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user