diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 5b8866a..692c470 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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. diff --git a/docs/releases/1.0.0.rst b/docs/releases/1.0.0.rst index 7d4ed8f..1e6849f 100644 --- a/docs/releases/1.0.0.rst +++ b/docs/releases/1.0.0.rst @@ -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 diff --git a/docs/releases/1.0.1.rst b/docs/releases/1.0.1.rst new file mode 100644 index 0000000..ae07531 --- /dev/null +++ b/docs/releases/1.0.1.rst @@ -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. diff --git a/docs/releases/1.0.2.rst b/docs/releases/1.0.2.rst new file mode 100644 index 0000000..fd0435d --- /dev/null +++ b/docs/releases/1.0.2.rst @@ -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. diff --git a/docs/releases/index.rst b/docs/releases/index.rst index 7e0e7e6..856f565 100644 --- a/docs/releases/index.rst +++ b/docs/releases/index.rst @@ -5,3 +5,5 @@ Release Notes :maxdepth: 1 1.0.0 + 1.0.1 + 1.0.2