gabrieldemarmiesse / python-on-whales

An awesome Python wrapper for an awesome Docker CLI!
MIT License
541 stars 101 forks source link

Road to v1.0 #556

Open gabrieldemarmiesse opened 6 months ago

gabrieldemarmiesse commented 6 months ago

Hi all,

So we spend quite some time (3+ years) with python-on-whales v0.x. It allowed us to make breaking changes, experiment, etc...

I gathered some numbers:

First of all, thanks for everyone who opened pull requests and issues, that's awesome and the project wouldn't be there without you :)

We're not a small project anymore that can affort breaking changes left and right, and we need to also give some garantees to our users. I say we're not a small project, but we have a small codebase, and I'd like to keep it that way, so that we can have an easy maintenance.

It's time to a v1.0. And this issue is here to list what are my thoughts, what should be done beforehand and during the transition. We want to minimize the number of changes in v1.0 (I don't want to do what pydantic did when upgrading to v2), we'll target more what sqlalchemy did for v2, meaning most of the changes and apis are available before the major version upgrade.

What we should do before v1.0:

Stabilizing the API to avoid future breaking changes:

Making it easy to contribute to the project and fix bugs:

What we should do when setting the version to 1.0:

We should open issues to track the items in this list without issues and also make a milestone in github for easier tracking of the progress.

Timeline

I want to be clear that there is no timeline for the v1.0. The open-source world is slow and stress-free (most of the time) and I'd like to keep it that way. We're all unpaid volunteers here. Contributing should be fun, and we should strive for high quality code. For this, we won't compromize on any timeline. If you're in a hurry, fork the project :p .

Thanks again for everyone who helped so far, and thanks in advance for everyone who will help us get to the 1.0 :)