aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-05-10 20:19:51 -0400
committerRapptz <[email protected]>2019-05-10 20:19:51 -0400
commitf8cc64ca7e69070d5bcea78986e29edeb05c34af (patch)
tree0846b5225a1f2b4c6edaef18020338ebd2682964 /docs
parentFix typo in Loop.restart documentation (diff)
downloaddiscord.py-f8cc64ca7e69070d5bcea78986e29edeb05c34af.tar.xz
discord.py-f8cc64ca7e69070d5bcea78986e29edeb05c34af.zip
Add changelog for v1.1.0
Diffstat (limited to 'docs')
-rw-r--r--docs/ext/commands/api.rst2
-rw-r--r--docs/ext/tasks/index.rst2
-rw-r--r--docs/whats_new.rst67
3 files changed, 71 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index 3400efe0..e9705125 100644
--- a/docs/ext/commands/api.rst
+++ b/docs/ext/commands/api.rst
@@ -134,6 +134,8 @@ Checks
.. autofunction:: discord.ext.commands.guild_only
+.. autofunction:: discord.ext.commands.dm_only
+
.. autofunction:: discord.ext.commands.is_owner
.. autofunction:: discord.ext.commands.is_nsfw
diff --git a/docs/ext/tasks/index.rst b/docs/ext/tasks/index.rst
index 0e9a65b9..27f080c9 100644
--- a/docs/ext/tasks/index.rst
+++ b/docs/ext/tasks/index.rst
@@ -128,6 +128,8 @@ Doing something during cancellation:
await self.do_bulk()
+.. _ext_tasks_api:
+
API Reference
---------------
diff --git a/docs/whats_new.rst b/docs/whats_new.rst
index 753a3388..b5d00ea3 100644
--- a/docs/whats_new.rst
+++ b/docs/whats_new.rst
@@ -8,6 +8,73 @@ Changelog
This page keeps a detailed human friendly rendering of what's new and changed
in specific versions.
+.. _vp1p1p0:
+
+v1.1.0
+---------
+
+New Features
+~~~~~~~~~~~~~~
+
+- **There is a new extension dedicated to making background tasks easier.**
+ - You can check the documentation here: :ref:`ext_tasks_api`.
+- Add :attr:`Permissions.stream` permission. (:issue:`2077`)
+- Add equality comparison and hash support to :class:`Asset`
+- Add ``compute_prune_members`` parameter to :meth:`Guild.prune_members` (:issue:`2085`)
+- Add :attr:`Client.cached_messages` attribute to fetch the message cache (:issue:`2086`)
+- Add :meth:`abc.GuildChannel.clone` to clone a guild channel. (:issue:`2093`)
+- Add ``delay`` keyword-only argument to :meth:`Message.delete` (:issue:`2094`)
+- Add support for ``<:name:id>`` when adding reactions (:issue:`2095`)
+- Add :meth:`Asset.read` to fetch the bytes content of an asset (:issue:`2107`)
+- Add :meth:`Attachment.read` to fetch the bytes content of an attachment (:issue:`2118`)
+- Add support for voice kicking by passing ``None`` to :meth:`Member.move_to`.
+
+``discord.ext.commands``
+++++++++++++++++++++++++++
+
+- Add new :func:`~.commands.dm_only` check.
+- Support callable converters in :data:`~.commands.Greedy`
+- Add new :class:`~.commands.MessageConverter`.
+ - This allows you to use :class:`Message` as a type hint in functions.
+- Allow passing ``cls`` in the :func:`~.commands.group` decorator (:issue:`2061`)
+- Add :attr:`.Command.parents` to fetch the parents of a command (:issue:`2104`)
+
+
+Bug Fixes
+~~~~~~~~~~~~
+
+- Fix :exc:`AttributeError` when using ``__repr__`` on :class:`Widget`.
+- Fix issue with :attr:`abc.GuildChannel.overwrites` returning ``None`` for keys.
+- Remove incorrect legacy NSFW checks in e.g. :meth:`TextChannel.is_nsfw`.
+- Fix :exc:`UnboundLocalError` when :class:`RequestsWebhookAdapter` raises an error.
+- Fix bug where updating your own user did not update your member instances.
+- Tighten constraints of ``__eq__`` in :class:`Spotify` objects (:issue:`2113`, :issue:`2117`)
+
+``discord.ext.commands``
+++++++++++++++++++++++++++
+
+- Fix lambda converters in a non-module context (e.g. ``eval``).
+- Use message creation time for reference time when computing cooldowns.
+ - This prevents cooldowns from triggering during e.g. a RESUME session.
+- Fix the default :func:`on_command_error` to work with new-style cogs (:issue:`2094`)
+- DM channels are now recognised as NSFW in :func:`~.commands.is_nsfw` check.
+- Fix race condition with help commands (:issue:`2123`)
+- Fix cog descriptions not showing in :class:`~.commands.MinimalHelpCommand` (:issue:`2139`)
+
+Miscellaneous
+~~~~~~~~~~~~~~~
+
+- Improve the performance of internal enum creation in the library by about 5x.
+- Make the output of ``python -m discord --version`` a bit more useful.
+- The loop cleanup facility has been rewritten again.
+- The signal handling in :meth:`Client.run` has been removed.
+
+``discord.ext.commands``
+++++++++++++++++++++++++++
+
+- Custom exception classes are now used for all default checks in the library (:issue:`2101`)
+
+
.. _vp1p0p1:
v1.0.1