Skip to content

Commit

Permalink
Bump 2.0.0 Changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustaSqu1d authored and Lulalaby committed Jul 9, 2022
1 parent 95fd465 commit 1bb5ac3
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion docs/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,53 @@
Changelog
=========

This page keeps a detailed human friendly rendering of what's new and changed
This page keeps a detailed human-friendly rendering of what's new and changed
in specific versions.

.. _vp2p0p0:

v2.0.0
------
- Voice receive API
- `Bot.register_commands` renamed to :meth:`Bot.sync_commands`
- Support for Input Text and Modal components
- Slash command Attachments option
- Discord API version changed from 9 to 10
- Message Content privileged intent
- Application Command Localization
- Guild Ban List Paginated
- Fully deprecated/removed store channels
- discord.ext.bridge (Ability to have both slash and prefix commands)
- :meth:`Client.get_message`
- :meth:`Modal.on_error`
- Library-level enforcement of component field limits
- Support providing option channel types as list
- [ext.pages] Files parameter to Page object
- [ext.bridge] :meth:`BridgeExtContext.delete()` method
- disable_all_items method to View
- Change :attr:`Modal.children` to be a property + allow instantiating with list of InputText components
- Enum options
- Application permissions v2
- `arg: type = Option(...)` Option format
- Forum channels
- Methods and attributes that returned :class:`TextChannel`, etc can now return :class:`Thread`.
- Attributes that returned :class:`Asset` are renamed, e.g. attributes ending with `_url` (i.e. `avatar_url`) are changed to :attr:`avatar.url`. :attr:`User.avatar` returns None in case the default avatar is used.
- :func:`on_presence_update` replaces `on_member_update` for updates to :attr:`Member.status` and :attr:`Member.activities`.
- :class:`datetime` is now timezone-aware.
- Sticker changes: `StickerType` has been renamed to :class:`StickerFormatType`, and the type of :attr:`Message.stickers` is changed. `Sticker.preview_image`, `Sticker.image` and `Sticker.tags` are removed.
- Webhooks are changed significantly; `WebhookAdapter` is removed, and synchronous requests using requests is now inside :class:`SyncWebhook`.
- `edit` method no longer updates cache and instead returns modified instance.
- User accounts (userbots) are no longer supported.
- `Client.logout` is removed; use :meth:`Client.close` instead.
- `on_private_channel_create/delete events` are removed.
- `User.permissions_in` is removed; use `abc.GuildChannel.permissions_in` instead.
- `Message.type` for replies are now :attr:`MessageType.reply`.
- `Reaction.custom_emoji` property is changed to :meth:`Reaction.is_custom_emoji` method.
- `missing_perms` attributes and arguments are renamed to `missing_permissions`.
- Many method arguments now reject :class:`None`.
- Many arguments are now specified as positional-only or keyword-only; e.g. :meth:`utils.oauth_url` now takes keyword-only arguments, and methods starting with `get_` or `fetch_` take positional-only arguments.
- `Complete list of breaking changes <https://gist.github.com/BobDotCom/81bfea226e330675e7f1e282b24b371e>`

.. _vp1p7p3:

v1.7.3
Expand Down

0 comments on commit 1bb5ac3

Please sign in to comment.