./www/py-channels, Brings event-driven capabilities to Django with a channel system

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.0, Package name: py37-channels-2.4.0, Maintainer: adam

Channels loads into Django as a pluggable app to bring WebSocket, long-poll
HTTP, task offloading and other asynchrony support to your code, using familiar
Django design patterns and a flexible underlying framework that lets you not
only customize behaviours but also write support for your own protocols and
needs.


Required to run:
[devel/py-setuptools] [www/py-asgiref] [www/py-daphne] [www/py-django2] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 0fe68c7e38c76073fd8486317842891ce2228a22
RMD160: e842aa8311f5eab59fea0919c9a3dc77241a3bb4
Filesize: 30.435 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-01 21:41:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.4.0

2.4.0:
* Wraps session save calls in ``database_sync_to_async()``, for compatibility
  with Django 3.0's ``async_unsafe()`` checks.
* Drops compatibility with all Django versions lower than 2.2.
   2019-10-31 11:17:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.3.1

2.3.1:
* Adds compatibility with Python 3.8.
   2019-10-07 22:28:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.3.0

2.3.0:
* Adjusted ``AsgiHandler`` HTTP body handling to use a spooled temporary file,
  rather than reading the whole request body into memory.

  As a result, ``AsgiRequest.__init__()`` is adjusted to expect a file-like
  ``stream``, rather than the whole ``body`` as bytes. Test cases instantiating
  requests directly will likely need to be updated to wrap the provided body
  in, e.g., `io.BytesIO`.
   2019-05-06 12:26:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.2.0

2.2.0:
* Updated requirements for ASGI v3 and Daphne 2.3.
   2019-04-26 15:14:25 by Maya Rashish | Files touched by this commit (473)
Log message:
Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.
   2019-02-13 16:57:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.1.7

2.1.7:
* HTTP request body size limit is now enforced
* database_sync_to_async now closes old connections before it runs code
* Auth middleware closes old connections before it runs
   2018-12-11 10:50:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.1.6

2.1.6:
* HttpCommunicator now extracts query strings correctly
* AsyncHttpConsumer provides channel layer attributes
* Prevent late-Daphne import errors
   2018-11-06 15:21:51 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-channels: updated to 2.1.5

2.1.5:
* Django middleware caching now works on Django 1.11 and Django 2.0.
  The previous release only ran on 2.1.

2.1.4:
* Django middleware is now cached rather than instantiated per request
  resulting in a sigificant speed improvement
* ChannelServerLiveTestCase now serves static files again
* Improved error message resulting from bad Origin headers
* runserver logging now goes through the Django logging framework
* Generic consumers can now have non-default channel layers
* Improved error when accessing scope['user'] before it's ready