- Introduce a sentinel value to _do_query() and its friend methods to allow configuring per-request infinite timeouts instead of always falling back to the session-level default timeout when setting the timeout argument to None, and add the timeout arguments to image-related API wrappers (#900)
- Use
TYPE_CHECKING
flag to avoid importing fromtyping_extensions
at run time (#876)
- Fix a missing removal of the legacy AsyncCM interface usage and update type annotations to avoid this in the future (#874)
NOTICE: This release drops support for Python 3.7 and older. Please upgrade your Python version or keep using prior releases.
- Adds the force parameter to DockerVolume.delete() (#690)
- Migrate from setuptools to hatch. To install the package and all dependencies, use "pip install .[dev,doc]". (#848)
- Support additional parameters in swarm init (#323)
- Fixes unittests that don't run locally due to deprecations in later versions of Docker. Tested with 26.00, v1.45. (#849)
- Fix never-awaited coroutines of _AsyncCM to close when handling errors (#861)
- #850
- Add support for filters when listing networks. Add support for filters when listing volumes. Add get option for fetching volumes by name or id. (#623)
- Update the documentation examples to use the modern asyncio.run() pattern and initialize aiodocker.Docker() instance inside async functions where there is a valid running event loop (#837)
- Starting container with non-empty request body was deprecated since API v1.22 and removed in v1.24 (#660)
- #621, #748
- Use ssl_context passed to Docker constructor for creating underlying connection to docker engine. (#536)
- Fix an error when attach/exec when container stops before close connection to it. (#608)
- Accept auth parameter by run() method; it allows auto-pulling absent image from private storages. (#295)
- Fix passing of JSON params. (#543)
- Fix issue with unclosed response object in attach/exec. (#604)
- Fix type annotations for exec.start(), docker.images.pull(), docker.images.push(). Respect default arguments again.
- Run mypy checks on the repo in the non-strict mode. (#466)
- Add
container.rename()
method. (#458)
- Changed DockerNetwork.delete() to return True if successful (#464)
- Fix closing of the task fetching Docker's event stream and make it re-openable after closing (#448)
- Fix type annotations for pull() and push() methods. (#465)
- #442
- Don't send
null
for empty BODY.
- Fix some typing errors
- Improve the error message when connection is closed by Docker Engine on TCP hijacking. (#424)
- 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)
- Fix volume.delete throwing a TypeError. (#389)
- Fixed an issue when the entire tar archive was stored in RAM while building the image. (#352)
- Fix streaming mode for pull, push, build, stats and events. (#344)
- Add support for Docker 17.12.1 and 18.03.1 (#164)
- Add initial support for nodes. (#181)
- Add initial support for networks. (#189)
- Add support for docker info ando docker swarm join. (#193)
- Add restart method for containers. (#200)
- Feature: Add support for registry-auth when you create a service. (#215)
- Feature: Add support for docker save and load api methods (#219)
- Pass params to docker events. (#223)
- Add ability to get a Docker network by name or ID. (#279)
- Always close response after processing, make .logs(..., follow=True) async iterator. (#341)
- Fix: Set timeout for docker events to 0 (no timeout) (#115)
- Fix: prevents multiple listener tasks to be created automatically (#116)
- Fix: if container.start() fails user won't get the id of the container (#128)
- Improve logging when docker socket not available. (#155)
- Fix current project version. (#156)
- Fix update out of sequence. (#169)
- Remove asserts used to check auth with docker registry. (#172)
- Fix: fix to parse response of docker load method as a json stream (#222)
- Fix: Handle responses with 0 or missing Content-Length (#237)
- Fix: don't remove non-newline whitespace from multiplexed lines (#246)
- Fix docker_context.tar error (#253)
- docker.images.get has been renamed to docker.images.inspect, remove support for Docker 17.06 (#164)
- Drop Python 3.5 (#338)
- Drop deprecated container.copy() (#339)
- #28, #167, #192, #286