Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit eb65e5c

Browse files
author
Dart CI
committed
Version 2.19.0-432.0.dev
Merge 28be06f into dev
2 parents ae7042b + 28be06f commit eb65e5c

File tree

5 files changed

+21
-11
lines changed

5 files changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,20 +261,29 @@ Updated the Linter to `1.30.0`, which includes changes that
261261
These will show up in the lock file on the first run of `dart pub get`.
262262

263263
See https://dart.dev/go/content-hashes for more details.
264+
- New flag `dart pub get --enforce-lockfile` will fetch dependencies, but fail
265+
if anything deviates from `pubspec.lock`. Useful for ensuring reproducible runs
266+
in CI and production.
264267
- Remove remaining support for `.packages` files. The flag
265268
`--legacy-packages-file` is no longer supported.
266269
- The client will now default to the `pub.dev` repository instead of `pub.dartlang.org`.
267-
This will cause a change in pubspec.lock.
268-
- Support a new field [`funding`](https://dart.dev/tools/pub/pubspec#funding) in pubspec.yaml.
270+
This will cause a change in `pubspec.lock`.
271+
- Support a new field [`funding`](https://dart.dev/tools/pub/pubspec#funding) in `pubspec.yaml`.
269272
- Validate the CRC32c checksum of downloaded archives and retry on failure.
270273
- `dart pub add foo:<constraint>` with an existing dependency will now update
271274
the constraint rather than fail.
272-
- Update `dart pub publish` to allow `dependency_overrides` in pubspec.yaml.
275+
- Update `dart pub publish` to allow `dependency_overrides` in `pubspec.yaml`.
273276
They will still cause a publication warning.
274277
Note that only `dependency_overrides` from the root package effect resolution.
275278
- Update `dart pub publish` to require a working resolution.
276279
If publishing a breaking release of mutually dependent packages use `dependency_overrides`
277280
to obtain a resolution.
281+
- `dart pub add` will now allow adding multiple packages from any source using the same YAML syntax as in `pubspec.yaml`.
282+
283+
For example:
284+
```
285+
$ dart pub add retry:^1.0.0 'dev:foo{"git":"https://github.com/foo/foo"}'
286+
```
278287
- `dart pub publish` will now give a warning if `dart analyze` reports any diagnostics.
279288
- `dart pub get` now fails gracefully when run from inside the pub-cache.
280289
- `dart pub publish` now shows the file sizes of large files in your package to

DEPS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ vars = {
152152
"ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93",
153153
"pool_rev": "1ea5b031cfda37786d305292cb8104dffb45d9ae",
154154
"protobuf_rev": "ae90e53cd690edbfc72fa6c293fdb7b4a09ee0a2",
155-
"pub_rev": "6ac42d7644dedfcc500147ab47886eecab4b1b38", # manually rev'd
155+
"pub_rev": "6fdcdd4357645817e7d7027ee2157ed68ef69c53", # manually rev'd
156156
"pub_semver_rev": "28159b8c5b96fc2709d0904389d7932880f68659", # b/258766867
157157
"root_certificates_rev": "692f6d6488af68e0121317a9c2c9eb393eb0ee50",
158158
"shelf_rev": "1c2104737973715426035c11ba840c7f23d8f186",
@@ -176,7 +176,7 @@ vars = {
176176
"web_components_rev": "8f57dac273412a7172c8ade6f361b407e2e4ed02",
177177
"web_socket_channel_rev": "1b0561cfec8ff7e9465896eb340ea3c382b59393",
178178
"WebCore_rev": "bcb10901266c884e7b3740abc597ab95373ab55c",
179-
"webdev_rev": "3ec168f6815af9d5f11278111d147bc82c0755c3",
179+
"webdev_rev": "637b406f325669507b5c1048c19a7c0083c1bd6e",
180180
"webdriver_rev": "336dd3d1208d0b390ac437a785a78760ca7cac7d",
181181
"webkit_inspection_protocol_rev": "ddb624cd85954dd384056cc253a8fc2b9da5364d",
182182
"yaml_edit_rev": "299f74594ff9fda412c1da5c0b5d5231d0c6fc42",

sdk/lib/_internal/wasm/lib/class_id.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class ClassID {
2828
external static int get cidInt8ArrayView;
2929
@pragma("wasm:class-id", "dart.core#Object")
3030
external static int get cidObject;
31-
@pragma("wasm:class-id", "dart.async#_Future")
32-
external static int get cid_Future;
31+
@pragma("wasm:class-id", "dart.async#Future")
32+
external static int get cidFuture;
3333
@pragma("wasm:class-id", "dart.core#Function")
3434
external static int get cidFunction;
3535
@pragma("wasm:class-id", "dart.core#_Function")

sdk/lib/_internal/wasm/lib/type.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class _FutureOrType extends _Type {
184184
const _FutureOrType(super.isDeclaredNullable, this.typeArgument);
185185

186186
_InterfaceType get asFuture =>
187-
_InterfaceType(ClassID.cid_Future, isDeclaredNullable, [typeArgument]);
187+
_InterfaceType(ClassID.cidFuture, isDeclaredNullable, [typeArgument]);
188188

189189
// Removing a `?` from a type should not require additional normalization.
190190
@override
@@ -554,9 +554,10 @@ class _TypeUniverse {
554554
if (isTopType(typeArgument) || isObjectType(typeArgument)) {
555555
return typeArgument;
556556
} else if (typeArgument.isNever) {
557-
return _InterfaceType(ClassID.cid_Future, false, [const _NeverType()]);
557+
return _InterfaceType(
558+
ClassID.cidFuture, isDeclaredNullable, [const _NeverType()]);
558559
} else if (typeArgument.isNull) {
559-
return _InterfaceType(ClassID.cid_Future, true, [const _NullType()]);
560+
return _InterfaceType(ClassID.cidFuture, true, [const _NullType()]);
560561
}
561562

562563
bool declaredNullability =

tools/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ CHANNEL dev
2727
MAJOR 2
2828
MINOR 19
2929
PATCH 0
30-
PRERELEASE 431
30+
PRERELEASE 432
3131
PRERELEASE_PATCH 0

0 commit comments

Comments
 (0)