Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Side by Side Diff: CHANGELOG.md

Issue 1127783002: Add more set-like version constraint operations. (Closed) Base URL: git@github.com:dart-lang/pub_semver@master
Patch Set: Code review changes Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/src/utils.dart » ('j') | lib/src/version_range.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.
OLDNEW
« no previous file with comments | « no previous file | lib/src/utils.dart » ('j') | lib/src/version_range.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698