From c887147d312bb0d5ac9837d71bb1a0b6fb8cbab8 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 8 Oct 2015 14:58:54 -0700 Subject: [PATCH 1/2] Update changelog and bump version to 1.5.0 Signed-off-by: Joffrey F --- docker/version.py | 2 +- docs/change_log.md | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/docker/version.py b/docker/version.py index 38ce7ffa..4ebafdde 100644 --- a/docker/version.py +++ b/docker/version.py @@ -1,2 +1,2 @@ -version = "1.5.0-dev" +version = "1.5.0" version_info = tuple([int(d) for d in version.split("-")[0].split(".")]) diff --git a/docs/change_log.md b/docs/change_log.md index da3a9b0c..f2b272ae 100644 --- a/docs/change_log.md +++ b/docs/change_log.md @@ -1,6 +1,43 @@ Change Log ========== +1.5.0 +----- + +[List of PRs / issues for this release](https://github.com/docker/docker-py/issues?q=milestone%3A1.5.0+is%3Aclosed) + +### Features + +* Added support for the networking API introduced in Docker 1.9.0 + (`Client.networks`, `Client.create_network`, `Client.remove_network`, + `Client.inspect_network`, `Client.connect_container_to_network`, + `Client.disconnect_container_from_network`). +* Added support for the volumes API introduced in Docker 1.9.0 + (`Client.volumes`, `Client.create_volume`, `Client.inspect_volume`, + `Client.remove_volume`). +* Added support for the `group_add` parameter in `create_host_config`. +* Added support for the CPU CFS (`cpu_quota` and `cpu_period`) parameteres + in `create_host_config`. +* Added support for the archive API endpoint (`Client.get_archive`, + `Client.put_archive`). +* Added support for `ps_args` parameter in `Client.top`. + + +### Bugfixes + +* Fixed a bug where specifying volume binds with unicode characters would + fail. +* Fixed a bug where providing an explicit protocol in `Client.port` would fail + to yield the expected result. +* Fixed a bug where the priority protocol returned by `Client.port` would be UDP + instead of the expected TCP. + +### Miscellaneous + +* Broke up Client code into several files to facilitate maintenance and + contribution. +* Added contributing guidelines to the repository. + 1.4.0 ----- From 5d95f24264d25991e9f7caf23e9c860bcdb11874 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 8 Oct 2015 17:28:43 -0700 Subject: [PATCH 2/2] Add devices param to the hostconfig documentation Signed-off-by: Joffrey F --- docs/hostconfig.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/hostconfig.md b/docs/hostconfig.md index 39b7a237..9bd42c9f 100644 --- a/docs/hostconfig.md +++ b/docs/hostconfig.md @@ -101,6 +101,14 @@ for example: allowed to consume. * group_add (list): List of additional group names and/or IDs that the container process will run as. +* devices (list): A list of devices to add to the container specified as dicts + in the form: + ``` + { "PathOnHost": "/dev/deviceName", + "PathInContainer": "/dev/deviceName", + "CgroupPermissions": "mrw" + } + ``` **Returns** (dict) HostConfig dictionary