mirror of
https://github.com/django/daphne.git
synced 2025-07-02 02:43:08 +03:00
Update changelogs for 1.0.2 and web in general
This commit is contained in:
parent
05b5fa5216
commit
c9e6472ca7
|
@ -1,15 +1,30 @@
|
|||
Full release notes, with more details and upgrade information, are available at:
|
||||
https://channels.readthedocs.io/en/latest/releases
|
||||
|
||||
|
||||
1.0.2 (2017-01-12)
|
||||
------------------
|
||||
|
||||
* Websockets can now be closed from anywhere using the new ``WebsocketCloseException``.
|
||||
There is also a generic ``ChannelSocketException`` so you can do custom behaviours.
|
||||
|
||||
* Calling ``Channel.send`` or ``Group.send`` from outside a consumer context
|
||||
(i.e. in tests or management commands) will once again send the message immediately.
|
||||
|
||||
* The base implementation of databinding now correctly only calls ``group_names(instance)``,
|
||||
as documented.
|
||||
|
||||
|
||||
1.0.1 (2017-01-09)
|
||||
------------------
|
||||
|
||||
* WebSocket generic views now accept connections by default in their connect
|
||||
handler for better backwards compatibility.
|
||||
|
||||
|
||||
1.0.0 (2017-01-08)
|
||||
------------------
|
||||
|
||||
Full release notes, with more upgrade details, are available at:
|
||||
https://channels.readthedocs.io/en/latest/releases/1.0.0.html
|
||||
|
||||
* BREAKING CHANGE: WebSockets must now be explicitly accepted or denied.
|
||||
See https://channels.readthedocs.io/en/latest/releases/1.0.0.html for more.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Channels 1.0.0 brings together a number of design changes, including some
|
||||
breaking changes, into our first fully stable release, and also brings the
|
||||
databinding code out of alpha phase.
|
||||
databinding code out of alpha phase. It was released on 2017/01/08.
|
||||
|
||||
The result is a faster, easier to use, and safer Channels, including one major
|
||||
change that will fix almost all problems with sessions and connect/receive
|
||||
|
|
16
docs/releases/1.0.1.rst
Normal file
16
docs/releases/1.0.1.rst
Normal file
|
@ -0,0 +1,16 @@
|
|||
1.0.1 Release Notes
|
||||
===================
|
||||
|
||||
Channels 1.0.1 is a minor bugfix release, released on 2017/01/09.
|
||||
|
||||
Changes
|
||||
-------
|
||||
|
||||
* WebSocket generic views now accept connections by default in their connect
|
||||
handler for better backwards compatibility.
|
||||
|
||||
|
||||
Backwards Incompatible Changes
|
||||
------------------------------
|
||||
|
||||
None.
|
27
docs/releases/1.0.2.rst
Normal file
27
docs/releases/1.0.2.rst
Normal file
|
@ -0,0 +1,27 @@
|
|||
1.0.2 Release Notes
|
||||
===================
|
||||
|
||||
Channels 1.0.2 is a minor bugfix release, released on 2017/01/12.
|
||||
|
||||
Changes
|
||||
-------
|
||||
|
||||
* Websockets can now be closed from anywhere using the new ``WebsocketCloseException``,
|
||||
available as ``channels.exceptions.WebsocketCloseException(code=None)``. There is
|
||||
also a generic ``ChannelSocketException`` you can base any exceptions on that,
|
||||
if it is caught, gets handed the current ``message`` in a ``run`` method, so you
|
||||
can do custom behaviours.
|
||||
|
||||
* Calling ``Channel.send`` or ``Group.send`` from outside a consumer context
|
||||
(i.e. in tests or management commands) will once again send the message immediately,
|
||||
rather than putting it into the consumer message buffer to be flushed when the
|
||||
consumer ends (which never happens)
|
||||
|
||||
* The base implementation of databinding now correctly only calls ``group_names(instance)``,
|
||||
as documented.
|
||||
|
||||
|
||||
Backwards Incompatible Changes
|
||||
------------------------------
|
||||
|
||||
None.
|
|
@ -5,3 +5,5 @@ Release Notes
|
|||
:maxdepth: 1
|
||||
|
||||
1.0.0
|
||||
1.0.1
|
||||
1.0.2
|
||||
|
|
Loading…
Reference in New Issue
Block a user