blob: ea358aab5ddfd22c76f4ae049ffd6a2638d844bb [file] [log] [blame] [view]
shin-f3c91c82013-07-05 17:07:071ChangeLog
2=========
3
shin-f5942472014-02-24 14:52:1240.3.0
5-----
6
7* **This version introduces breaking changes!**
8* Support for API version 1.7 through 1.9 (Docker 0.8.0+)
9* Default API version is now 1.8
10* The client has been updated to support Requests 2.x. `requests==2.2.1`
11 is now the recommended version.
12* Links can now be specified as tuples in `Client.start` (see docs for
13 more information)
14* Added support for various options in `Client.create_container`
15 (`network_disabled`, `cpu_shares`, `working_dir` and `entrypoint`)
16* `Client.attach` has been reworked to work similarly to `Client.logs`
17 minus the historical data.
18* Logs can now be streamed using the `stream` parameter.
19* Added support for `tcp://` URLs as client `base_url`.
20* Various auth improvements.
21* Added support for custom `Client.build` timeout.
22
23
24### Bugfixes
25
26* Fixed a bug where determining the protocol of a private registry
27 would sometimes yield the wrong result.
28* Fixed a bug where `Client.copy` wouldn't accept a dict as argument.
29* Fixed several streaming bugs.
30* Removed unused parameter in `Client.import_image`.
31* The client's `base_url` now tolerates trailing slashes.
32
33#### Miscellaneous
34
35* Updated integration tests
36* Small doc fixes
37
shin-5e68ed12013-12-10 18:53:58380.2.3
39-----
40
41* Support for API version 1.6
42* Added support for links
43* Added support for global request timeout
44* Added `signal` parameter in `Client.kill`
45* Added support for `publish_all_ports` in `Client.start`
46* `Client.pull`, `Client.push` and `Client.build` can be streamed now
47* Added support for websockets in `Client.attach`
48* Fixed ports for Docker 0.6.5+
49* Added `Client.events` method (access to the `/events` endpoint)
50* Changed the way the ports and volumes are provided in `Client.start` and
51 `Client.create_container̀€` to make them simpler and more intuitive.
52
53### Bugfixes
54
55* Fixed a bug where private registries on HTTPS weren't handled properly
56* Fixed a bug where auth would break with Python 3
57
58### Miscellaneous
59
60* Test improvements
61* Slight doc improvements
62
63
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:49640.2.2
65-----
shin-28b26232013-10-24 16:36:3766
67* Added support for the `rm` parameter in `Client.build`
68* Added support for tarball imports in `Client.import_image` through `data`
69 parameter.
70* The `command` parameter in `Client.create_container` is now optional (for
71 containers that include a default run command)
72
73### Bugfixes
74
75* Fixed Python 3 support
76* Fixed a bug where anonymous push/pull would break when no authconfig is
77 present
78* Fixed a bug where the `quiet` parameter wouldn't be taken into account in
79 `Client.containers`
80* Fixed a bug where `Client.push` would break when pushing to private
81 registries.
82* Removed unused `registry` parameter in `Client.pull`.
83* Removed obsolete custom error message in `Client.create_container`.
84
85### Miscellaneous
86
87* docker-py is now unit-tested, and Travis-CI has been enabled on the
88 source repository.
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:4989
shin-3754edc2013-09-27 17:38:16900.2.1
91-----
92
shin-28b26232013-10-24 16:36:3793* Improvements to the `tox.ini` file
94
95### Bugfixes
96
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:4997* Fixed a bug where the package would fail with an `ImportError` if requests
shin-3754edc2013-09-27 17:38:1698 was installed using `apt-get`
99* Fixed a bug where `Client.build` would fail if given a `path` parameter.
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:49100* Fixed several bugs in `Client.login`. It should now work with API versions
101 1.4, 1.5.
shin-3754edc2013-09-27 17:38:16102* Please note that `Client.login` currently doesn't write auth to the
103 `.dockercfg` file, thus **auth is not persistent when using this method.**
shin-3754edc2013-09-27 17:38:16104
shin-addecd42013-09-11 23:17:341050.2.0
106-----
107
108* **This version introduces breaking changes!**
109* `Client.kill`, `Client.remove_container`, `Client.remove_image`,
110`Client.restart`, `Client.start`, `Client.stop` and `Client.wait` don't support
111varargs anymore.
112* Added commands `Client.top` and `Client.copy`
113* Added `lxc_conf` parameter to `Client.start`
114* Added support for authentication in `Client.pull` (API version >=1.5)
115* Added support for privileged containers.
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:49116* Error management overhaul. The new version should be more consistent and
shin-addecd42013-09-11 23:17:34117* All methods that expected a container ID as argument now also support a dict
118containing an `Id` key.
119* Added license header to python files.
120* Several `README.md` updates.
121
122### Bugfixes
123
124* Fixed several bugs with auth config parsing.
125* Fixed a bug in `Client.push` where it would raise an exception if
126the auth config wasn't loaded.
127* Fixed a bug in `Client.pull` where private registry images wouldn't be parsed
128properly if it contained port information.
129
130
shin-3a8b40c2013-08-28 16:23:551310.1.5
132-----
133
134* `Client.build` now uses tempfiles to store build context instead of storing
135it in memory
136* Added `nocache` option to `Client.build`
137* `Client.remove_container` now raises an exception when trying to remove a
138running container
139* `Client.create_container` now accepts dicts for the `environment` parameter
140
141### Bugfixes
142
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:49143* Fixed a bug in `Client.create_container` on Python 2.6 where unicode
shin-3a8b40c2013-08-28 16:23:55144commands would fail to be parsed
145* Fixed a bug in `Client.build` where the `tag` parameter would not be taken
146into account
147
shin-c31ce822013-08-13 18:05:131480.1.4
149-----
150
151* Added support for API connection through UNIX socket (default for docker 0.5.2+)
152
shin-1b0af1d2013-08-06 18:00:441530.1.3
154-----
155
156* The client now tries to load the auth config from `~/.dockercfg`. This is necessary to use the push command if API version is >1.0
157
shin-ebaa5ef2013-07-25 16:32:131580.1.2
159-----
160
161* Added a `quiet parameter` to `Client.build` (mirrors the `q` parameter in the API)
162
1630.1.1
164-----
165
166* Fixed a bug where the build command would list tar contents before sending the request
167* Fixed a bug in `Client.port`
168
169
shin-5364ce72013-07-16 15:59:071700.1.0
171-----
172* **This version introduces breaking changes!**
173* Switched to server side build system
174* Removed the BuilderClient
175* Added support for contextual builds
176* Added support for remote URL builds
177* Added python 3 support
178* Added bind mounts support
179* Added API version support
180* Fixed a bug where `Client.port` would fail if provided with a port of type number
181* Fixed a bug where `Client._post_json` wouldn't set the Content-Type header to `application/json`
182
shin-f3c91c82013-07-05 17:07:071830.0.6
184-----
185* Added support for custom loggers in `Client.build`
186* Added `Client.attach` command
187* Added support for `ADD` command in builder
188* Fixed a bug in `Client.logs`
189* Improved unit tests
190
191
1920.0.5
193-----
194* Added tag support for the builder
195* Use `shlex` to parse plain string commands when creating a container
196* Fixed several bugs in the builder
197* Fixed the `quiet` option in `Client.images`
198* Unit tests
199
2000.0.4
201-----
202* Improved error reporting
203
2040.0.3
205-----
206* Fixed a bug in `Client.tag`
207* Fixed a bug where generated images would be removed after a successful build
208
2090.0.2
210-----
Mathieu Le Marec - Pasquetb2c2a1b2013-09-29 14:50:49211* Implemented first version of the builder client