Skip to content

Commit 3aba34f

Browse files
committed
Bump 3.0.0
Signed-off-by: Joffrey F <[email protected]>
1 parent 644b9f4 commit 3aba34f

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

docker/models/containers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ def logs(self, **kwargs):
244244
since (datetime or int): Show logs since a given datetime or
245245
integer epoch (in seconds)
246246
follow (bool): Follow log output
247+
until (datetime or int): Show logs that occurred before the given
248+
datetime or integer epoch (in seconds)
247249
248250
Returns:
249251
(generator or str): Logs from the container.

docs/change-log.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,42 @@ Change log
4242
`Image`s associated to the pulled repository instead of just the `latest`
4343
image.
4444

45+
### Features
46+
47+
* The Docker Python SDK is now officially supported on Python 3.6
48+
* Added `scale` method to the `Service` model ; this method is a shorthand
49+
that calls `update_service` with the required number of replicas
50+
* Added support for the `platform` parameter in `APIClient.build`,
51+
`DockerClient.images.build`, `APIClient.pull` and `DockerClient.images.pull`
52+
* Added support for the `until` parameter in `APIClient.logs` and
53+
`Container.logs`
54+
* Added support for the `workdir` argument in `APIClient.exec_create` and
55+
`Container.exec_run`
56+
* Added support for the `condition` argument in `APIClient.wait` and
57+
`Container.wait`
58+
* Users can now specify a publish mode for ports in `EndpointSpec` using
59+
the `{published_port: (target_port, protocol, publish_mode)}` syntax.
60+
* Added support for the `isolation` parameter in `ContainerSpec`,
61+
`DockerClient.services.create` and `Service.update`
62+
* `APIClient.attach_socket`, `APIClient.exec_create` now allow specifying a
63+
`detach_keys` combination. If unspecified, the value from the `config.json`
64+
file will be used
65+
* TLS connections now default to using the TLSv1.2 protocol when available
66+
67+
68+
### Bugfixes
69+
70+
* Fixed a bug where whitespace-only lines in `.dockerignore` would break builds
71+
on Windows
72+
* Fixed a bug where broken symlinks inside a build context would cause the
73+
build to fail
74+
* Fixed a bug where specifying volumes with Windows drives would cause
75+
incorrect parsing in `DockerClient.containers.run`
76+
* Fixed a bug where the `networks` data provided to `create_service` and
77+
`update_service` would be sent incorrectly to the Engine with API < 1.25
78+
* Pulling all tags from a repository with no `latest` tag using the
79+
`DockerClient` will no longer raise a `NotFound` exception
80+
4581
2.7.0
4682
-----
4783

0 commit comments

Comments
 (0)