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


Keyword substitution: kv
Default branch: MAIN


Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Nov 24 20:00:42 2024 UTC (4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -4 lines
py-channels: updated to 4.2.0

4.2.0 (2024-11-15)

Channels 4.2 introduces a couple of major but backwards-compatible
changes, including most notably enhanced async suppport and fixing
a long-standing bug where tests would try and close db connections
and erroneously fail.

There are a number of other small bugfixes.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:29:16 2024 UTC (4 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Apr 5 17:34:11 2024 UTC (11 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
py-channels: updated to 4.1.0

Channels 4.1 is maintenance release in the 4.x series.

The main change is an update in the required Python and Django version.
Python 3.8, and Django 4.2 are now the minimum required versions.

There are a number of other small bugfixes.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jan 4 22:36:43 2024 UTC (14 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -7 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 13 10:03:26 2023 UTC (20 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
*: switch django users to py-django3

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jul 6 15:30:19 2022 UTC (2 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 4 20:55:17 2022 UTC (3 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
*: bump PKGREVISION for egg.mk users

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

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 14 20:57:08 2021 UTC (3 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
py-channels: updated to 3.0.4

Channels 3.0.4 is a bugfix release in the 3.0 series.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 1 09:05:03 2021 UTC (4 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 1 20:41:42 2020 UTC (5 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 31 10:17:07 2019 UTC (5 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
py-channels: updated to 2.3.1

2.3.1:
* Adds compatibility with Python 3.8.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Oct 7 20:28:57 2019 UTC (5 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon May 6 10:26:17 2019 UTC (5 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
py-channels: updated to 2.2.0

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

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Apr 26 13:14:20 2019 UTC (5 years, 11 months ago) by maya
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 13 15:57:01 2019 UTC (6 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 11 09:50:54 2018 UTC (6 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 14:21:51 2018 UTC (6 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 19 10:54:36 2018 UTC (6 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 14 07:57:32 2018 UTC (6 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 30 07:37:24 2018 UTC (6 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 13 11:13:32 2018 UTC (6 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 14 14:22:33 2018 UTC (7 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 8 20:38:59 2017 UTC (7 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1 lines
Restrict Python support as py-asgiref doesn't support 2.7 and 3.4.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Sep 16 06:51:54 2017 UTC (7 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 15 12:49:07 2017 UTC (7 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 30 22:32:26 2017 UTC (7 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Switch github HOMEPAGEs to https.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 3 20:56:08 2017 UTC (7 years, 8 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 19:09:34 2017 UTC (7 years, 9 months ago) by adam
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>