Skip to content

Commit 27e31c6

Browse files
committed
Bump 2.2.0, update changelog
Signed-off-by: Joffrey F <[email protected]>
1 parent 5fb7811 commit 27e31c6

File tree

2 files changed

+31
-1
lines changed

2 files changed

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

docs/change-log.md

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

4+
2.2.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/30?closed=1)
8+
9+
### Features
10+
11+
* Default API version has been bumped to `1.26` (Engine 1.13.1+)
12+
* Upgrade plugin:
13+
* Added the `upgrade_plugin` method to the `APIClient` class
14+
* Added the `upgrade` method to the `Plugin` class
15+
* Service logs:
16+
* Added the `service_logs` method to the `APIClient` class
17+
* Added the `logs` method to the `Service` class
18+
* Added the `df` method to `APIClient` and `DockerClient`
19+
* Added support for `init` and `init_path` parameters in `HostConfig`
20+
and `DockerClient.containers.run`
21+
* Added support for `hostname` parameter in `ContainerSpec` and
22+
`DockerClient.service.create`
23+
* Added support for port range to single port in port mappings
24+
(e.g. `8000-8010:80`)
25+
26+
### Bugfixes
27+
28+
* Fixed a bug where a missing container port in a port mapping would raise
29+
an unexpected `TypeError`
30+
* Fixed a bug where the `events` method in `APIClient` and `DockerClient`
31+
would not respect custom headers set in `config.json`
32+
33+
434
2.1.0
535
-----
636

0 commit comments

Comments
 (0)