Skip to content

Commit

Permalink
Merge pull request #762 from docker/1.4.0-release
Browse files Browse the repository at this point in the history
1.4.0 release
  • Loading branch information
shin- committed Sep 10, 2015
2 parents de5aab8 + 7e3cdfb commit 08a4bcd
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = "1.4.0-dev"
version = "1.4.0"
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
45 changes: 41 additions & 4 deletions docs/change_log.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
Change Log
==========

1.4.0
-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/issues?q=milestone%3A1.4.0+is%3Aclosed)

### Deprecation warning

* `docker.utils.create_host_config` is deprecated in favor of
`Client.create_host_config`.

### Features

* Added `utils.parse_env_file` to support env-files.
See [docs](http://docker-py.readthedocs.org/en/latest/api/#create_container)
for usage.
* Added support for arbitrary log drivers
* Added support for URL paths in the docker host URL (`base_url`)
* Drastically improved support for .dockerignore syntax

### Bugfixes

* Fixed a bug where exec_inspect would allow invocation when the API version
was too low.
* Fixed a bug where `docker.utils.ports.split_port` would break if an open
range was provided.
* Fixed a bug where invalid image IDs / container IDs could be provided to
bypass or reroute request URLs
* Default `base_url` now adapts depending on the OS (better Windows support)
* Fixed a bug where using an integer as the user param in
`Client.create_container` would result in a failure.

### Miscellaneous

* Docs fixes
* Integration tests are now run as part of our continuous integration.
* Updated dependency on `six` library

1.3.1
-----

Expand Down Expand Up @@ -30,8 +67,8 @@ Change Log

### Deprecation warning

* As announced in the 1.2.0 release, `Client.execute` has been removed in favor of
`Client.exec_create` and `Client.exec_start`.
* As announced in the 1.2.0 release, `Client.execute` has been removed in favor
of `Client.exec_create` and `Client.exec_start`.

### Features

Expand Down Expand Up @@ -79,8 +116,8 @@ Change Log

### Deprecation warning

* Passing host config in the `Client.start` method is now deprecated. Please use the
`host_config` in `Client.create_container` instead.
* Passing host config in the `Client.start` method is now deprecated. Please
use the `host_config` in `Client.create_container` instead.

### Features

Expand Down
5 changes: 4 additions & 1 deletion tests/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1626,4 +1626,7 @@ def test_715(self):
ctnr = self.client.create_container('busybox', ['id', '-u'], user=1000)
self.client.start(ctnr)
self.client.wait(ctnr)
assert self.client.logs(ctnr) == '1000\n'
logs = self.client.logs(ctnr)
if six.PY3:
logs = logs.decode('utf-8')
assert logs == '1000\n'

0 comments on commit 08a4bcd

Please sign in to comment.