Up to [cvs.NetBSD.org] / pkgsrc / www / py-channels
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 4 22:36:43 2024 UTC (2 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +4 -4
lines
Diff to previous 1.21 (colored)
py-channels: updated to 4.0.0 4.0.0 (2022-10-15) ------------------ Channels 4 is the next major version of the Channels package. Together with the matching Daphne v4 and channels-redis v4 releases, it updates dependencies, fixes issues, and removes outdated code. It so provides the foundation for Channels development going forward. In most cases, you can update now by updating ``channels``, ``daphne``, and ``channels-redis`` as appropriate, with ``pip``, and by adding ``daphne`` at the top of your ``INSTALLED_APPS`` setting. First ``pip``:: pip install -U 'channels[daphne]' channels-redis Then in your Django settings file:: INSTALLED_APPS = [ "daphne", ... ] Again, this is a major version change. Amongst other changes, large amounts of the Django-wrapping code deprecated in Channels v3 has now been removed, in favour of Django's own ASGI handling, and the ``runserver`` command has been moved into the Daphne package.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 6 15:30:19 2022 UTC (20 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Changes since 1.20: +4 -4
lines
Diff to previous 1.20 (colored)
py-channels: updated to 3.0.5 3.0.5 Bugfixes & Small Changes Removed use of providing_args keyword argument to consumer started signal, as support for this was removed in Django 4.0. Backwards Incompatible Changes Drops support for end-of-life Python 3.6 and Django 3.0 and 3.1.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 26 11:30:29 2021 UTC (2 years, 5 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
www: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts): www/nghttp2/distinfo Unfetchable distfiles (almost certainly fetched conditionally...): ./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx-devel/distinfo naxsi-1.3.tar.gz ./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx-devel/distinfo njs-0.5.0.tar.gz ./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz ./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx/distinfo naxsi-1.3.tar.gz ./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx/distinfo njs-0.5.0.tar.gz ./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 7 15:08:12 2021 UTC (2 years, 5 months ago) by nia
Branch: MAIN
Changes since 1.18: +1 -2
lines
Diff to previous 1.18 (colored)
www: Remove SHA1 hashes for distfiles
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 14 20:57:08 2021 UTC (2 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3
Changes since 1.17: +5 -5
lines
Diff to previous 1.17 (colored)
py-channels: updated to 3.0.4 Channels 3.0.4 is a bugfix release in the 3.0 series.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 1 09:05:03 2021 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1
Changes since 1.16: +5 -5
lines
Diff to previous 1.16 (colored)
py-channels: updated to 3.0.3 3.0.3 (2020-12-28) ------------------ * Fixed a bug in Channels 3.0 where the legacy ``channels.http.AsgiHandler`` would not correctly isolate per-request scopes. This is a security release for CVE-2020-35681. Please see the `Version 3.0.3 release notes <https://channels.readthedocs.io/en/latest/releases/3.0.3.html>`_ for full details. 3.0.2 (2020-11-9) ----------------- * Fixes a bug in Channels 3.0 where ``StaticFilesWrapper`` was not updated to the ASGI 3 single-callable interface. * Users of the ``runworker`` command should ensure to update ``asgiref`` to version 3.3.1 or later. 3.0.1 (2020-11-4) ----------------- * Fixes a bug in Channels 3.0 where ``SessionMiddleware`` would not correctly isolate per-instance scopes. 3.0.0 (2020-10-30) ------------------ Updated to ASGI v3, and added support for Django 3.0+. This is a major version change requiring updates to consumers and middleware. Please see the full `Version 3.0.0 release notes <https://channels.readthedocs.io/en/latest/releases/3.0.0.html>`_ for details.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 1 20:41:42 2020 UTC (4 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.15: +5 -5
lines
Diff to previous 1.15 (colored)
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.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 31 10:17:07 2019 UTC (4 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4
Changes since 1.14: +5 -5
lines
Diff to previous 1.14 (colored)
py-channels: updated to 2.3.1 2.3.1: * Adds compatibility with Python 3.8.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Oct 7 20:28:57 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.13: +5 -5
lines
Diff to previous 1.13 (colored)
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`.
Revision 1.13 / (download) - annotate - [select for diffs], Mon May 6 10:26:17 2019 UTC (4 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Changes since 1.12: +5 -5
lines
Diff to previous 1.12 (colored)
py-channels: updated to 2.2.0 2.2.0: * Updated requirements for ASGI v3 and Daphne 2.3.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 13 15:57:01 2019 UTC (5 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored)
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
Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 11 09:50:54 2018 UTC (5 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Changes since 1.10: +5 -5
lines
Diff to previous 1.10 (colored)
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
Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 6 14:21:51 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored)
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
Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 19 10:54:36 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Changes since 1.8: +5 -5
lines
Diff to previous 1.8 (colored)
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
Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 14 07:57:32 2018 UTC (5 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.7: +5 -5
lines
Diff to previous 1.7 (colored)
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.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 30 07:37:24 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.6: +5 -5
lines
Diff to previous 1.6 (colored)
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.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 13 11:13:32 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.5: +5 -5
lines
Diff to previous 1.5 (colored)
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.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 14 14:22:33 2018 UTC (6 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.4: +5 -5
lines
Diff to previous 1.4 (colored)
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.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 16 06:51:54 2017 UTC (6 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.3: +5 -5
lines
Diff to previous 1.3 (colored)
py-channels: update to 1.1.8 1.1.8 * Reverted recent JS fixes for subprotocols on some phones as they do not work in Chrome.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 15 12:49:07 2017 UTC (6 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.2: +5 -5
lines
Diff to previous 1.2 (colored)
py-channels: update to 1.1.7 1.1.7: * Fixed compatability with Django 1.10 and below * JS library: Fixed error with 1006 error code
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 3 20:56:08 2017 UTC (6 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.1: +5 -5
lines
Diff to previous 1.1 (colored)
Changes 1.1.6: The runserver server_cls override no longer fails with more modern Django versions that pass an ipv6 parameter.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 21 19:09:34 2017 UTC (6 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2
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.