Skip to content

Commit 41381e9

Browse files
jonasfjcommit-bot@chromium.org
authored andcommitted
Roll pub
a7e448b2 pub upgrade --major-versions (#2784) 06bcff09 pub upgrade foo, only unlocks foo from pubspec.lock (#2781) aa20a4bd Usage exceptions no stacktrace (#2776) 14e12bf6 Clarify error message when spawning a subprocess fails (#2763) 5ef0a0e7 Added a pub upgrade --nullsafety mode (#2741) 9cde2406 Fix pub remove --dry-run (#2774) 7426be94 Remove hack now issue has been fixed (#2773) 90a1f776 Limit retries in test to avoid timeout (#2765) 3aa327c7 Stop depending on .packages (#2764) Change-Id: Ifd8a8402c4628e7278b6fedfd2ca7902004fa6e8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175241 Auto-Submit: Jonas Jensen <[email protected]> Reviewed-by: Sigurd Meldgaard <[email protected]> Commit-Queue: Sigurd Meldgaard <[email protected]>
1 parent bf539b4 commit 41381e9

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,23 @@ Updated the Linter to `0.1.126`, which includes:
117117
* New command `dart pub add` that adds new dependencies to your `pubspec.yaml`.
118118

119119
And a corresponding `dart pub remove` that removes dependencies.
120+
* New option `dart pub upgrade --major-versions` will update constraints in
121+
your `pubspec.yaml` to match the the _resolvable_ column reported in
122+
`dart pub outdated`. This allows users to easily upgrade to latest version for
123+
all dependencies where this is possible, even if such upgrade requires an
124+
update to the version constraint in `pubspec.yaml`.
125+
126+
It is also possible to only upgrade the major version for a subset of your
127+
dependencies using `dart pub upgrade --major-versions <dependencies...>`.
128+
* New option `dart pub upgrade --null-safety` will attempt to update constraints
129+
in your `pubspec.yaml`, such that only null-safety migrated versions of
130+
dependencies are allowed.
120131
* New option `dart pub outdated --mode=null-safety` that will analyze your
121132
dependencies for null-safety.
122133
* `dart pub publish` will now check your pubspec keys for likely typos.
134+
* `dart pub upgrade package_foo` will fetch dependencies, but ignore the
135+
`pubspec.lock` for `package_foo`, allowing users to only upgrade a subset of
136+
dependencies.
123137
* New command `dart pub login` that logs in to pub.dev.
124138
* The `--server` option to `dart pub publish` and `dart pub uploader` have been
125139
deprecated. Use `publish_to` in your `pubspec.yaml` or set the

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ vars = {
133133
"ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93",
134134
"pool_rev": "7abe634002a1ba8a0928eded086062f1307ccfae",
135135
"protobuf_rev": "0d03fd588df69e9863e2a2efc0059dee8f18d5b2",
136-
"pub_rev": "228e69e53862879c283c42b98086aa7536012a66",
136+
"pub_rev": "a7e448b2b4743cebfc464b7973019c57f0a3b5a1",
137137
"pub_semver_rev": "10569a1e867e909cf5db201f73118020453e5db8",
138138
"resource_rev": "6b79867d0becf5395e5819a75720963b8298e9a7",
139139
"root_certificates_rev": "7e5ec82c99677a2e5b95ce296c4d68b0d3378ed8",

0 commit comments

Comments
 (0)