Semantic Versioning
AI says a dependency is moving from major version 1 to 2. Should I just upgrade?
{
"dependencies": {
"sample-lib": "1.2.3"
}
}These example versions illustrate SemVer promises; range symbols are interpreted separately by the package manager.For a stable API, a patch promises a compatible fix. Check release notes and verify per the project process.
These are SemVer promises for stable public APIs; check the project's release notes and acceptance results before upgrading.
Patch: usually a fix: For a stable public API, a patch change promises a compatible fix. Check the project's release notes and run its acceptance checks after upgrading.
Minor: usually new features: For a stable public API, a minor release promises compatible additions; check whether the new features affect you.
Major: possibly incompatible: For a stable public API, a major release signals incompatible changes; read the release notes before upgrading and verify your project flows afterward.
You can say this to an AI Agent
The example library sample-lib is at ^1.2.3. First read the 2.0.0 release notes and list the changes that affect this project, then decide whether to upgrade. If you upgrade, check every page for errors afterward and do not upgrade other dependencies along the way.
Select page elements for precise AI edits
Click a button, text, or card, note the change, then copy its exact location to AI.
Open Selector Pro website↗