|
1 | 1 | Change log
|
2 | 2 | ==========
|
3 | 3 |
|
| 4 | +2.7.0 |
| 5 | +----- |
| 6 | + |
| 7 | +[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/41?closed=1) |
| 8 | + |
| 9 | +### Features |
| 10 | + |
| 11 | +* Added `unlock_swarm` and `get_unlock_key` methods to the `APIClient`. |
| 12 | + * Added `unlock` and `get_unlock_key` to `DockerClient.swarm`. |
| 13 | +* Added a `greedy` parameter to `DockerClient.networks.list`, yielding |
| 14 | + additional details about the listed networks. |
| 15 | +* Added `cpu_rt_runtime` and `cpu_rt_period` as parameters to |
| 16 | + `APIClient.create_host_config` and `DockerClient.containers.run`. |
| 17 | +* Added the `order` argument to `UpdateConfig`. |
| 18 | +* Added `fetch_current_spec` to `APIClient.update_service` and `Service.update` |
| 19 | + that will retrieve the current configuration of the service and merge it with |
| 20 | + the provided parameters to determine the new configuration. |
| 21 | + |
| 22 | +### Bugfixes |
| 23 | + |
| 24 | +* Fixed a bug where the `build` method tried to include inaccessible files |
| 25 | + in the context, leading to obscure errors during the build phase |
| 26 | + (inaccessible files inside the context now raise an `IOError` instead). |
| 27 | +* Fixed a bug where the `build` method would try to read from FIFOs present |
| 28 | + inside the build context, causing it to hang. |
| 29 | +* `APIClient.stop` will no longer override the `stop_timeout` value present |
| 30 | + in the container's configuration. |
| 31 | +* Fixed a bug preventing removal of networks with names containing a space. |
| 32 | +* Fixed a bug where `DockerClient.containers.run` would crash if the |
| 33 | + `auto_remove` parameter was set to `True`. |
| 34 | +* Changed the default value of `listen_addr` in `join_swarm` to match the |
| 35 | + one in `init_swarm`. |
| 36 | +* Fixed a bug where handling HTTP errors with no body would cause an unexpected |
| 37 | + exception to be thrown while generating an `APIError` object. |
| 38 | + |
4 | 39 | 2.6.1
|
5 | 40 | -----
|
6 | 41 |
|
|
0 commit comments