This commit is contained in:
Andrew Godwin 2015-09-10 16:00:39 -05:00
parent bd1553556d
commit 655213eff9
5 changed files with 32 additions and 2 deletions

View File

@ -1,4 +1,4 @@
__version__ = "0.1.1"
__version__ = "0.8"
# Load backends, using settings if available (else falling back to a default)
DEFAULT_CHANNEL_BACKEND = "default"

View File

@ -31,3 +31,4 @@ Contents:
scaling
backends
faqs
releases/index

22
docs/releases/0.8.rst Normal file
View File

@ -0,0 +1,22 @@
0.8 (2015-09-10)
----------------
This release reworks a few of the core concepts to make the channel layer
more efficient and user friendly:
* Channel names now do not start with ``django``, and are instead just ``http.request``, etc.
* HTTP headers/GET/etc are only sent with ``websocket.connect`` rather than all websocket requests,
to save a lot of bandwidth in the channel layer.
* The session/user decorators were renamed, and a ``@channel_session_user`` and ``transfer_user`` set of functions
added to allow moving the user details from the HTTP session to the channel session in the ``connect`` consumer.
* A ``@linearize`` decorator was added to help ensure a ``connect``/``receive`` pair are not executed
simultanously on two different workers.
* Channel backends gained locking mechanisms to support the ``linearize`` feature.
* ``runwsserver`` will use asyncio rather than Twisted if it's available.
* Message formats have been made a bit more consistent.

7
docs/releases/index.rst Normal file
View File

@ -0,0 +1,7 @@
Release Notes
-------------
.. toctree::
:maxdepth: 1
0.8

View File

@ -2,7 +2,7 @@ from setuptools import find_packages, setup
setup(
name='channels',
version="0.7",
version="0.8",
url='http://github.com/andrewgodwin/django-channels',
author='Andrew Godwin',
author_email='andrew@aeracode.org',