-
Notifications
You must be signed in to change notification settings - Fork 1.7k
4.0.0 release #2331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.0 release #2331
Conversation
Resync release
Signed-off-by: Christopher Crone <[email protected]>
Update docstring for auth_config parameter in pull, push, and inspect_distribution Signed-off-by: Joffrey F <[email protected]>
…ls.containers to the docstring for client.containers.run() Signed-off-by: wvaske <[email protected]>
Signed-off-by: Hannes Ljungberg <[email protected]>
…_container_run_documentation Added missing options from RUN_HOST_CONFIG_KWARGS list in docker.models.containers to the docstring for client.containers.run()
Make PlacementPreference build correct context
1.30 -> 1.35 Signed-off-by: Tsuyoshi Hombashi <[email protected]>
Fix descriptions of the default API version in docs
Signed-off-by: p1100i <[email protected]>
Fix `network_mode` API documentation wording
Signed-off-by: Leks <[email protected]>
Signed-off-by: Hannes Ljungberg <[email protected]>
This is because default the number of connections in OpenSSH is 10 Signed-off-by: Ulysses Souza <[email protected]>
- Adds a BaseHTTPAdapter with a close method to ensure that the pools is clean on close() - Makes SSHHTTPAdapter reopen a closed connection when needed like the others Signed-off-by: Ulysses Souza <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
[4.0] Terminate support for Python 3.3 (EOL in 2018)
Return API response on service update
Signed-off-by: Hannes Ljungberg <[email protected]>
Signed-off-by: Hannes Ljungberg <[email protected]>
Signed-off-by: Hannes Ljungberg <[email protected]>
Signed-off-by: Ulysses Souza <[email protected]>
Signed-off-by: Yincen Xia <[email protected]>
Signed-off-by: Ulysses Souza <[email protected]>
Update changelog and next milestone
…net size. Signed-off-by: Barry Shapira <[email protected]>
Also corrected a documentation error: the default API version from constants is currently 1.35, not 1.30 as was sometimes listed. Signed-off-by: Barry Shapira <[email protected]> Removed accidental whitespace. Signed-off-by: Barry Shapira <[email protected]>
The integration tests require restarting the swarm once for each test. I had done so manually with self.init_swarm(force_new_cluster=True) but that wasn't resetting the swarm state correctly. The usual test teardown procedure cleans up correctly. Signed-off-by: Barry Shapira <[email protected]>
Following #2201 (review) Signed-off-by: Hannes Ljungberg <[email protected]> Co-authored-by: Hannes Ljungberg <[email protected]> Co-authored-by: bluikko <[email protected]>
Fixes #2271 Signed-off-by: Hannes Ljungberg <[email protected]>
Add support for swarm DataPathAddr
Return node id on swarm init
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Hannes Ljungberg <[email protected]>
Update some test dependencies / default values with newer versions
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Add support for rotate_manager_unlock_key
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Change use_config_proxy default value to True to match CLI behavior
End Python 3.4 support
This test is quite flaky on ssl integration test Signed-off-by: Ulysses Souza <[email protected]>
Signed-off-by: Ulysses Souza <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
Signed-off-by: Joffrey F <[email protected]>
|
Please sign your commits following these rules: $ git clone -b "4.0.0-release" [email protected]:docker/docker-py.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354566592
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -fAmending updates the existing PR. You DO NOT need to open a new one. |
Signed-off-by: Joffrey F <[email protected]>
|
@ulyssessouza Do you want to give this one final glance before I push it out the door? 🐱 |
|
@shin- Sure! |
|
For me, the only thing missing is #2339. Otherwise LGTM |
Signed-off-by: Ulysses Souza <[email protected]>
4.0.0 release Signed-off-by: Joffrey F <[email protected]>
List of PRs / issues for this release
Breaking changes
APIClient.update_service,APIClient.init_swarm, andDockerClient.swarm.initnow return adictfrom the API's response bodyAPIClient.buildandDockerClient.images.build, theuse_config_proxyparameter now defaults to True
init_pathis no longer a valid parameter forHostConfigFeatures
SCTPports for port mappingsContainerSpecs now support theinitparameterDockerClient.swarm.initandAPIClient.init_swarmnow support thedata_path_addrparameterAPIClient.update_swarmandDockerClient.swarm.updatenow support therotate_manager_unlock_keyparameterAPIClient.update_servicereturns the API's response body as adictAPIClient.init_swarm, andDockerClient.swarm.initnow return the API'sresponse body as a
dictBugfixes
PlacementPreferenceinstances to produce a valid API typebuildargsinbuildcould causethe library to attempt accessing attributes of a
Nonevaluevolume_driverparameter inDockerClient.containers.createwould result in an errorAPIClient.inspect_distributionnow correctly sets the authenticationheaders on the request, allowing it to be used with private repositories
This change also applies to
DockerClient.get_registry_data