Skip to content

Commit

Permalink
0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgodwin committed Sep 10, 2015
1 parent bd15535 commit 655213e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion channels/__init__.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ Contents:
scaling
backends
faqs
releases/index
22 changes: 22 additions & 0 deletions docs/releases/0.8.rst
Original file line number Diff line number Diff line change
@@ -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 changes: 7 additions & 0 deletions docs/releases/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Release Notes
-------------

.. toctree::
:maxdepth: 1

0.8
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='channels',
version="0.7",
version="0.8",
url='http://github.com/andrewgodwin/django-channels',
author='Andrew Godwin',
author_email='andrew@aeracode.org',
Expand Down

0 comments on commit 655213e

Please sign in to comment.