aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-12-19 17:53:41 -0500
committerRapptz <[email protected]>2016-12-19 17:53:41 -0500
commit5731f3405d4d3497ad321362558a14eb3b38a86c (patch)
tree8083d2611f8d7baafa46a72ba524534001fb9d45
parent[commands] Shield against dictionary resize in Bot.close (diff)
downloaddiscord.py-5731f3405d4d3497ad321362558a14eb3b38a86c.tar.xz
discord.py-5731f3405d4d3497ad321362558a14eb3b38a86c.zip
Version bump to v0.16.0.v0.16.0
-rw-r--r--discord/__init__.py4
-rw-r--r--docs/whats_new.rst25
2 files changed, 27 insertions, 2 deletions
diff --git a/discord/__init__.py b/discord/__init__.py
index 142ee36d..7bf7cd48 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.15.1'
+__version__ = '0.16.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=15, micro=1, releaselevel='final', serial=0)
+version_info = VersionInfo(major=0, minor=16, micro=0, releaselevel='final', serial=0)
try:
from logging import NullHandler
diff --git a/docs/whats_new.rst b/docs/whats_new.rst
index a84a5041..35d0d2e3 100644
--- a/docs/whats_new.rst
+++ b/docs/whats_new.rst
@@ -8,6 +8,31 @@ What's New
This page keeps a detailed human friendly rendering of what's new and changed
in specific versions.
+.. _vp0p16p0:
+
+v0.16.0
+---------
+
+New Features
+~~~~~~~~~~~~~~
+
+- Add :attr:`Channel.overwrites` to get all the permission overwrites of a channel.
+- Add :attr:`Server.features` to get information about partnered servers.
+
+Bug Fixes
+~~~~~~~~~~
+
+- Timeout when waiting for offline members while triggering :func:`on_ready`.
+
+ - The fact that we did not timeout caused a gigantic memory leak in the library that caused
+ thousands of duplicate :class:`Member` instances causing big memory spikes.
+
+- Discard null sequences in the gateway.
+
+ - The fact these were not discarded meant that :func:`on_ready` kept being called instead of
+ :func:`on_resumed`. Since this has been corrected, in most cases :func:`on_ready` will be
+ called once or twice with :func:`on_resumed` being called much more often.
+
.. _vp0p15p1:
v0.15.1