File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1
- version = "2.4.0-dev "
1
+ version = "2.4.0"
2
2
version_info = tuple ([int (d ) for d in version .split ("-" )[0 ].split ("." )])
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ Configuration types
128
128
.. autoclass :: DriverConfig
129
129
.. autoclass :: EndpointSpec
130
130
.. autoclass :: Mount
131
+ .. autoclass :: Placement
131
132
.. autoclass :: Resources
132
133
.. autoclass :: RestartPolicy
133
134
.. autoclass :: SecretReference
Original file line number Diff line number Diff line change 1
1
Change log
2
2
==========
3
3
4
+ 2.4.0
5
+ -----
6
+
7
+ [ List of PRs / issues for this release] ( https://github.com/docker/docker-py/milestone/33?closed=1 )
8
+
9
+ ### Features
10
+
11
+ * Added support for the ` target ` and ` network_mode ` parameters in
12
+ ` APIClient.build ` and ` DockerClient.images.build ` .
13
+ * Added support for the ` runtime ` parameter in ` APIClient.create_container `
14
+ and ` DockerClient.containers.run ` .
15
+ * Added support for the ` ingress ` parameter in ` APIClient.create_network ` and
16
+ ` DockerClient.networks.create ` .
17
+ * Added support for ` placement ` configuration in ` docker.types.TaskTemplate ` .
18
+ * Added support for ` tty ` configuration in ` docker.types.ContainerSpec ` .
19
+ * Added support for ` start_period ` configuration in ` docker.types.Healthcheck ` .
20
+ * The ` credHelpers ` section in Docker's configuration file is now recognized.
21
+ * Port specifications including IPv6 endpoints are now supported.
22
+
23
+ ### Bugfixes
24
+
25
+ * Fixed a bug where instantiating a ` DockerClient ` using ` docker.from_env `
26
+ wouldn't correctly set the default timeout value.
27
+ * Fixed a bug where ` DockerClient.secrets ` was not accessible as a property.
28
+ * Fixed a bug where ` DockerClient.build ` would sometimes return the wrong
29
+ image.
30
+ * Fixed a bug where values for ` HostConfig.nano_cpus ` exceeding 2^32 would
31
+ raise a type error.
32
+ * ` Image.tag ` now properly returns ` True ` when the operation is successful.
33
+ * ` APIClient.logs ` and ` Container.logs ` now raise an exception if the ` since `
34
+ argument uses an unsupported type instead of ignoring the value.
35
+ * Fixed a bug where some methods would raise a ` NullResource ` exception when
36
+ the resource ID was provided using a keyword argument.
37
+
38
+ ### Miscellaneous
39
+
40
+ * ` APIClient ` instances can now be pickled.
41
+
4
42
2.3.0
5
43
-----
6
44
You can’t perform that action at this time.
0 commit comments