Skip to content

Releases: gabrieldemarmiesse/python-on-whales

v0.11.0

28 Jan 18:12
b189a8c
Compare
Choose a tag to compare
  • 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

14 Jan 14:21
a3ca9e3
Compare
Choose a tag to compare
  • 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

05 Jan 09:07
Compare
Choose a tag to compare

Added a fix for certain services that could not be parsed. (CompletedAt not present)

v0.9.0

04 Jan 10:44
39d43c6
Compare
Choose a tag to compare
  • Fixed the inspection of containers that were created with --volume-from #79
  • Added a few functions for docker.context -> docker.context.rm, docker.context.list, docker.context.inspect.

v0.8.0

01 Jan 08:40
f3a80aa
Compare
Choose a tag to compare
  • Added docker.system.info()
  • Added docker.config functions and docs.

v0.7.0

24 Dec 18:51
Compare
Choose a tag to compare

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

14 Dec 19:05
Compare
Choose a tag to compare
  • 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

12 Dec 16:45
Compare
Choose a tag to compare
  • A lot of new buildx commands are now available, especially concerning the builders.
  • We now remove the return_image in docker.build() since python on whales can infer if an image will be loaded.
  • Fixed some bugs in the output option of docker.build()

v0.3.2

02 Dec 18:01
Compare
Choose a tag to compare
Read the image from the repo, don't bundle it.

v0.3.1

02 Dec 17:44
Compare
Choose a tag to compare
Add the image.