Skip to content

Commit

Permalink
Note the exception to SymVer for leading zeros again (#3510)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Jul 16, 2023
1 parent 80e64bc commit f20beea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The format of the version specifier is described in detail below.

## Version specifier format

Similar to other package managers, the Julia package manager respects [semantic versioning](https://semver.org/) (semver).
Similar to other package managers, the Julia package manager respects [semantic versioning](https://semver.org/) (semver), with an exception for leading zeros.
As an example, a version specifier given as e.g. `1.2.3` is therefore assumed to be compatible with the versions `[1.2.3 - 2.0.0)` where `)` is a non-inclusive upper bound.
More specifically, a version specifier is either given as a **caret specifier**, e.g. `^1.2.3` or as a **tilde specifier**, e.g. `~1.2.3`.
Caret specifiers are the default and hence `1.2.3 == ^1.2.3`. The difference between a caret and tilde is described in the next section.
Expand Down

0 comments on commit f20beea

Please sign in to comment.