|
1 | 1 | Change log
|
2 | 2 | ==========
|
3 | 3 |
|
| 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 | + |
4 | 45 | 2.2.1
|
5 | 46 | -----
|
6 | 47 |
|
|
0 commit comments