File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1- version = "2.2.0-dev "
1+ version = "2.2.0"
22version_info = tuple ([int (d ) for d in version .split ("-" )[0 ].split ("." )])
Original file line number Diff line number Diff line change 11Change 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+
4342.1.0
535-----
636
You can’t perform that action at this time.
0 commit comments