Skip to content

Commit 4f4f446

Browse files
sigurdmCommit Queue
authored and
Commit Queue
committed
Bump pub to 28a2503d7f4806e6854e3ed0d783f065abfd1b5f
Changes: ``` > git log --format="%C(auto) %h %s" ec35d46..28a2503 https://dart.googlesource.com/pub.git/+/28a2503d Bump analyzer from 4.7.0 to 5.1.0 (#3582) https://dart.googlesource.com/pub.git/+/8dba9574 Crc32c checksum validation and retry of archive downloads (#3546) https://dart.googlesource.com/pub.git/+/27da43ec Allow `dart pub add` with existing package, update constraint instead of adding (#3570) https://dart.googlesource.com/pub.git/+/2e9338e5 Do resolution before publishing. (#3565) https://dart.googlesource.com/pub.git/+/0a487534 Migrate removed command `pub` to `dart pub` in docs & messages (#3506) https://dart.googlesource.com/pub.git/+/e2720c27 Fail gracefully when run inside the pub-cache (#3471) https://dart.googlesource.com/pub.git/+/a76c1933 Upgrade `package:tar` to 0.5.6 (#3540) https://dart.googlesource.com/pub.git/+/c065e559 Remove unnecessary nullability (#3547) https://dart.googlesource.com/pub.git/+/8e306f33 Use pub.dev in writing (#3528) https://dart.googlesource.com/pub.git/+/08d71024 Use unicode (if available) when drawing file-lists (#3541) https://dart.googlesource.com/pub.git/+/a0ca4226 Don't be conservative in upgrade --major-versions without specific pa… (#3539) https://dart.googlesource.com/pub.git/+/a59d890e Show file size (#3509) https://dart.googlesource.com/pub.git/+/b0ba5cc6 Avoid packageGraph (and therefore getExecutableForCommand) depending on the lock-file (#3533) ``` Diff: https://dart.googlesource.com/pub.git/+/ec35d46261b610e558dfd0d8525ca3fc8387b4b7~..28a2503d7f4806e6854e3ed0d783f065abfd1b5f/ Change-Id: Ia366f75da16982fb9588a0d7aa18e109daea8f8c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262346 Reviewed-by: Jonas Jensen <[email protected]> Commit-Queue: Sigurd Meldgaard <[email protected]>
1 parent 7563794 commit 4f4f446

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,20 @@ Updated the Linter to `1.28.0`, which includes changes that
159159
- Remove remaining support for `.packages` files. The flag
160160
`--legacy-packages-file` is no longer supported.
161161
- Support a new field `funding` in pubspec.yaml.
162+
- Validate the CRC32c checksum of downloaded archives and retry on failure.
163+
- `dart pub add foo:<constraint>` with an existing dependency will now update
164+
the constraint rather than fail.
165+
- Update `dart pub publish` to allow `dependency_overrides` in pubspec.yaml.
166+
They will still cause a publication warning.
167+
Note that only `dependency_overrides` from the root package effect resolution.
168+
- Update `dart pub publish` to require a working resolution.
169+
If publishing a breaking release of mutually dependent packages use `dependency_overrides`
170+
to obtain a resolution.
171+
- `dart pub get` now fails gracefully when run from inside the pub-cache.
172+
- `dart pub publish` now shows the file sizes of large files in your package to
173+
prevent accidental publication of large unrelated files.
174+
- Fix a bug in `dart pub upgrade --major-versions` where packages not requiring
175+
major updates would be held back unless needed.
162176

163177
#### dart2js
164178

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ vars = {
139139
"ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93",
140140
"pool_rev": "fa84ddd0e39f45bf3f09dcc5d6b9fbdda7820fef",
141141
"protobuf_rev": "1d175bef6043bc4bdef5970f6dbd6d3001124373",
142-
"pub_rev": "ec35d46261b610e558dfd0d8525ca3fc8387b4b7", # manually rev'd
142+
"pub_rev": "28a2503d7f4806e6854e3ed0d783f065abfd1b5f", # manually rev'd
143143
"pub_semver_rev": "9fd28757ba45961ac5449e0f2b0020670e921475",
144144
"root_certificates_rev": "692f6d6488af68e0121317a9c2c9eb393eb0ee50",
145145
"shelf_rev": "39d820d4e32fc99c65f562786097487d597dcee1",

pkg/dartdev/test/commands/pub_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ void pub() {
6363

6464
expect(result.exitCode, 0);
6565

66-
expect(result.stdout,
67-
contains('Publish the current package to pub.dartlang.org.'));
66+
expect(result.stdout, contains('Publish the current package to pub.dev.'));
6867
expect(result.stdout, result2.stdout);
6968

7069
expect(result.stderr, isEmpty);

0 commit comments

Comments
 (0)