From 59d17e41370e7f31e93170e05b12a4aff7d171ae Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 22 Nov 2016 19:59:28 -0500 Subject: [PATCH] Version bump to v0.15.0 --- discord/__init__.py | 4 ++-- docs/whats_new.rst | 24 +++++++++++++++++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/discord/__init__.py b/discord/__init__.py index f2077a7ea..fa68d8b06 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -15,7 +15,7 @@ __title__ = 'discord' __author__ = 'Rapptz' __license__ = 'MIT' __copyright__ = 'Copyright 2015-2016 Rapptz' -__version__ = '0.14.3' +__version__ = '0.15.0' from .client import Client, AppInfo, ChannelPermissions from .user import User @@ -43,7 +43,7 @@ import logging VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial') -version_info = VersionInfo(major=0, minor=14, micro=3, releaselevel='final', serial=0) +version_info = VersionInfo(major=0, minor=15, micro=0, releaselevel='final', serial=0) try: from logging import NullHandler diff --git a/docs/whats_new.rst b/docs/whats_new.rst index 6967062ba..5a5e7b08d 100644 --- a/docs/whats_new.rst +++ b/docs/whats_new.rst @@ -8,7 +8,29 @@ What's New This page keeps a detailed human friendly rendering of what's new and changed in specific versions. -.. _vp014p3: +.. _vp0p15p0: + +v0.15.0 +-------- + +New Features +~~~~~~~~~~~~~~ + +- Rich Embeds for messages are now supported. + + - To do so, create your own :class:`Embed` and pass the instance to the ``embed`` keyword argument to :meth:`Client.send_message` or :meth:`Client.edit_message`. +- Add :meth:`Client.clear_reactions` to remove all reactions from a message. +- Add support for MESSAGE_REACTION_REMOVE_ALL event, under :func:`on_reaction_clear`. +- Add :meth:`Permissions.update` and :meth:`PermissionOverwrite.update` for bulk permission updates. + + - This allows you to use e.g. ``p.update(read_messages=True, send_messages=False)`` in a single line. +- Add :meth:`PermissionOverwrite.is_empty` to check if the overwrite is empty (i.e. has no overwrites set explicitly as true or false). + +For the command extension, the following changed: + +- ``Context`` is no longer slotted to facilitate setting dynamic attributes. + +.. _vp0p14p3: v0.14.3 ---------