mirror of https://github.com/docker/docker-py.git
Merge branch 'release' of github.com:docker/docker-py
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
commit
21d2c65277
|
@ -5,7 +5,6 @@ def imageNamePy2
|
||||||
def imageNamePy3
|
def imageNamePy3
|
||||||
def images = [:]
|
def images = [:]
|
||||||
|
|
||||||
|
|
||||||
def dockerVersions = ["17.06.2-ce", "17.09.0-ce", "17.10.0-ce"]
|
def dockerVersions = ["17.06.2-ce", "17.09.0-ce", "17.10.0-ce"]
|
||||||
|
|
||||||
def buildImage = { name, buildargs, pyTag ->
|
def buildImage = { name, buildargs, pyTag ->
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
version = "2.6.0-dev"
|
version = "2.6.0"
|
||||||
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
|
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
|
||||||
|
|
|
@ -1,6 +1,62 @@
|
||||||
Change log
|
Change log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
2.6.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/34?closed=1)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Added support for `mounts` in `APIClient.create_host_config` and
|
||||||
|
`DockerClient.containers.run`
|
||||||
|
* Added support for `consistency`, `tmpfs_size` and `tmpfs_mode` when
|
||||||
|
creating mount objects.
|
||||||
|
* `Mount` objects now support the `tmpfs` and `npipe` types.
|
||||||
|
* Added support for `extra_hosts` in the `build` methods.
|
||||||
|
* Added support for the configs API:
|
||||||
|
* In `APIClient`: `create_config`, `inspect_config`, `remove_config`,
|
||||||
|
`configs`
|
||||||
|
* In `DockerClient`: `configs.create`, `configs.get`, `configs.list` and
|
||||||
|
the `Config` model.
|
||||||
|
* Added `configs` parameter to `ContainerSpec`. Each item in the `configs`
|
||||||
|
list must be a `docker.types.ConfigReference` instance.
|
||||||
|
* Added support for the following parameters when creating a `ContainerSpec`
|
||||||
|
object: `groups`, `open_stdin`, `read_only`, `stop_signal`, `helathcheck`,
|
||||||
|
`hosts`, `ns_config`, `configs`, `privileges`.
|
||||||
|
* Added the following configuration classes to `docker.types`:
|
||||||
|
`ConfigReference`, `DNSConfig`, `Privileges`, `SwarmExternalCA`.
|
||||||
|
* Added support for `driver` in `APIClient.create_secret` and
|
||||||
|
`DockerClient.secrets.create`.
|
||||||
|
* Added support for `scope` in `APIClient.inspect_network` and
|
||||||
|
`APIClient.create_network`, and their `DockerClient` equivalent.
|
||||||
|
* Added support for the following parameters to `create_swarm_spec`:
|
||||||
|
`external_cas`, `labels`, `signing_ca_cert`, `signing_ca_key`,
|
||||||
|
`ca_force_rotate`, `autolock_managers`, `log_driver`. These additions
|
||||||
|
also apply to `DockerClient.swarm.init`.
|
||||||
|
* Added support for `insert_defaults` in `APIClient.inspect_service` and
|
||||||
|
`DockerClient.services.get`.
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* Fixed a bug where reading a 0-length frame in log streams would incorrectly
|
||||||
|
interrupt streaming.
|
||||||
|
* Fixed a bug where the `id` member on `Swarm` objects wasn't being populated.
|
||||||
|
* Fixed a bug that would cause some data at the beginning of an upgraded
|
||||||
|
connection stream (`attach`, `exec_run`) to disappear.
|
||||||
|
|
||||||
|
2.5.1
|
||||||
|
-----
|
||||||
|
|
||||||
|
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/37?closed=1)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* Fixed a bug where patterns ending with `**` in `.dockerignore` would
|
||||||
|
raise an exception
|
||||||
|
* Fixed a bug where using `attach` with the `stream` argument set to `False`
|
||||||
|
would raise an exception
|
||||||
|
|
||||||
2.5.0
|
2.5.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue