Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package version updates don't quite follow semantic versioning for 0.X releases #738

Open
yorickpeterse opened this issue Aug 9, 2024 · 0 comments
Labels
accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers bug Defects, unintended behaviour, etc compiler Changes related to the compiler

Comments

@yorickpeterse
Copy link
Collaborator

The semantic versioning specification states the following:

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

We currently don't follow this when handling package version updates, as we only constrain the updates the mayor version number. This means that if a package specifies it needs dependency A with a minimum version of 0.2.3, and version 0.3.0 is released, inko pkg update will bump the version requirement to 0.3.0, instead of using whatever the latest version of 0.2.X is.

The question is whether we actually want the semver behaviour, or stick with what we currently do. The reason is that for example many Rust libraries perpetually stay at version 0.X even though they are backwards compatible, simply because authors don't want to commit to an officially stable API.

I'm personally not sure just yet as to what approach is the best here.

@yorickpeterse yorickpeterse added accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers bug Defects, unintended behaviour, etc compiler Changes related to the compiler labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting contributions Issues that are suitable to be worked on by anybody, not just maintainers bug Defects, unintended behaviour, etc compiler Changes related to the compiler
Projects
None yet
Development

No branches or pull requests

1 participant