Tilde Range - CI/CD Glossary Definition
A tilde range (~1.2.3) permits patch-level updates within a minor version, accepting 1.2.4 but not 1.3.0, making it stricter than a caret range.
A tilde range (~1.2.3) permits patch-level updates within a minor version, accepting 1.2.4 but not 1.3.0, making it stricter than a caret range.
Tilde ranges are chosen when a team wants bug fixes but no new features from a dependency.
Tilde vs caret
A tilde locks the minor version and floats the patch; a caret locks only the major. Use tilde for tighter control in CI-critical dependencies.
Related guides
Caret Range - CI/CD Glossary DefinitionCaret Range: A caret range (`^1.2.3`) allows any version that does not change the left-most non-zero version…
Semantic Version Range - CI/CD Glossary DefinitionSemantic Version Range: A semantic version range is a specifier (like `>=1.2.0 <2.0.0`) that describes a set…
Pinned Version - CI/CD Glossary DefinitionPinned Version: A pinned version is a dependency declared as one exact version (like `1.2.3`, no range operat…