summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey F <f.joffrey@gmail.com>2015-04-27 17:45:01 -0700
committerJoffrey F <f.joffrey@gmail.com>2015-04-27 17:45:01 -0700
commit85c0c3b0e3404f1613050e0a2868c1be97b8f975 (patch)
treea3ed9bc2317c7cd8b1c57f7a519daf28c25bd160
parente2fef06bbcb87d21bd5e850d6f8af1f900085af8 (diff)
parent652e5b8bda2d3415d0f3cf69275136f6f79962f8 (diff)
downloaddocker-py-1.2.0.tar.gz
Merge pull request #571 from docker/1.2.0-release1.2.0
Release 1.2.0
-rw-r--r--docker/version.py2
-rw-r--r--docs/api.md3
-rw-r--r--docs/change_log.md45
3 files changed, 48 insertions, 2 deletions
diff --git a/docker/version.py b/docker/version.py
index e6e5420..3a5bc9c 100644
--- a/docker/version.py
+++ b/docker/version.py
@@ -1,2 +1,2 @@
-version = "1.1.1-dev"
+version = "1.2.0"
version_info = tuple([int(d) for d in version.replace("-dev", "").split(".")])
diff --git a/docs/api.md b/docs/api.md
index 6bb96d7..a4aabb5 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -144,7 +144,7 @@ non-running ones
* filters (dict): Filters to be processed on the image list. Available filters:
- `exited` (int): Only containers with specified exit code
- `status` (str): One of `restarting`, `running`, `paused`, `exited`
-
+ - `label` (str): format either `"key"` or `"key=value"`
**Returns** (dict): The system's containers
@@ -371,6 +371,7 @@ List images. Identical to the `docker images` command.
layers)
* filters (dict): Filters to be processed on the image list. Available filters:
- `dangling` (bool)
+ - `label` (str): format either `"key"` or `"key=value"`
**Returns** (dict or list): A list if `quiet=True`, otherwise a dict.
diff --git a/docs/change_log.md b/docs/change_log.md
index e0e864b..54da540 100644
--- a/docs/change_log.md
+++ b/docs/change_log.md
@@ -1,6 +1,51 @@
Change Log
==========
+1.2.0
+-----
+
+[List of PRs / issues for this release](https://github.com/docker/docker-py/issues?q=milestone%3A1.2.0+is%3Aclosed)
+
+### Deprecation warning
+
+* `Client.execute` is being deprecated in favor of the more dev-friendly
+ `Client.exec_start` and `Client.exec_create`. **It will be removed in 1.3.0**
+
+### Features
+
+* Added `exec_create`, `exec_start`, `exec_inspect` and `exec_resize` to
+ client, accurately mirroring the
+ [Exec API](https://docs.docker.com/reference/api/docker_remote_api_v1.18/#exec-create)
+* Added `auth_config` param to `Client.pull` (allows to use one-off credentials
+ for this pull request)
+* Added support for `ipc_mode` in host config.
+* Added support for the `log_config` param in host config.
+* Added support for the `ulimit` param in host config.
+* Added support for container resource limits in `Client.build`.
+* When a resource identifier (image or container ID) is passed to a Client
+ method, we now check for `None` values to avoid crashing
+ (now raises `docker.errors.NullResource`)
+* Added tools to parse port ranges inside the new `docker.utils.ports` package.
+* Added a `version_info` attribute to the `docker` package.
+
+### Bugfixes
+
+* Fixed a bug in `Client.port` where absence of a certain key in the
+ container's JSON would raise an error (now just returns `None`)
+* Fixed a bug with the `trunc` parameter in `Client.containers` having no
+ effect (moved functionality to the client)
+* Several improvements have been made to the `Client.import_image` method.
+* Fixed pushing / pulling to
+ [v2 registries](https://github.com/docker/distribution)
+* Fixed a bug where passing a container dictionary to `Client.commit`
+ would fail
+
+### Miscellaneous
+
+* Default API version has been bumped to 1.18 (Docker Engine 1.6.0)
+* Several testing coverage improvements
+* Docs fixes and improvements
+
1.1.0
-----