Skip to content

Commit 0832898

Browse files
authored
Merge pull request #1614 from docker/2.3.0-release
2.3.0 release
2 parents db542e7 + ba334f8 commit 0832898

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

docker/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "2.3.0-dev"
1+
version = "2.3.0"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change-log.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
11
Change log
22
==========
33

4+
2.3.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/31?closed=1)
8+
9+
### Features
10+
11+
* Added support for the following `HostConfig` parameters: `volume_driver`,
12+
`cpu_count`, `cpu_percent`, `nano_cpus`, `cpuset_mems`.
13+
* Added support for `verbose` parameter in `APIClient.inspect_network` and
14+
`DockerClient.networks.get`.
15+
* Added support for the `environment` parameter in `APIClient.exec_create`
16+
and `Container.exec_run`
17+
* Added `reload_config` method to `APIClient`, that lets the user reload
18+
the `config.json` data from disk.
19+
* Added `labels` property to the `Image` and `Container` classes.
20+
* Added `image` property to the `Container` class.
21+
22+
### Bugfixes
23+
24+
* Fixed a bug where setting `replicas` to zero in `ServiceMode` would not
25+
register as a valid entry.
26+
* Fixed a bug where `DockerClient.images.build` would report a failure after
27+
a successful build if a `tag` was set.
28+
* Fixed an issue where `DockerClient.images.pull` would fail to return the
29+
corresponding image object if a `tag` was set.
30+
* Fixed a bug where a list of `mounts` provided to `APIClient.create_service`
31+
would sometimes be parsed incorrectly.
32+
* Fixed a bug where calling `Network.containers` would crash when no containers
33+
were associated with the network.
34+
* Fixed an issue where `Network.connect` and `Network.disconnect` would not
35+
accept some of the documented parameters.
36+
* Fixed a bug where the `cpuset_cpus` parameter would not be properly set in
37+
`APIClient.create_host_config`.
38+
39+
### Miscellaneous
40+
41+
* The invalid `networks` argument in `DockerClient.containers.run` has been
42+
replaced with a (working) singular `network` argument.
43+
44+
445
2.2.1
546
-----
647

0 commit comments

Comments
 (0)