OLD | NEW |
| 1 # 1.2.0 |
| 2 |
| 3 * Add a `VersionConstraint.union()` method and a `new |
| 4 VersionConstraint.unionOf()` constructor. These each return a constraint that |
| 5 matches multiple existing constraints. |
| 6 |
| 7 * Add a `VersionConstraint.allowsAll()` method, which returns whether one |
| 8 constraint is a superset of another. |
| 9 |
| 10 * Add a `VersionConstraint.allowsAny()` method, which returns whether one |
| 11 constraint overlaps another. |
| 12 |
1 # 1.1.0 | 13 # 1.1.0 |
2 | 14 |
3 * Add support for the `^` operator for compatible versions according to pub's | 15 * Add support for the `^` operator for compatible versions according to pub's |
4 notion of compatibility. `^1.2.3` is equivalent to `>=1.2.3 <2.0.0`; `^0.1.2` | 16 notion of compatibility. `^1.2.3` is equivalent to `>=1.2.3 <2.0.0`; `^0.1.2` |
5 is equivalent to `>=0.1.2 <0.2.0`. | 17 is equivalent to `>=0.1.2 <0.2.0`. |
6 | 18 |
7 * Add `Version.nextBreaking`, which returns the next version that introduces | 19 * Add `Version.nextBreaking`, which returns the next version that introduces |
8 breaking changes after a given version. | 20 breaking changes after a given version. |
9 | 21 |
10 * Add `new VersionConstraint.compatibleWith()`, which returns a range covering | 22 * Add `new VersionConstraint.compatibleWith()`, which returns a range covering |
11 all versions compatible with a given version. | 23 all versions compatible with a given version. |
12 | 24 |
13 * Add a custom `VersionRange.hashCode` to make it properly hashable. | 25 * Add a custom `VersionRange.hashCode` to make it properly hashable. |
14 | 26 |
15 # 1.0.0 | 27 # 1.0.0 |
16 | 28 |
17 * Initial release. | 29 * Initial release. |
OLD | NEW |