Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow control #421

Merged
merged 2 commits into from
Mar 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@ Changes

.. towncrier release notes start

0.18.0 (2020-03-25)
===================

Features
--------

- Improve the error text message if cannot connect to docker engine. (#411)
- Rename `websocket()` to `attach()` (#412)
- Implement docker exec protocol. (#415)
- Implement container commit, pause and unpause functionality. (#418)
- Implement auto-versioning of the docker API by default. (#419)


Bugfixes
--------

- Fix volume.delete throwing a TypeError. (#389)


0.17.0 (2019-10-15)
===================

Expand Down
1 change: 0 additions & 1 deletion CHANGES/389.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/411.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/412.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/415.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/418.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/419.feature

This file was deleted.

2 changes: 1 addition & 1 deletion aiodocker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .exceptions import DockerContainerError, DockerError


__version__ = "0.18.0b1"
__version__ = "0.18.0"


__all__ = ("Docker", "DockerError", "DockerContainerError")
3 changes: 3 additions & 0 deletions aiodocker/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ async def write_in(self, data: bytes) -> None:
await self._init()
transport = self._resp.connection.transport
transport.write(data)
protocol = self._resp.connection.protocol
if protocol.transport is not None:
await protocol._drain_helper()

async def close(self) -> None:
if self._resp is not None:
Expand Down