Skip to content

Commit 3bad051

Browse files
committed
Bump 2.6.0
Signed-off-by: Joffrey F <[email protected]>
1 parent fe6c9a6 commit 3bad051

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-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.5.1"
1+
version = "2.6.0"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change-log.md

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

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+
448
2.5.1
549
-----
650

0 commit comments

Comments
 (0)