Skip to content

Commit f10c008

Browse files
committed
Bump 2.7.0 + changelog
Signed-off-by: Joffrey F <[email protected]>
1 parent ac68a36 commit f10c008

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-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.7.0-dev"
1+
version = "2.7.0"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change-log.md

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

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+
439
2.6.1
540
-----
641

0 commit comments

Comments
 (0)