Skip to content

Commit 21d2c65

Browse files
committed
Merge branch 'release' of github.com:docker/docker-py
Signed-off-by: Joffrey F <[email protected]>
2 parents 700fbef + 65ba043 commit 21d2c65

File tree

3 files changed

+57
-2
lines changed

3 files changed

+57
-2
lines changed

Jenkinsfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ def imageNamePy2
55
def imageNamePy3
66
def images = [:]
77

8-
98
def dockerVersions = ["17.06.2-ce", "17.09.0-ce", "17.10.0-ce"]
109

1110
def buildImage = { name, buildargs, pyTag ->

docker/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "2.6.0-dev"
1+
version = "2.6.0"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change-log.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,62 @@
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+
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+
460
2.5.0
561
-----
662

0 commit comments

Comments
 (0)