OLD | NEW |
| 1 # 1.2.1 |
| 2 |
| 3 * Allow version ranges like `>=1.2.3-dev.1 <1.2.3` to match pre-release versions |
| 4 of `1.2.3`. Previously, these didn't match, since the pre-release versions had |
| 5 the same major, minor, and patch numbers as the max; now an exception has been |
| 6 added if they also have the same major, minor, and patch numbers as the min |
| 7 *and* the min is also a pre-release version. |
| 8 |
1 # 1.2.0 | 9 # 1.2.0 |
2 | 10 |
3 * Add a `VersionConstraint.union()` method and a `new | 11 * Add a `VersionConstraint.union()` method and a `new |
4 VersionConstraint.unionOf()` constructor. These each return a constraint that | 12 VersionConstraint.unionOf()` constructor. These each return a constraint that |
5 matches multiple existing constraints. | 13 matches multiple existing constraints. |
6 | 14 |
7 * Add a `VersionConstraint.allowsAll()` method, which returns whether one | 15 * Add a `VersionConstraint.allowsAll()` method, which returns whether one |
8 constraint is a superset of another. | 16 constraint is a superset of another. |
9 | 17 |
10 * Add a `VersionConstraint.allowsAny()` method, which returns whether one | 18 * Add a `VersionConstraint.allowsAny()` method, which returns whether one |
(...skipping 11 matching lines...) Expand all Loading... |
22 breaking changes after a given version. | 30 breaking changes after a given version. |
23 | 31 |
24 * Add `new VersionConstraint.compatibleWith()`, which returns a range covering | 32 * Add `new VersionConstraint.compatibleWith()`, which returns a range covering |
25 all versions compatible with a given version. | 33 all versions compatible with a given version. |
26 | 34 |
27 * Add a custom `VersionRange.hashCode` to make it properly hashable. | 35 * Add a custom `VersionRange.hashCode` to make it properly hashable. |
28 | 36 |
29 # 1.0.0 | 37 # 1.0.0 |
30 | 38 |
31 * Initial release. | 39 * Initial release. |
OLD | NEW |