@@ -117,9 +117,23 @@ Updated the Linter to `0.1.126`, which includes:
117
117
* New command `dart pub add` that adds new dependencies to your `pubspec.yaml`.
118
118
119
119
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.
120
131
* New option `dart pub outdated --mode=null-safety` that will analyze your
121
132
dependencies for null-safety.
122
133
* `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.
123
137
* New command `dart pub login` that logs in to pub.dev.
124
138
* The `--server` option to `dart pub publish` and `dart pub uploader` have been
125
139
deprecated. Use `publish_to` in your `pubspec.yaml` or set the
0 commit comments