You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honnestly, I read docs here SemVer, and I don't find exactly what we are supposed to do in this situation.
As far as I'm concerned, there's a lack of clarity on this subject, especially when it comes to pre-release versions.
I don't know whether you absolutely have to mount the major version or not in the case of a pre-release, because in that case, it's the same thing for the minor version and the patch.
If you mount the version in all cases, for the consumer of the pre-release library, it's going to be complicated to follow because if the version goes from 1.0.0.beta.0 to 1.1.2.beta.1 for example, you'll never be able to declare the dependency in the pubspec.yaml in this way
Translated with DeepL.com (free version)
my_package: ^1.0.0.beta.0
But only in this way
my_package: '>=1.0.0 <2.0.0'
I'm not sure this is the best way to declare dependancies.
Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Version
6.2.0
Description
When you are working on preid version, if you commit a breaking change, the major version is not updating.
See discussion for details.
Steps to reproduce
Expected behavior
Honnestly, I read docs here SemVer, and I don't find exactly what we are supposed to do in this situation.
As far as I'm concerned, there's a lack of clarity on this subject, especially when it comes to pre-release versions.
I don't know whether you absolutely have to mount the major version or not in the case of a pre-release, because in that case, it's the same thing for the minor version and the patch.
If you mount the version in all cases, for the consumer of the pre-release library, it's going to be complicated to follow because if the version goes from 1.0.0.beta.0 to 1.1.2.beta.1 for example, you'll never be able to declare the dependency in the pubspec.yaml in this way
Translated with DeepL.com (free version)
But only in this way
I'm not sure this is the best way to declare dependancies.
Screenshots
No response
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: