Skip to content

Commit ecb9926

Browse files
committed
chore: bump to version 0.2
1 parent 3ef8c8d commit ecb9926

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ FROM ${BASE_IMAGE}
33
COPY . /purerpc
44
WORKDIR /purerpc
55
RUN pip install .
6-
RUN pip install curio trio # Optional, for tests
6+
RUN pip install curio trio==0.10 # Optional, for tests

RELEASE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# [Release 0.2.0](https://github.com/standy66/purerpc/compare/v0.1.6...v0.2.0) (2019-02-10)
2+
3+
4+
### Features
5+
6+
* add backend option to Server.serve ([5f47f8e](https://github.com/standy66/purerpc/commit/5f47f8e))
7+
* add support for Python 3.5 ([a681192](https://github.com/standy66/purerpc/commit/a681192))
8+
* improved exception handling in test utils ([b1df796](https://github.com/standy66/purerpc/commit/b1df796))
9+
* migrate to anyio ([746b1c2](https://github.com/standy66/purerpc/commit/746b1c2))
10+
11+
12+
### BREAKING CHANGES
13+
14+
* Server and test now use asyncio event loop by default,
15+
this behaviour can be changed with PURERPC_BACKEND environment variable
16+
* purerpc.Channel is removed, migrate to
17+
purerpc.insecure_channel async context manager (now supports correct
18+
shutdown)
19+
120
## Release 0.1.6
221

322
* Allow passing request headers to method handlers in request argument

test.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import anyio
2+
import trio
3+
4+
async def main():
5+
async with anyio.open_cancel_scope():
6+
pass
7+
8+
trio.run(main)

0 commit comments

Comments
 (0)