|
1 | 1 | Change log
|
2 | 2 | ==========
|
3 | 3 |
|
| 4 | +2.6.0 |
| 5 | +----- |
| 6 | + |
| 7 | +[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/34?closed=1) |
| 8 | + |
| 9 | +### Features |
| 10 | + |
| 11 | +* Added support for `mounts` in `APIClient.create_host_config` and |
| 12 | + `DockerClient.containers.run` |
| 13 | +* Added support for `consistency`, `tmpfs_size` and `tmpfs_mode` when |
| 14 | + creating mount objects. |
| 15 | +* `Mount` objects now support the `tmpfs` and `npipe` types. |
| 16 | +* Added support for `extra_hosts` in the `build` methods. |
| 17 | +* Added support for the configs API: |
| 18 | + * In `APIClient`: `create_config`, `inspect_config`, `remove_config`, |
| 19 | + `configs` |
| 20 | + * In `DockerClient`: `configs.create`, `configs.get`, `configs.list` and |
| 21 | + the `Config` model. |
| 22 | + * Added `configs` parameter to `ContainerSpec`. Each item in the `configs` |
| 23 | + list must be a `docker.types.ConfigReference` instance. |
| 24 | +* Added support for the following parameters when creating a `ContainerSpec` |
| 25 | + object: `groups`, `open_stdin`, `read_only`, `stop_signal`, `helathcheck`, |
| 26 | + `hosts`, `ns_config`, `configs`, `privileges`. |
| 27 | +* Added the following configuration classes to `docker.types`: |
| 28 | + `ConfigReference`, `DNSConfig`, `Privileges`, `SwarmExternalCA`. |
| 29 | +* Added support for `driver` in `APIClient.create_secret` and |
| 30 | + `DockerClient.secrets.create`. |
| 31 | +* Added support for `scope` in `APIClient.inspect_network` and |
| 32 | + `APIClient.create_network`, and their `DockerClient` equivalent. |
| 33 | +* Added support for the following parameters to `create_swarm_spec`: |
| 34 | + `external_cas`, `labels`, `signing_ca_cert`, `signing_ca_key`, |
| 35 | + `ca_force_rotate`, `autolock_managers`, `log_driver`. These additions |
| 36 | + also apply to `DockerClient.swarm.init`. |
| 37 | +* Added support for `insert_defaults` in `APIClient.inspect_service` and |
| 38 | + `DockerClient.services.get`. |
| 39 | + |
| 40 | +### Bugfixes |
| 41 | + |
| 42 | +* Fixed a bug where reading a 0-length frame in log streams would incorrectly |
| 43 | + interrupt streaming. |
| 44 | +* Fixed a bug where the `id` member on `Swarm` objects wasn't being populated. |
| 45 | +* Fixed a bug that would cause some data at the beginning of an upgraded |
| 46 | + connection stream (`attach`, `exec_run`) to disappear. |
| 47 | + |
| 48 | +2.5.1 |
| 49 | +----- |
| 50 | + |
| 51 | +[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/37?closed=1) |
| 52 | + |
| 53 | +### Bugfixes |
| 54 | + |
| 55 | +* Fixed a bug where patterns ending with `**` in `.dockerignore` would |
| 56 | + raise an exception |
| 57 | +* Fixed a bug where using `attach` with the `stream` argument set to `False` |
| 58 | + would raise an exception |
| 59 | + |
4 | 60 | 2.5.0
|
5 | 61 | -----
|
6 | 62 |
|
|
0 commit comments