mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Version bump to v0.16.0.
This commit is contained in:
parent
00e30f3106
commit
5731f3405d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user