Releases: gabrieldemarmiesse/python-on-whales
Releases · gabrieldemarmiesse/python-on-whales
v0.11.0
- added some
docker.plugin
commands: inspect, list, remove... - Improved the front page of the docs.
- Fixed a bug where python-on-whales could not create a Container object when a gpu was used.
- Added an error message with instructions in case there is a problem when parsing the json response from the daemon.
v0.10.0
- Added some
docker.context
commands - Added
docker.stats
- Added quite some functions for swarm:
docker.task.list()
docker.task.inspect()
docker.service.ps
,docker.swarm.ca()
, and added Tasks:python_on_whales.Task
. - Added more methods for docker services: scale, update, remove, exists.
- Three function of docker compose are now usable (quite experimental still)
docker.compose.up()
,docker.compose.build()
,docker.compose.down()
. - Various documentation improvements.
v0.9.1
Added a fix for certain services that could not be parsed. (CompletedAt not present)
v0.9.0
v0.8.0
- Added docker.system.info()
- Added docker.config functions and docs.
v0.7.0
Added a lot more attributes and docs for Docker objects. This will help a lot users to write readable code and let their IDE guide them.
One possible downside is that the parsing of the json is stricter now. If you encounter a parsing issue with pydantic, just open an issue and it'll be fixed very quickly. Parsing errors are very easy to fix. Most of the time, it's just needed to add Optional[xxx]
to solve the problem.
v0.6.0
- Added initial support for docker compose (the go version, not the python one).
- Fixed a bug where a docker image could not be retrieved after building with tags and a container driver.
v0.5.0
- A lot of new buildx commands are now available, especially concerning the builders.
- We now remove the
return_image
indocker.build()
since python on whales can infer if an image will be loaded. - Fixed some bugs in the
output
option ofdocker.build()
v0.3.2
Read the image from the repo, don't bundle it.
v0.3.1
Add the image.