ℹ️ Upgrade Notes
- Errors are no longer returned during client initialization if the credential helper cannot be found. A warning will be emitted instead, and an error is returned if the credential helper is used.
✨ Features
- Python 3.11 support
- Use
poll()
instead ofselect()
on non-Windows platforms - New API fields
network_driver_opt
on container run / createone-shot
on container statsstatus
on services list
🐛 Bugfixes
- Support for requests 2.29.0+ and urllib3 2.x
- Do not strip characters from volume names
- Fix connection leak on
container.exec_*
operations - Fix errors closing named pipes on Windows
What's Changed
- Add support for Python 3.11 by @hugovk in #3064
- Avoid stripping characters in volume names by @loicleyendecker in #3073
- docs: fix wrong command syntax in code annotation by @serieznyi in #3081
- build(deps): Bump setuptools from 63.2.0 to 65.5.1 by @dependabot in #3082
- fix(store): warn on init instead of throw by @nomagick in #3080
- exec: fix file handle leak with container.exec_* APIs by @Lekensteyn in #2320
- Add
network_driver_opt
to client.containers run and create by @Skazza94 in #3083 - Add
one-shot
to container APIstats
by @aroxby-wayscript in #3089 - Add
status
parameter to services list API by @lorinbucher in #3093 - socket: fix for errors on pipe close in Windows by @milas in #3099
- put_archive: note the data may also be a stream by @akx in #2478
- Use poll() instead of select(), unless Windows. by @I-question-this in #2865
- Make compatible with requests 2.29.0 and urllib3 2.0 by @felixfontein in #3116
New Contributors
- @loicleyendecker made their first contribution in #3073
- @serieznyi made their first contribution in #3081
- @nomagick made their first contribution in #3080
- @Lekensteyn made their first contribution in #2320
- @aroxby-wayscript made their first contribution in #3089
- @lorinbucher made their first contribution in #3093
- @akx made their first contribution in #2478
- @I-question-this made their first contribution in #2865
Full Changelog: 6.0.1...6.1.0