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