Sourced from python-on-whales's releases.
v0.67.0
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:
- gabrieldemarmiesse/python-on-whales#495
- https://docs.python.org/3/tutorial/controlflow.html#special-parameters
What's Changed
- Add platform variant to image inspect by
@d4nj1
in gabrieldemarmiesse/python-on-whales#492- :sparkles: Allow the streaming of the docker.compose.build logs by
@gabrieldemarmiesse
in gabrieldemarmiesse/python-on-whales#494- Allow the streaming of the docker.compose.pull logs by
@HemaZ
in gabrieldemarmiesse/python-on-whales#497- :sparkles: Add stream_logs to docker.compose.down() by
@gabrieldemarmiesse
in gabrieldemarmiesse/python-on-whales#496- :sparkles: Added stream_logs to docker.compose.create() by
@gabrieldemarmiesse
in gabrieldemarmiesse/python-on-whales#498- :broom: Make some arguments positional only or kwd only by
@gabrieldemarmiesse
in gabrieldemarmiesse/python-on-whales#500New Contributors
@d4nj1
made their first contribution in gabrieldemarmiesse/python-on-whales#492@HemaZ
made their first contribution in gabrieldemarmiesse/python-on-whales#497Full Changelog: https://github.com/gabrieldemarmiesse/python-on-whales/compare/v0.66.0...v0.67.0
e17e50a
Bump version to 0.67.0963b4b2
:broom: Make some arguments positional only or kwd only (#500)05e25c7
:sparkles: Added stream_logs to docker.compose.create() (#498)de920f3
:sparkles: Add stream_logs to docker.compose.down() (#496)3599854
Allow the streaming of the docker.compose.pull logs (#497)0a14f90
:sparkles: Allow the streaming of the docker.compose.build logs (#494)9d1f144
Add platform variant to image inspect (#492)