aerich icon indicating copy to clipboard operation
aerich copied to clipboard

Clarify aerich package versioning rules

Open leshark opened this issue 1 year ago • 2 comments

Hello, I have spotted that in version v0.7.0 not backward compatible changes were made:

Now aerich use .py file to record versions.

According to semver this should be a breaking change as generated sql file can be used somewhere else (changing them to .py files may break something + linters that lint .sql files will also break)

Not advocating for or against new functionality, however such a big change is usually not expected when updating a minor version. Can you consider switching to semver or at least explicitly clarify versioning rules so more precise constraints can be used when updating aerich?

leshark avatar Mar 06 '23 10:03 leshark

such a big change is usually not expected when updating a minor version

Because it's still v0.y.z it's in line with semver:

Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.

link

Of course, it would be ideal if projects matured to v1 in 3 years and 37 releases :)

Molkree avatar Apr 22 '23 16:04 Molkree

@Molkree let's use ZeroVer then

leshark avatar Apr 24 '23 14:04 leshark