Our team is planning to rename a group of React components. Each component's version number has been, up until now, incremented based on semver guidance.
semver.org does not clearly define what to do in this case - what version to increment during a renaming of a project. The changes are not breaking in the functional sense, so this could be technically described as backwards compatible, but users will need to reference a new package name in their package.json file in order to access new functionality.
What is best practice in this case - start at a new version number, increment to the next major number, or something else we haven't considered?
users will need to reference a new package name in their package.json
This is similar to semver/semver
issue 148, which discussed changes in dependencies.
Upgrading the logger dependency would be an outgoing interface change and must be considered part of the public API.
In your case, this is not about dependencies, but is still a change to an "outgoing interface".
A change to the major version seems the recommended option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With