-
Notifications
You must be signed in to change notification settings - Fork 52
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
minor version update breaks compatibility with previous versions #441
Comments
My understanding of semver is that a 0.x update may have breaking changes. If you use a caret in package.json like "^0.19.0", it should not suddenly pull the 0.20.0 update that I had published. Please quote the appropriate sources if you think this is wrong. Thanks. |
@brodybits thanks for replying. Here's the source: |
Quoting from https://semver.org/#spec-item-4:
Here are a couple of examples from the React Native CHANGELOG itself:
Here is my understanding of how semver is done on npm for 0.x releases:
Here is how npm documented their use of semver: https://docs.npmjs.com/cli/v6/using-npm/semver |
create-react-native-module newest update broke our CI because the --module-name option doesn't exist anymore.
However, npx picks it up since the new version is just a minor update. Ideally we shouldn't have to worry about minor/patch versions breaking due to api/option names incompatibilities
The text was updated successfully, but these errors were encountered: