mirror of
https://github.com/django/daphne.git
synced 2025-07-10 16:02:18 +03:00
0.8
This commit is contained in:
parent
bd1553556d
commit
655213eff9
|
@ -1,4 +1,4 @@
|
||||||
__version__ = "0.1.1"
|
__version__ = "0.8"
|
||||||
|
|
||||||
# Load backends, using settings if available (else falling back to a default)
|
# Load backends, using settings if available (else falling back to a default)
|
||||||
DEFAULT_CHANNEL_BACKEND = "default"
|
DEFAULT_CHANNEL_BACKEND = "default"
|
||||||
|
|
|
@ -31,3 +31,4 @@ Contents:
|
||||||
scaling
|
scaling
|
||||||
backends
|
backends
|
||||||
faqs
|
faqs
|
||||||
|
releases/index
|
||||||
|
|
22
docs/releases/0.8.rst
Normal file
22
docs/releases/0.8.rst
Normal 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
7
docs/releases/index.rst
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Release Notes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
0.8
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='channels',
|
name='channels',
|
||||||
version="0.7",
|
version="0.8",
|
||||||
url='http://github.com/andrewgodwin/django-channels',
|
url='http://github.com/andrewgodwin/django-channels',
|
||||||
author='Andrew Godwin',
|
author='Andrew Godwin',
|
||||||
author_email='andrew@aeracode.org',
|
author_email='andrew@aeracode.org',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user