The NetBSD Project

CVS log for pkgsrc/www/py-channels/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / py-channels

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 4 22:36:43 2024 UTC (8 weeks, 3 days ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +8 -7 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Thu Jul 13 10:03:26 2023 UTC (7 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

*: switch django users to py-django3

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 6 15:30:19 2022 UTC (19 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Tue Jan 4 20:55:17 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 14 20:57:08 2021 UTC (2 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

py-channels: updated to 3.0.4

Channels 3.0.4 is a bugfix release in the 3.0 series.

Revision 1.20 / (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.19: +2 -2 lines
Diff to previous 1.19 (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.19 / (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.18: +4 -4 lines
Diff to previous 1.18 (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.18 / (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.17: +2 -2 lines
Diff to previous 1.17 (colored)

py-channels: updated to 2.3.1

2.3.1:
* Adds compatibility with Python 3.8.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Oct 7 20:28:57 2019 UTC (4 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Mon May 6 10:26:17 2019 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

py-channels: updated to 2.2.0

2.2.0:
* Updated requirements for ASGI v3 and Daphne 2.3.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 26 13:14:20 2019 UTC (4 years, 10 months ago) by maya
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 13 15:57:01 2019 UTC (5 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Tue Dec 11 09:50:54 2018 UTC (5 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Tue Nov 6 14:21:51 2018 UTC (5 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Aug 19 10:54:36 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Thu Jun 14 07:57:32 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (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.9 / (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.8: +3 -3 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Fri Apr 13 11:13:32 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Wed Feb 14 14:22:33 2018 UTC (6 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.6: +6 -7 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Fri Dec 8 20:38:59 2017 UTC (6 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

Restrict Python support as py-asgiref doesn't support 2.7 and 3.4.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 16 06:51:54 2017 UTC (6 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Fri Sep 15 12:49:07 2017 UTC (6 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:26 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Switch github HOMEPAGEs to https.

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: +2 -2 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, 8 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>