Skip to content

Commit 08a4bcd

Browse files
committed
Merge pull request #762 from docker/1.4.0-release
1.4.0 release
2 parents de5aab8 + 7e3cdfb commit 08a4bcd

File tree

3 files changed

+46
-6
lines changed

3 files changed

+46
-6
lines changed

docker/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "1.4.0-dev"
1+
version = "1.4.0"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change_log.md

+41-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
Change Log
22
==========
33

4+
1.4.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/issues?q=milestone%3A1.4.0+is%3Aclosed)
8+
9+
### Deprecation warning
10+
11+
* `docker.utils.create_host_config` is deprecated in favor of
12+
`Client.create_host_config`.
13+
14+
### Features
15+
16+
* Added `utils.parse_env_file` to support env-files.
17+
See [docs](http://docker-py.readthedocs.org/en/latest/api/#create_container)
18+
for usage.
19+
* Added support for arbitrary log drivers
20+
* Added support for URL paths in the docker host URL (`base_url`)
21+
* Drastically improved support for .dockerignore syntax
22+
23+
### Bugfixes
24+
25+
* Fixed a bug where exec_inspect would allow invocation when the API version
26+
was too low.
27+
* Fixed a bug where `docker.utils.ports.split_port` would break if an open
28+
range was provided.
29+
* Fixed a bug where invalid image IDs / container IDs could be provided to
30+
bypass or reroute request URLs
31+
* Default `base_url` now adapts depending on the OS (better Windows support)
32+
* Fixed a bug where using an integer as the user param in
33+
`Client.create_container` would result in a failure.
34+
35+
### Miscellaneous
36+
37+
* Docs fixes
38+
* Integration tests are now run as part of our continuous integration.
39+
* Updated dependency on `six` library
40+
441
1.3.1
542
-----
643

@@ -30,8 +67,8 @@ Change Log
3067

3168
### Deprecation warning
3269

33-
* As announced in the 1.2.0 release, `Client.execute` has been removed in favor of
34-
`Client.exec_create` and `Client.exec_start`.
70+
* As announced in the 1.2.0 release, `Client.execute` has been removed in favor
71+
of `Client.exec_create` and `Client.exec_start`.
3572

3673
### Features
3774

@@ -79,8 +116,8 @@ Change Log
79116

80117
### Deprecation warning
81118

82-
* Passing host config in the `Client.start` method is now deprecated. Please use the
83-
`host_config` in `Client.create_container` instead.
119+
* Passing host config in the `Client.start` method is now deprecated. Please
120+
use the `host_config` in `Client.create_container` instead.
84121

85122
### Features
86123

tests/integration_test.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1626,4 +1626,7 @@ def test_715(self):
16261626
ctnr = self.client.create_container('busybox', ['id', '-u'], user=1000)
16271627
self.client.start(ctnr)
16281628
self.client.wait(ctnr)
1629-
assert self.client.logs(ctnr) == '1000\n'
1629+
logs = self.client.logs(ctnr)
1630+
if six.PY3:
1631+
logs = logs.decode('utf-8')
1632+
assert logs == '1000\n'

0 commit comments

Comments
 (0)