./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.1.7, Package name: py37-channels-2.1.7, 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:
[www/py-django] [devel/py-setuptools] [www/py-asgiref] [www/py-daphne] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 45ad2f14caedb604562cbd2b17120ee78940dcee
RMD160: d898eb3932de335aa11c9d8c2072b1ff9b8e489a
Filesize: 28.358 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2018-08-19 12:54:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.1.3

2.1.3:
* An ALLOWED_ORIGINS value of "*" will now also allow requests without \ 
a Host
  header at all (especially important for tests)
* The request.path value is now correct in cases when a server has SCRIPT_NAME
  set
* Errors that happen inside channel listeners inside a runworker or Worker
  class are now raised rather than suppressed
   2018-06-14 09:57:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-channels: updated to 2.1.2

2.1.2:
* AsyncHttpConsumer now has a disconnect() method you can override
* Session and authentication middleware is now non-blocking.
* URL routing context now includes default arguments from the URLconf.
* The FORCE_SCRIPT_NAME setting is now respected in ASGI mode.
* ALLOWED_HOSTS is now set correctly during LiveServerTests.
   2018-04-30 09:37:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-channels: updated to 2.1.1

2.1.1:
* The scope["user"] object is no longer a lazy object, as this \ 
conflicts with
  any async-based consumers.
   2018-04-13 13:13:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-channels: updated to 2.1.0

2.1.0:
* Async HTTP Consumers and WebSocket Consumers both gained new functionality
  (groups, subprotocols, and an async HTTP variant)
* URLRouters now allow nesting
* Async login and logout functions for sessions
* Expiry and groups in the in-memory channel layer
* Improved Live Server test case
* More powerful OriginValidator
* Other small changes and fixes in the full release notes.
   2018-02-14 15:22:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-channels: updated to 2.0.2

2.0.2:
* SyncConsumer now terminates old database connections, and there is a new
  database_sync_to_async wrapper to allow async connections to do the same.

2.0.1:
* AsyncWebsocketConsumer and AsyncJsonWebsocketConsumer classes added
* OriginValidator and AllowedHostsOriginValidator ASGI middleware is now available
* URLRouter now correctly resolves long lists of URLs

2.0.0:
* Major backwards-incompatible rewrite to move to an asyncio base and remove
  the requirement to transport data over the network, as well as overhauled
  generic consumers, test helpers, routing and more.