diff options
author | Joffrey F <joffrey@docker.com> | 2017-06-22 17:17:13 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-06-22 17:17:13 -0700 |
commit | 1ad6859600258eca17f91e4f71c1de5788321777 (patch) | |
tree | cc72eb166df7901d1109ec91b9103fc2b056f7a2 | |
parent | 15030cb6806f49e687e8dc7c33808cd8a010f6dc (diff) | |
download | docker-py-1ad6859600258eca17f91e4f71c1de5788321777.tar.gz |
Bump 2.4.02.4.0-release
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r-- | docker/version.py | 2 | ||||
-rw-r--r-- | docs/api.rst | 1 | ||||
-rw-r--r-- | docs/change-log.md | 38 |
3 files changed, 40 insertions, 1 deletions
diff --git a/docker/version.py b/docker/version.py index 6979e1b..8f40f46 100644 --- a/docker/version.py +++ b/docker/version.py @@ -1,2 +1,2 @@ -version = "2.4.0-dev" +version = "2.4.0" version_info = tuple([int(d) for d in version.split("-")[0].split(".")]) diff --git a/docs/api.rst b/docs/api.rst index 52cd26b..0b10f38 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -128,6 +128,7 @@ Configuration types .. autoclass:: DriverConfig .. autoclass:: EndpointSpec .. autoclass:: Mount +.. autoclass:: Placement .. autoclass:: Resources .. autoclass:: RestartPolicy .. autoclass:: SecretReference diff --git a/docs/change-log.md b/docs/change-log.md index 3d58f93..194f734 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -1,6 +1,44 @@ Change log ========== +2.4.0 +----- + +[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/33?closed=1) + +### Features + +* Added support for the `target` and `network_mode` parameters in + `APIClient.build` and `DockerClient.images.build`. +* Added support for the `runtime` parameter in `APIClient.create_container` + and `DockerClient.containers.run`. +* Added support for the `ingress` parameter in `APIClient.create_network` and + `DockerClient.networks.create`. +* Added support for `placement` configuration in `docker.types.TaskTemplate`. +* Added support for `tty` configuration in `docker.types.ContainerSpec`. +* Added support for `start_period` configuration in `docker.types.Healthcheck`. +* The `credHelpers` section in Docker's configuration file is now recognized. +* Port specifications including IPv6 endpoints are now supported. + +### Bugfixes + +* Fixed a bug where instantiating a `DockerClient` using `docker.from_env` + wouldn't correctly set the default timeout value. +* Fixed a bug where `DockerClient.secrets` was not accessible as a property. +* Fixed a bug where `DockerClient.build` would sometimes return the wrong + image. +* Fixed a bug where values for `HostConfig.nano_cpus` exceeding 2^32 would + raise a type error. +* `Image.tag` now properly returns `True` when the operation is successful. +* `APIClient.logs` and `Container.logs` now raise an exception if the `since` + argument uses an unsupported type instead of ignoring the value. +* Fixed a bug where some methods would raise a `NullResource` exception when + the resource ID was provided using a keyword argument. + +### Miscellaneous + +* `APIClient` instances can now be pickled. + 2.3.0 ----- |