@@ -42,6 +42,42 @@ Change log
42
42
` Image ` s associated to the pulled repository instead of just the ` latest `
43
43
image.
44
44
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
+
45
81
2.7.0
46
82
-----
47
83
0 commit comments