Skip to content

Commit 589e76e

Browse files
committed
Update changelog for 4.0.0
Signed-off-by: Joffrey F <[email protected]>
1 parent f678157 commit 589e76e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

docs/change-log.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
Change log
22
==========
33

4+
4.0.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/57?closed=1)
8+
9+
### Breaking changes
10+
11+
- Support for Python 3.3 and Python 3.4 has been dropped
12+
- `APIClient.update_service`, `APIClient.init_swarm`, and
13+
`DockerClient.swarm.init` now return a `dict` from the API's response body
14+
- In `APIClient.build` and `DockerClient.images.build`, the `use_config_proxy`
15+
parameter now defaults to True
16+
- `init_path` is no longer a valid parameter for `HostConfig`
17+
18+
### Features
19+
20+
- It is now possible to provide `SCTP` ports for port mappings
21+
- `ContainerSpec`s now support the `init` parameter
22+
- `DockerClient.swarm.init` and `APIClient.init_swarm` now support the
23+
`data_path_addr` parameter
24+
- `APIClient.update_swarm` and `DockerClient.swarm.update` now support the
25+
`rotate_manager_unlock_key` parameter
26+
- `APIClient.update_service` returns the API's response body as a `dict`
27+
- `APIClient.init_swarm`, and `DockerClient.swarm.init` now return the API's
28+
response body as a `dict`
29+
30+
### Bugfixes
31+
32+
- Fixed `PlacementPreference` instances to produce a valid API type
33+
- Fixed a bug where not setting a value for `buildargs` in `build` could cause
34+
the library to attempt accessing attributes of a `None` value
35+
- Fixed a bug where setting the `volume_driver` parameter in
36+
`DockerClient.containers.create` would result in an error
37+
- `APIClient.inspect_distribution` now correctly sets the authentication
38+
headers on the request, allowing it to be used with private repositories
39+
This change also applies to `DockerClient.get_registry_data`
40+
441
3.7.2
542
-----
643

0 commit comments

Comments
 (0)