Skip to content

Releases: gabrieldemarmiesse/python-on-whales

v0.74.0

20 Nov 11:34
5fe0ea5
Compare
Choose a tag to compare

Important breaking change:

The python-on-whales command is not available anymore, meaning that you cannot download the docker client binary automatically.
You need to install it yourself by using the Docker installation guide: https://docs.docker.com/engine/install/ . Note that you need only the client, you can skip the installation of the full docker engine. For example, on Ubuntu, that means you just need to do

sudo apt-get install docker-ce-cli docker-buildx-plugin docker-compose-plugin

instead of

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

What's Changed

  • Fix breakage of ContainerCLI.create(env_files=path) by @LewisGaul in #637
  • Remove download docker client functionality by @LewisGaul in #633
  • Update docs references to download-cli by @LewisGaul in #639
  • Display an error message if using the python-on-whales command by @gabrieldemarmiesse in #640
  • Set defer_build=True pydantic config, improving import time significantly by @LewisGaul in #643
  • Add podman is_infra and namespace fields to Container object by @LewisGaul in #641
  • Fix Pod property type annotations to allow for missing fields in inspect output by @LewisGaul in #648

Full Changelog: v0.73.0...v0.74.0

v0.73.0

06 Sep 10:22
86a5c8d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.72.0...v0.73.0

v0.72.0

19 Jul 13:51
bd44c62
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.71.0...v0.72.0

v0.71.0

24 Apr 08:06
6ef2cc9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.70.1...v0.71.0

v0.70.1

21 Mar 12:33
3474ecb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.70.0...v0.70.1

v0.70.0

10 Mar 11:16
6573bf3
Compare
Choose a tag to compare

This update contains (hopefully) all fixes for the breaking changes introduced in docker compose v2.24.7. If you still encounter issues, file a issue here and downgrade docker compose to v2.24.6 in the meantime.

What's Changed

New Contributors

Full Changelog: v0.69.0...v0.70.0

v0.69.0

17 Feb 12:48
4ed016d
Compare
Choose a tag to compare

What's Changed

Since this is a big release, I'll only put here the commits which have an impact on end users and remove internal refactoring.

New Contributors

Full Changelog: v0.68.0...v0.69.0

v0.68.0

14 Dec 09:40
e2f959f
Compare
Choose a tag to compare

What's Changed

  • Error docker.execute with str by @kashyab12 in #501
  • ✨ Added stream_logs to docker.compose.up() by @HemaZ in #505
  • ✨ Added stream_logs to docker.compose.stop() by @HemaZ in #507
  • ✨ Added stream_logs to docker.compose.start() by @HemaZ in #508
  • service create args: network,restart,secrets by @fuentes73 in #511
  • feat(service): Add --mount arg && update --replicas by @fuentes73 in #514

Full Changelog: v0.67.0...v0.68.0

v0.67.0

12 Nov 18:06
e17e50a
Compare
Choose a tag to compare

This release is the first where we'll slowly force some arguments to be positional only or keyword only. This is to ensure we have the flexibility in the future to change functions signatures without breaking people's code. Also that will make the user's code cleaner and less error prone.

If you get errors that look like "function xxxx take 2 positional arguments but recieved 4" then it's that we enforced the way to pass arguments. Double check the function signature in your documentation and IDE, it should be just a matter of specifying the argument name or not. Open an issue if you're having trouble.

In practice we don't expect much code to break, that seems unlikely.

If you're looking for some ressources:

What's Changed

New Contributors

Full Changelog: v0.66.0...v0.67.0

v0.66.0

05 Nov 10:33
9f7e98a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.65.0...v0.66.0