diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d166ff1d26b..533a4bd00b61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,17 @@ in 2018, as it doesn't work with any Dart 2.x release. [an issue]: https://github.com/dart-lang/sdk/issues/new +#### Pub + +- Fixed race conditions in `dart pub get`, `dart run` and `dart pub global run`. + It should now be safe to run these concurrently. +- If (when) Pub crashes it will save a verbose log in + `$PUB_CACHE/log/pub_log.txt` This can be used for filing issues to the issue + tracker. + + `dart --verbose pub [command]` will also cause the log file to be written. +- `dart pub add` can now add multiple packages in one command. + #### Linter Updated the Linter to `1.18.0`, which includes changes that diff --git a/DEPS b/DEPS index 1fbea5ceffe5..56ed12306d90 100644 --- a/DEPS +++ b/DEPS @@ -141,7 +141,7 @@ vars = { "pool_rev": "7abe634002a1ba8a0928eded086062f1307ccfae", "process_rev": "56ece43b53b64c63ae51ec184b76bd5360c28d0b", "protobuf_rev": "c1eb6cb51af39ccbaa1a8e19349546586a5c8e31", - "pub_rev": "dcb6abac2d7d43258c03b348be42bf4aab9529b1", + "pub_rev": "8f5ab7b1aba3b9f66b56246d77e167990339d317", "pub_semver_rev": "a43ad72fb6b7869607581b5fedcb186d1e74276a", "root_certificates_rev": "692f6d6488af68e0121317a9c2c9eb393eb0ee50", "rust_revision": "b7856f695d65a8ebc846754f97d15814bcb1c244", diff --git a/pkg/dartdev/lib/dartdev.dart b/pkg/dartdev/lib/dartdev.dart index 0ad9c9bbb16e..acebbf74a020 100644 --- a/pkg/dartdev/lib/dartdev.dart +++ b/pkg/dartdev/lib/dartdev.dart @@ -128,6 +128,7 @@ class DartdevRunner extends CommandRunner { () => analytics, dependencyKindCustomDimensionName: dependencyKindCustomDimensionName, ), + isVerbose: () => verbose, ), ); addCommand(RunCommand(verbose: verbose));