We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c0cbbd commit d23a46fCopy full SHA for d23a46f
lib/elixir/lib/version.ex
@@ -50,6 +50,19 @@ defmodule Version do
50
be expressed as:
51
52
"~> 2.0.0"
53
+
54
+ `~>` will never include pre-release versions of its upper bound.
55
+ It can also be used to set an upper bound on only the major
56
+ version part. See the table below for `~>` requirements and
57
+ their corresponding translation.
58
59
+ `~>` | Translation
60
+ :------------- | :---------------------
61
+ `~> 2.0.0` | `>= 2.0.0 and < 2.1.0`
62
+ `~> 2.1.2` | `>= 2.1.2 and < 2.2.0`
63
+ `~> 2.1.3-dev` | `>= 2.1.3-dev and < 2.2.0`
64
+ `~> 2.0` | `>= 2.0.0 and < 3.0.0`
65
+ `~> 2.1` | `>= 2.1.0 and < 3.0.0`
66
67
"""
68
0 commit comments