Skip to content

Commit 4fb9c6a

Browse files
committed
Bump version and run towncrier for 0.11.0 release
1 parent fdcf789 commit 4fb9c6a

File tree

9 files changed

+94
-46
lines changed

9 files changed

+94
-46
lines changed

docs/source/history.rst

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,99 @@ Release history
55

66
.. towncrier release notes start
77
8+
trio-asyncio 0.11.0 (2020-03-09)
9+
--------------------------------
10+
11+
Features
12+
~~~~~~~~
13+
14+
- Substantially reorganize monkeypatching for asyncio event loop and
15+
event loop policy accessors, fixing support for Python 3.8. Also, stop
16+
using features deprecated in Trio 0.12. (`#66 <https://github.com/python-trio/trio-asyncio/issues/66>`__)
17+
18+
Bugfixes
19+
~~~~~~~~
20+
21+
- Calling ``loop.stop`` manually no longer causes a deadlock when
22+
exiting the context of ``trio_asyncio.open_loop`` (`#58 <https://github.com/python-trio/trio-asyncio/issues/58>`__)
23+
24+
Deprecations and Removals
25+
~~~~~~~~~~~~~~~~~~~~~~~~~
26+
27+
- The non-underscore-prefixed names of trio-asyncio submodules (``trio_asyncio.loop``,
28+
``trio_asyncio.adapter``, etc) have been deprecated; public names should be
29+
imported from ``trio_asyncio`` directly.
30+
31+
``trio_asyncio.current_policy``, ``trio_asyncio.TrioChildWatcher``,
32+
and ``trio_asyncio.TrioPolicy`` have been deprecated with no
33+
replacement. ``current_policy`` is no longer used at all, and the
34+
other two are singletons that can't be customized so there's no reason
35+
to make them publicly visible.
36+
37+
A number of functions which were already documented as deprecated now
38+
raise the new :exc:`~trio_asyncio.TrioAsyncioDeprecationWarning` where
39+
previously they provided either no runtime warning or a generic
40+
:exc:`DeprecationWarning`. (`#64 <https://github.com/python-trio/trio-asyncio/issues/64>`__)
41+
42+
trio-asyncio 0.10.0 (2018-12-09)
43+
--------------------------------
44+
45+
Bugfixes
46+
~~~~~~~~
47+
48+
- Replace deprecated ``trio.Queue`` with new channels, requiring Trio 0.9 or later. (`#49 <https://github.com/python-trio/trio-asyncio/issues/49>`__)
49+
50+
trio-asyncio 0.9.1 (2018-09-06)
51+
-------------------------------
52+
53+
Features
54+
~~~~~~~~
55+
56+
- **Major reorganization:** The main entry point for calling asyncio
57+
from trio is now the :func:`trio_asyncio.aio_as_trio` adapter.
58+
Instead of calling :func:`asyncio.get_event_loop`, directly access the
59+
contextvar ``trio_aio_loop`` (aka :var:`trio_asyncio.adapter.current_loop`). (`#36 <https://github.com/python-trio/trio-asyncio/issues/36>`__)
60+
61+
Bugfixes
62+
~~~~~~~~
63+
64+
- Defer creating an asyncio coroutine until asyncio mode is actually entered. (`#40 <https://github.com/python-trio/trio-asyncio/issues/40>`__)
65+
66+
Deprecations and Removals
67+
~~~~~~~~~~~~~~~~~~~~~~~~~
68+
69+
- ``run_asyncio()`` is deprecated: replace with a :func:`aio_as_trio` wrapper.
70+
71+
``trio2aio()`` is deprecated: replace with :func:`aio_as_trio`.
72+
73+
``run_future()`` and ``TrioEventLoop.run_future()`` are deprecated:
74+
replace with :func:`run_aio_future`.
75+
76+
``run_coroutine()`` and ``TrioEventLoop.run_coroutine()`` are
77+
deprecated: replace with :func:`run_aio_coroutine`.
78+
79+
``TrioEventLoop.wrap_generator()`` is deprecated: replace with a
80+
:func:`aio_as_trio` wrapper.
81+
82+
``TrioEventLoop.run_iterator()`` is deprecated: replace with
83+
:func:`aio_as_trio`. (`#36
84+
<https://github.com/python-trio/trio-asyncio/issues/36>`__)
85+
86+
trio-asyncio 0.8.4 (2018-08-25)
87+
-------------------------------
88+
89+
trio-asyncio 0.8.3 (2018-08-25)
90+
-------------------------------
91+
92+
trio-asyncio 0.8.2 (2018-08-25)
93+
-------------------------------
94+
95+
trio-asyncio 0.8.1 (2018-08-25)
96+
-------------------------------
97+
98+
trio-asyncio 0.8.0 (2018-08-03)
99+
-------------------------------
100+
8101
trio-asyncio 0.8.1 (2018-08-25)
9102
-------------------------------
10103

newsfragments/36.feature.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.

newsfragments/36.removal.rst

Lines changed: 0 additions & 15 deletions
This file was deleted.

newsfragments/40.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/49.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/58.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

newsfragments/64.removal.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

newsfragments/66.feature.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

trio_asyncio/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is imported from __init__.py and exec'd from setup.py
22

3-
__version__ = "0.10.0"
3+
__version__ = "0.11.0"

0 commit comments

Comments
 (0)