Skip to content

Commit

Permalink
Roll pub
Browse files Browse the repository at this point in the history
a7e448b pub upgrade --major-versions (flutter#2784)
06bcff0 pub upgrade foo, only unlocks foo from pubspec.lock (flutter#2781)
aa20a4b Usage exceptions no stacktrace (flutter#2776)
14e12bf Clarify error message when spawning a subprocess fails (flutter#2763)
5ef0a0e Added a pub upgrade --nullsafety mode (flutter#2741)
9cde240 Fix pub remove --dry-run (flutter#2774)
7426be9 Remove hack now issue has been fixed (flutter#2773)
90a1f77 Limit retries in test to avoid timeout (flutter#2765)
3aa327c Stop depending on .packages (flutter#2764)

Change-Id: Ifd8a8402c4628e7278b6fedfd2ca7902004fa6e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175241
Auto-Submit: Jonas Jensen <jonasfj@google.com>
Reviewed-by: Sigurd Meldgaard <sigurdm@google.com>
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
  • Loading branch information
jonasfj authored and commit-bot@chromium.org committed Dec 7, 2020
1 parent bf539b4 commit 41381e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,23 @@ Updated the Linter to `0.1.126`, which includes:
* New command `dart pub add` that adds new dependencies to your `pubspec.yaml`.

And a corresponding `dart pub remove` that removes dependencies.
* New option `dart pub upgrade --major-versions` will update constraints in
your `pubspec.yaml` to match the the _resolvable_ column reported in
`dart pub outdated`. This allows users to easily upgrade to latest version for
all dependencies where this is possible, even if such upgrade requires an
update to the version constraint in `pubspec.yaml`.

It is also possible to only upgrade the major version for a subset of your
dependencies using `dart pub upgrade --major-versions <dependencies...>`.
* New option `dart pub upgrade --null-safety` will attempt to update constraints
in your `pubspec.yaml`, such that only null-safety migrated versions of
dependencies are allowed.
* New option `dart pub outdated --mode=null-safety` that will analyze your
dependencies for null-safety.
* `dart pub publish` will now check your pubspec keys for likely typos.
* `dart pub upgrade package_foo` will fetch dependencies, but ignore the
`pubspec.lock` for `package_foo`, allowing users to only upgrade a subset of
dependencies.
* New command `dart pub login` that logs in to pub.dev.
* The `--server` option to `dart pub publish` and `dart pub uploader` have been
deprecated. Use `publish_to` in your `pubspec.yaml` or set the
Expand Down
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ vars = {
"ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93",
"pool_rev": "7abe634002a1ba8a0928eded086062f1307ccfae",
"protobuf_rev": "0d03fd588df69e9863e2a2efc0059dee8f18d5b2",
"pub_rev": "228e69e53862879c283c42b98086aa7536012a66",
"pub_rev": "a7e448b2b4743cebfc464b7973019c57f0a3b5a1",
"pub_semver_rev": "10569a1e867e909cf5db201f73118020453e5db8",
"resource_rev": "6b79867d0becf5395e5819a75720963b8298e9a7",
"root_certificates_rev": "7e5ec82c99677a2e5b95ce296c4d68b0d3378ed8",
Expand Down

0 comments on commit 41381e9

Please sign in to comment.