|
1 | 1 | Change Log
|
2 | 2 | ==========
|
3 | 3 |
|
| 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 | + |
4 | 49 | 1.1.0
|
5 | 50 | -----
|
6 | 51 |
|
|
0 commit comments