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