Skip to content

Commit

Permalink
Release 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfix committed Jan 7, 2019
1 parent 4d9a1bb commit 79dc7af
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 26 deletions.
53 changes: 53 additions & 0 deletions docs/source/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,59 @@ Release history

.. towncrier release notes start
Trio 0.10.0 (2019-01-07)
------------------------

Features
~~~~~~~~

- Initial :ref:`subprocess support <subprocess>`. Add
:class:`trio.subprocess.Process`, an async wrapper around the stdlib
:class:`subprocess.Popen` class, which permits spawning subprocesses and
communicating with them over standard Trio streams. :mod:`trio.subprocess`
also reexports all the stdlib :mod:`subprocess` exceptions and constants for
convenience. (`#4 <https://github.com/python-trio/trio/issues/4>`__)
- You can now create an unbounded :class:`CapacityLimiter` by initializing with
:obj:`math.inf` (`#618 <https://github.com/python-trio/trio/issues/618>`__)
- New :mod:`trio.hazmat` features to allow cleanly switching live coroutine
objects between Trio and other coroutine runners. Frankly, we're not even
sure this is a good idea, but we want to `try it out in trio-asyncio
<https://github.com/python-trio/trio-asyncio/issues/42>`__, so here we are.
For details see :ref:`live-coroutine-handoff`. (`#649
<https://github.com/python-trio/trio/issues/649>`__)


Bugfixes
~~~~~~~~

- Fixed a race condition on macOS, where Trio's TCP listener would crash if an
incoming TCP connection was closed before the listener had a chance to accept
it. (`#609 <https://github.com/python-trio/trio/issues/609>`__)
- :func:`trio.open_tcp_stream()` has been refactored to clean up unsuccessful
connection attempts more reliably. (`#809
<https://github.com/python-trio/trio/issues/809>`__)


Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- Remove the APIs deprecated in 0.5.0. (``ClosedStreamError``,
``ClosedListenerError``, ``Result``) (`#812
<https://github.com/python-trio/trio/issues/812>`__)


Miscellaneous internal changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- There are a number of methods on :class:`trio.ssl.SSLStream` that report
information about the negotiated TLS connection, like
``selected_alpn_protocol``, and thus cannot succeed until after the handshake
has been performed. Previously, we returned None from these methods, like the
stdlib :mod:`ssl` module does, but this is confusing, because that can also
be a valid return value. Now we raise :exc:`trio.ssl.NeedHandshakeError`
instead. (`#735 <https://github.com/python-trio/trio/issues/735>`__)


Trio 0.9.0 (2018-10-12)
-----------------------

Expand Down
6 changes: 0 additions & 6 deletions newsfragments/4.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions newsfragments/609.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/618.feature.rst

This file was deleted.

6 changes: 0 additions & 6 deletions newsfragments/649.feature.rst

This file was deleted.

7 changes: 0 additions & 7 deletions newsfragments/735.misc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions newsfragments/809.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion newsfragments/812.removal.rst

This file was deleted.

2 changes: 1 addition & 1 deletion trio/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is imported from __init__.py and exec'd from setup.py

__version__ = "0.9.0+dev"
__version__ = "0.10.0"

0 comments on commit 79dc7af

Please sign in to comment.