Skip to content

Commit 85c0c3b

Browse files
committed
Merge pull request #571 from docker/1.2.0-release
Release 1.2.0
2 parents e2fef06 + 652e5b8 commit 85c0c3b

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
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 = "1.1.1-dev"
1+
version = "1.2.0"
22
version_info = tuple([int(d) for d in version.replace("-dev", "").split(".")])

docs/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ non-running ones
144144
* filters (dict): Filters to be processed on the image list. Available filters:
145145
- `exited` (int): Only containers with specified exit code
146146
- `status` (str): One of `restarting`, `running`, `paused`, `exited`
147-
147+
- `label` (str): format either `"key"` or `"key=value"`
148148

149149
**Returns** (dict): The system's containers
150150

@@ -371,6 +371,7 @@ List images. Identical to the `docker images` command.
371371
layers)
372372
* filters (dict): Filters to be processed on the image list. Available filters:
373373
- `dangling` (bool)
374+
- `label` (str): format either `"key"` or `"key=value"`
374375

375376
**Returns** (dict or list): A list if `quiet=True`, otherwise a dict.
376377

docs/change_log.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,51 @@
11
Change Log
22
==========
33

4+
1.2.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/issues?q=milestone%3A1.2.0+is%3Aclosed)
8+
9+
### Deprecation warning
10+
11+
* `Client.execute` is being deprecated in favor of the more dev-friendly
12+
`Client.exec_start` and `Client.exec_create`. **It will be removed in 1.3.0**
13+
14+
### Features
15+
16+
* Added `exec_create`, `exec_start`, `exec_inspect` and `exec_resize` to
17+
client, accurately mirroring the
18+
[Exec API](https://docs.docker.com/reference/api/docker_remote_api_v1.18/#exec-create)
19+
* Added `auth_config` param to `Client.pull` (allows to use one-off credentials
20+
for this pull request)
21+
* Added support for `ipc_mode` in host config.
22+
* Added support for the `log_config` param in host config.
23+
* Added support for the `ulimit` param in host config.
24+
* Added support for container resource limits in `Client.build`.
25+
* When a resource identifier (image or container ID) is passed to a Client
26+
method, we now check for `None` values to avoid crashing
27+
(now raises `docker.errors.NullResource`)
28+
* Added tools to parse port ranges inside the new `docker.utils.ports` package.
29+
* Added a `version_info` attribute to the `docker` package.
30+
31+
### Bugfixes
32+
33+
* Fixed a bug in `Client.port` where absence of a certain key in the
34+
container's JSON would raise an error (now just returns `None`)
35+
* Fixed a bug with the `trunc` parameter in `Client.containers` having no
36+
effect (moved functionality to the client)
37+
* Several improvements have been made to the `Client.import_image` method.
38+
* Fixed pushing / pulling to
39+
[v2 registries](https://github.com/docker/distribution)
40+
* Fixed a bug where passing a container dictionary to `Client.commit`
41+
would fail
42+
43+
### Miscellaneous
44+
45+
* Default API version has been bumped to 1.18 (Docker Engine 1.6.0)
46+
* Several testing coverage improvements
47+
* Docs fixes and improvements
48+
449
1.1.0
550
-----
651

0 commit comments

Comments
 (0)