Releases: gabrieldemarmiesse/python-on-whales
v0.80.0
What's Changed
- feat: add support for buildx create --annotations flag by @bo0tzz in #690
- Add 'pull' argument to compose.create by @g-arjones in #691
- Add --with-dependencies to compose build by @perrito666 in #694
- Add unconditional debug level logging by @Hasnainz in #696
- fix: missing ipam_config in NetworkInspectResult by @Quenary in #700
- Add another test for buildx secrets by @Felixoid in #651
- Add --service-ports flag to compose.run by @perrito666 in #701
- Add support for
--metadata-fileoption with buildx bake by @ianpittwood in #693
New Contributors
- @bo0tzz made their first contribution in #690
- @g-arjones made their first contribution in #691
- @perrito666 made their first contribution in #694
- @Hasnainz made their first contribution in #696
- @Quenary made their first contribution in #700
- @Felixoid made their first contribution in #651
- @ianpittwood made their first contribution in #693
Full Changelog: v0.79.0...v0.80.0
v0.79.0
What's Changed
- feat : Add support for Docker service networks in ComposeService by @R3gardless in #683
- [Docs] Enable Syntax Highlighting by @lgeiger in #686
- Improve typing of
runby using@overloadby @patrick91 in #685 - Add metadata_file opt-in for buildx builds by @K-dash in #689
New Contributors
- @R3gardless made their first contribution in #683
- @lgeiger made their first contribution in #686
- @patrick91 made their first contribution in #685
- @K-dash made their first contribution in #689
Thank you for your contributions! This makes me very happy to see new faces!
Full Changelog: v0.78.0...v0.79.0
v0.78.0
What's Changed
- Allow customization of
--isolationand--quietinlegacy_buildby @makuchma in #680 - Stream output from
pullandpushcommand by @dabico in #678 - Explicitely preserver order while removing duplicates in push/pull by @gabrieldemarmiesse in #681
New Contributors
Full Changelog: v0.77.0...v0.78.0
v0.77.0
What's Changed
- Rework filters to support passing multiple filters of the same type by @LewisGaul in #635
- Add events method to stream Docker Compose events by @pietroagazzi in #676
New Contributors
- @pietroagazzi made their first contribution in #676
Full Changelog: v0.76.1...v0.77.0
v0.76.1
What's Changed
- Fixed secrets and added tests by @gabrieldemarmiesse in #673
- Add support for multi-nodes on builders by @gabrieldemarmiesse in #674
- Fix secrets specs labels being capitalized by @gabrieldemarmiesse in #675
Breaking changes:
Some breaking changes were introduced in this version. Those are rarely used features but it might impact you.
python_on_whales.Builder:
my_builder.status->my_builder.nodes[0].statusmy_builder.platforms->my_builder.nodes[0].platforms
python_on_whales.Secret:
my_secret.spec["name"]->my_secret.spec.namemy_secret.spec["labels"]->my_secret.spec.labels
Full Changelog: v0.75.1...v0.76.1
v0.75.1
What's Changed
Full Changelog: v0.75.0...v0.75.1
v0.75.0
What's Changed
- Add anchor to link being displayed when using CLI by @gabrieldemarmiesse in #654
- Support bake remote definitions by @rcwbr in #656
- Add entrypoint option to docker.compose.run() (#659) by @www84 in #661
- Add volumes option to docker.compose.run() (#662) by @www84 in #663
- Add envs option to docker.compose.run() (#664) by @www84 in #665
New Contributors
Full Changelog: v0.74.0...v0.75.0
v0.74.0
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-whalescommand by @gabrieldemarmiesse in #640 - Set
defer_build=Truepydantic config, improving import time significantly by @LewisGaul in #643 - Add podman
is_infraandnamespacefields toContainerobject 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
What's Changed
- 🐛 Fix wrong links in
docker_client.mdby @gabrieldemarmiesse in #613 - Add bootstrap cli flag for create/inspect by @fizzgig1888 in #600
- Add support for 'podman container init' by @LewisGaul in #615
- Replace isort, black and flake8 with ruff by @einarwar in #617
- Add Tuple[Union[str, int]] to ValidPortMapping by @eclark0426 in #619
- Fix handling of 'podman pod create --share=...' by @LewisGaul in #620
- Allow for multiple env-files by @einarwar in #616
- Fix "Render docs" CI job by @LewisGaul in #628
- Drop support for pydantic v1 by @LewisGaul in #630
- add auto/light/dark mode for docs by @s-light in #625
- Update pod component to use generic Iterable and Mapping types by @LewisGaul in #599
- Update container component to accept args as Iterable and Mapping by @LewisGaul in #627
- added missing docstrings for docker.network.inspect(), docker.network.list(), docker.network.prune() by @stock90975 in #631
- Add "network exists" command by @eclark0426 in #632
New Contributors
- @fizzgig1888 made their first contribution in #600
- @eclark0426 made their first contribution in #619
- @s-light made their first contribution in #625
- @stock90975 made their first contribution in #631
Full Changelog: v0.72.0...v0.73.0
v0.72.0
What's Changed
- Fix links in images objects docs. by @valberg in #582
- Change DockerException message to remove mention of "docker" by @LewisGaul in #585
- fix: wheel includes tests and docs by @betaboon in #586
- Allow
podman execwith--interactiveand no--ttyby @jhc4318 in #583 - Fix documentation and docstring issues by @pcharmoille in #589
- Add support for 'docker version' and 'podman version' by @LewisGaul in #593
- Set up command construction to support generic iterables and mappings by @LewisGaul in #595
- Implement support for podman pods by @LewisGaul in #544
- Make the test_cpus() testcase non-strict xfail for podman by @LewisGaul in #597
- Fix merge issue in CONTRIBUTING.md by @LewisGaul in #604
- Fix test_save_load() testcase to handle the case an image has multiple tags by @LewisGaul in #596
- Replace unrecognised unicode characters rather than raising an exception by @LewisGaul in #607
- Support generic iterables and mappings in the image component by @LewisGaul in #598
- ✍️ Made the arguments part prettier in docs by @gabrieldemarmiesse in #610
- Add test for rendering of docs by @gabrieldemarmiesse in #611
New Contributors
Full Changelog: v0.71.0...v0.72.0