diff options
author | Joffrey F <joffrey@docker.com> | 2018-01-31 17:26:36 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2018-01-31 17:28:53 -0800 |
commit | 3aba34fd0896b4c68186abdb150e5ac42d74d0d1 (patch) | |
tree | cb691796f716185cd088e29f4119ad4e8ebfa0fe | |
parent | 644b9f4f1dbfcebee0b65081161e7c762c1e67e9 (diff) | |
download | docker-py-3aba34fd0896b4c68186abdb150e5ac42d74d0d1.tar.gz |
Bump 3.0.0
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r-- | docker/models/containers.py | 2 | ||||
-rw-r--r-- | docs/change-log.md | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/docker/models/containers.py b/docker/models/containers.py index 963fca4..a674393 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -244,6 +244,8 @@ class Container(Model): since (datetime or int): Show logs since a given datetime or integer epoch (in seconds) follow (bool): Follow log output + until (datetime or int): Show logs that occurred before the given + datetime or integer epoch (in seconds) Returns: (generator or str): Logs from the container. diff --git a/docs/change-log.md b/docs/change-log.md index 7531ad4..08d4e8f 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -42,6 +42,42 @@ Change log `Image`s associated to the pulled repository instead of just the `latest` image. +### Features + +* The Docker Python SDK is now officially supported on Python 3.6 +* Added `scale` method to the `Service` model ; this method is a shorthand + that calls `update_service` with the required number of replicas +* Added support for the `platform` parameter in `APIClient.build`, + `DockerClient.images.build`, `APIClient.pull` and `DockerClient.images.pull` +* Added support for the `until` parameter in `APIClient.logs` and + `Container.logs` +* Added support for the `workdir` argument in `APIClient.exec_create` and + `Container.exec_run` +* Added support for the `condition` argument in `APIClient.wait` and + `Container.wait` +* Users can now specify a publish mode for ports in `EndpointSpec` using + the `{published_port: (target_port, protocol, publish_mode)}` syntax. +* Added support for the `isolation` parameter in `ContainerSpec`, + `DockerClient.services.create` and `Service.update` +* `APIClient.attach_socket`, `APIClient.exec_create` now allow specifying a + `detach_keys` combination. If unspecified, the value from the `config.json` + file will be used +* TLS connections now default to using the TLSv1.2 protocol when available + + +### Bugfixes + +* Fixed a bug where whitespace-only lines in `.dockerignore` would break builds + on Windows +* Fixed a bug where broken symlinks inside a build context would cause the + build to fail +* Fixed a bug where specifying volumes with Windows drives would cause + incorrect parsing in `DockerClient.containers.run` +* Fixed a bug where the `networks` data provided to `create_service` and + `update_service` would be sent incorrectly to the Engine with API < 1.25 +* Pulling all tags from a repository with no `latest` tag using the + `DockerClient` will no longer raise a `NotFound` exception + 2.7.0 ----- |