From e4de5c1b84b790469ea0ce40a1fcc8d140dc7f57 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Thu, 22 Jan 2026 12:19:01 +0000 Subject: [PATCH 1/5] doc: replace pub run with dart run --- .github/workflows/file.yaml | 2 +- pkgs/coverage/test/test_files/main_test.js | 2 +- pkgs/pubspec_parse/build.yaml | 2 +- pkgs/timing/README.md | 2 +- pkgs/yaml_edit/README.md | 2 +- pkgs/yaml_edit/test/testdata/README.md | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/file.yaml b/.github/workflows/file.yaml index 020d7a053..c8479bd89 100644 --- a/.github/workflows/file.yaml +++ b/.github/workflows/file.yaml @@ -51,4 +51,4 @@ jobs: sdk: ${{ matrix.sdk }} - run: dart pub get - - run: dart pub run test -j1 + - run: dart run test -j1 diff --git a/pkgs/coverage/test/test_files/main_test.js b/pkgs/coverage/test/test_files/main_test.js index 4c4fb3e1d..0d3cefcfd 100644 --- a/pkgs/coverage/test/test_files/main_test.js +++ b/pkgs/coverage/test/test_files/main_test.js @@ -23307,7 +23307,7 @@ zone.run$1$1(new U.Invoker__handleError_closure0(_this), type$.void); t2 = _this._invoker$_controller._liveTest._live_test_controller$_controller; if (t2._test.metadata._chainStackTraces === false) - C.JSArray_methods.add$1(_this._printsOnFailure, "Consider enabling the flag chain-stack-traces to receive more detailed exceptions.\nFor example, 'pub run test --chain-stack-traces'."); + C.JSArray_methods.add$1(_this._printsOnFailure, "Consider enabling the flag chain-stack-traces to receive more detailed exceptions.\nFor example, 'dart run test --chain-stack-traces'."); t2 = _this._printsOnFailure; if (t2.length !== 0) { P.print(C.JSArray_methods.join$1(t2, "\n\n")); diff --git a/pkgs/pubspec_parse/build.yaml b/pkgs/pubspec_parse/build.yaml index 2003bc29e..53ce450a4 100644 --- a/pkgs/pubspec_parse/build.yaml +++ b/pkgs/pubspec_parse/build.yaml @@ -1,5 +1,5 @@ # Read about `build.yaml` at https://pub.dev/packages/build_config -# To update generated code, run `pub run build_runner build` +# To update generated code, run `dart run build_runner build` targets: $default: builders: diff --git a/pkgs/timing/README.md b/pkgs/timing/README.md index 9dab7cc51..9bf84adb6 100644 --- a/pkgs/timing/README.md +++ b/pkgs/timing/README.md @@ -21,7 +21,7 @@ print('${tracker.duration} ${tracker.innerDuration} ${tracker.slices}'); Use the following command to re-generate `lib/src/timing.g.dart` file: ```bash -dart pub run build_runner build +dart run build_runner build ``` ## Publishing automation diff --git a/pkgs/yaml_edit/README.md b/pkgs/yaml_edit/README.md index f10560bfa..5db643e81 100644 --- a/pkgs/yaml_edit/README.md +++ b/pkgs/yaml_edit/README.md @@ -53,7 +53,7 @@ Testing is done in two strategies: Unit testing (`/test/editor_test.dart`) and Golden testing (`/test/golden_test.dart`). More information on Golden testing and the input/output format can be found at `/test/testdata/README.md`. -These tests are automatically run with `pub run test`. +These tests are automatically run with `dart run test`. ## Limitations diff --git a/pkgs/yaml_edit/test/testdata/README.md b/pkgs/yaml_edit/test/testdata/README.md index 51452648b..224ba1e25 100644 --- a/pkgs/yaml_edit/test/testdata/README.md +++ b/pkgs/yaml_edit/test/testdata/README.md @@ -15,8 +15,8 @@ When the tests are run (see [Running Tests](#Running-Tests)), the series of spec ## Running Tests -By default, golden testing is performed with `pub run test`. If we only wanted to -performed golden testing, simply do: `pub run test test/golden_test.dart`. +By default, golden testing is performed with `dart run test`. If we only wanted to +performed golden testing, simply do: `dart run test test/golden_test.dart`. ## Input Format From 69f2df75773927d2535ee0249d7a4b6e41f190be Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Thu, 22 Jan 2026 12:53:09 +0000 Subject: [PATCH 2/5] Add changelog entry for pubspec_parse --- pkgs/pubspec_parse/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/pubspec_parse/CHANGELOG.md b/pkgs/pubspec_parse/CHANGELOG.md index 31b30456b..ddb0c1cf4 100644 --- a/pkgs/pubspec_parse/CHANGELOG.md +++ b/pkgs/pubspec_parse/CHANGELOG.md @@ -112,3 +112,8 @@ ## 0.1.0 - Initial release. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + From a6b0718d73ee7ce797f9b6ac63842b6e1e1a624b Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Thu, 22 Jan 2026 12:55:07 +0000 Subject: [PATCH 3/5] Add changelog entries for all affected packages --- pkgs/bazel_worker/CHANGELOG.md | 5 +++++ pkgs/benchmark_harness/CHANGELOG.md | 5 +++++ pkgs/boolean_selector/CHANGELOG.md | 5 +++++ pkgs/browser_launcher/CHANGELOG.md | 5 +++++ pkgs/cli_config/CHANGELOG.md | 5 +++++ pkgs/cli_util/CHANGELOG.md | 5 +++++ pkgs/clock/CHANGELOG.md | 5 +++++ pkgs/code_builder/CHANGELOG.md | 5 +++++ pkgs/coverage/CHANGELOG.md | 5 +++++ pkgs/csslib/CHANGELOG.md | 5 +++++ pkgs/extension_discovery/CHANGELOG.md | 5 +++++ pkgs/file/CHANGELOG.md | 5 +++++ pkgs/file_testing/CHANGELOG.md | 5 +++++ pkgs/glob/CHANGELOG.md | 5 +++++ pkgs/graphs/CHANGELOG.md | 5 +++++ pkgs/html/CHANGELOG.md | 5 +++++ pkgs/io/CHANGELOG.md | 5 +++++ pkgs/json_rpc_2/CHANGELOG.md | 5 +++++ pkgs/markdown/CHANGELOG.md | 5 +++++ pkgs/mime/CHANGELOG.md | 5 +++++ pkgs/oauth2/CHANGELOG.md | 5 +++++ pkgs/package_config/CHANGELOG.md | 5 +++++ pkgs/pool/CHANGELOG.md | 5 +++++ pkgs/process/CHANGELOG.md | 5 +++++ pkgs/pub_semver/CHANGELOG.md | 5 +++++ pkgs/pubspec_parse/CHANGELOG.md | 5 +++++ pkgs/source_map_stack_trace/CHANGELOG.md | 5 +++++ pkgs/source_maps/CHANGELOG.md | 5 +++++ pkgs/source_span/CHANGELOG.md | 5 +++++ pkgs/sse/CHANGELOG.md | 5 +++++ pkgs/stack_trace/CHANGELOG.md | 5 +++++ pkgs/stream_channel/CHANGELOG.md | 5 +++++ pkgs/stream_transform/CHANGELOG.md | 5 +++++ pkgs/string_scanner/CHANGELOG.md | 5 +++++ pkgs/term_glyph/CHANGELOG.md | 5 +++++ pkgs/test_reflective_loader/CHANGELOG.md | 5 +++++ pkgs/timing/CHANGELOG.md | 5 +++++ pkgs/unified_analytics/CHANGELOG.md | 5 +++++ pkgs/watcher/CHANGELOG.md | 5 +++++ pkgs/yaml/CHANGELOG.md | 5 +++++ pkgs/yaml_edit/CHANGELOG.md | 5 +++++ 41 files changed, 205 insertions(+) diff --git a/pkgs/bazel_worker/CHANGELOG.md b/pkgs/bazel_worker/CHANGELOG.md index 6c08c517d..25c9fd432 100644 --- a/pkgs/bazel_worker/CHANGELOG.md +++ b/pkgs/bazel_worker/CHANGELOG.md @@ -201,3 +201,8 @@ ## 0.1.0 * Initial version. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/benchmark_harness/CHANGELOG.md b/pkgs/benchmark_harness/CHANGELOG.md index f9afe69ae..95542f49f 100644 --- a/pkgs/benchmark_harness/CHANGELOG.md +++ b/pkgs/benchmark_harness/CHANGELOG.md @@ -53,3 +53,8 @@ for `run` methods which are small themselves. ## 1.0.5 - Updates to support Dart 2. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/boolean_selector/CHANGELOG.md b/pkgs/boolean_selector/CHANGELOG.md index f870787fc..c1be91dcd 100644 --- a/pkgs/boolean_selector/CHANGELOG.md +++ b/pkgs/boolean_selector/CHANGELOG.md @@ -42,3 +42,8 @@ ## 1.0.0 * Initial release. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/browser_launcher/CHANGELOG.md b/pkgs/browser_launcher/CHANGELOG.md index f37505648..baa98ee30 100644 --- a/pkgs/browser_launcher/CHANGELOG.md +++ b/pkgs/browser_launcher/CHANGELOG.md @@ -69,3 +69,8 @@ ## 0.1.0 - initial release + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/cli_config/CHANGELOG.md b/pkgs/cli_config/CHANGELOG.md index 55fcd2d13..7113b3add 100644 --- a/pkgs/cli_config/CHANGELOG.md +++ b/pkgs/cli_config/CHANGELOG.md @@ -20,3 +20,8 @@ ## 0.1.0 - Initial version. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/cli_util/CHANGELOG.md b/pkgs/cli_util/CHANGELOG.md index dc376fb07..c421de46a 100644 --- a/pkgs/cli_util/CHANGELOG.md +++ b/pkgs/cli_util/CHANGELOG.md @@ -107,3 +107,8 @@ ## 0.0.1 - Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/clock/CHANGELOG.md b/pkgs/clock/CHANGELOG.md index eb4f9ab95..73612a6dc 100644 --- a/pkgs/clock/CHANGELOG.md +++ b/pkgs/clock/CHANGELOG.md @@ -54,3 +54,8 @@ backwards-compatible with the old version of the `clock` package. current time as a `DateTime` instead of its old arguments. * `Clock.now()` is now a method rather than a getter. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/code_builder/CHANGELOG.md b/pkgs/code_builder/CHANGELOG.md index e153bd5e3..cd3aa4942 100644 --- a/pkgs/code_builder/CHANGELOG.md +++ b/pkgs/code_builder/CHANGELOG.md @@ -878,3 +878,8 @@ automatically added to a `LibraryBuilder` for you if you use ## 0.1.0 - Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/coverage/CHANGELOG.md b/pkgs/coverage/CHANGELOG.md index eb1c7c3e0..c817e632a 100644 --- a/pkgs/coverage/CHANGELOG.md +++ b/pkgs/coverage/CHANGELOG.md @@ -545,3 +545,8 @@ 1.9.0, coverage collection is no longer done over the remote debugging port, but via the observatory port emitted on stdout. Backward compatibility with SDKs back to 1.5.x is provided. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/csslib/CHANGELOG.md b/pkgs/csslib/CHANGELOG.md index 366c3a657..4d897bba5 100644 --- a/pkgs/csslib/CHANGELOG.md +++ b/pkgs/csslib/CHANGELOG.md @@ -231,3 +231,8 @@ ## 0.11.0 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/extension_discovery/CHANGELOG.md b/pkgs/extension_discovery/CHANGELOG.md index f35371ea5..134f7c1d3 100644 --- a/pkgs/extension_discovery/CHANGELOG.md +++ b/pkgs/extension_discovery/CHANGELOG.md @@ -22,3 +22,8 @@ ## 1.0.0 - Initial version. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/file/CHANGELOG.md b/pkgs/file/CHANGELOG.md index 3a3969cad..8221c9260 100644 --- a/pkgs/file/CHANGELOG.md +++ b/pkgs/file/CHANGELOG.md @@ -242,3 +242,8 @@ ## 0.1.0 * Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/file_testing/CHANGELOG.md b/pkgs/file_testing/CHANGELOG.md index 17039ee16..faf75ea75 100644 --- a/pkgs/file_testing/CHANGELOG.md +++ b/pkgs/file_testing/CHANGELOG.md @@ -47,3 +47,8 @@ * Moved `package:file/testing.dart` library into a dedicated package so that libraries don't need to take on a transitive dependency on `package:test` in order to use `package:file`. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/glob/CHANGELOG.md b/pkgs/glob/CHANGELOG.md index a7ca915bf..0454f2f62 100644 --- a/pkgs/glob/CHANGELOG.md +++ b/pkgs/glob/CHANGELOG.md @@ -113,3 +113,8 @@ provides the old methods as extensions, and automatically passes a - Fix several analyzer warnings. - Fix the tests on Windows. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/graphs/CHANGELOG.md b/pkgs/graphs/CHANGELOG.md index 7213b5a22..e5537c55a 100644 --- a/pkgs/graphs/CHANGELOG.md +++ b/pkgs/graphs/CHANGELOG.md @@ -75,3 +75,8 @@ - Initial release with an implementation of `stronglyConnectedComponents` and `crawlAsync`. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/html/CHANGELOG.md b/pkgs/html/CHANGELOG.md index 17cbb8466..d6ace2e2b 100644 --- a/pkgs/html/CHANGELOG.md +++ b/pkgs/html/CHANGELOG.md @@ -161,3 +161,8 @@ * deprecate Node.$dom_nodeType * added querySelector/querySelectorAll, deprecated query/queryAll. This matches the current APIs in dart:html. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/io/CHANGELOG.md b/pkgs/io/CHANGELOG.md index 8c0057f2b..c546160f0 100644 --- a/pkgs/io/CHANGELOG.md +++ b/pkgs/io/CHANGELOG.md @@ -121,3 +121,8 @@ main() { - `ProcessManager` and `Spawn` - `sharedStdIn` and `SharedStdIn` - `ansi.dart` library with support for formatting terminal output + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/json_rpc_2/CHANGELOG.md b/pkgs/json_rpc_2/CHANGELOG.md index e9bf18430..2918940dc 100644 --- a/pkgs/json_rpc_2/CHANGELOG.md +++ b/pkgs/json_rpc_2/CHANGELOG.md @@ -160,3 +160,8 @@ ## 0.0.2+2 * Fix error response to include data from `RpcException` when not a map. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/markdown/CHANGELOG.md b/pkgs/markdown/CHANGELOG.md index 88b1236f3..014207884 100644 --- a/pkgs/markdown/CHANGELOG.md +++ b/pkgs/markdown/CHANGELOG.md @@ -421,3 +421,8 @@ * Formatted code. * Updated readme. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/mime/CHANGELOG.md b/pkgs/mime/CHANGELOG.md index df0d6dcf4..79b6e2797 100644 --- a/pkgs/mime/CHANGELOG.md +++ b/pkgs/mime/CHANGELOG.md @@ -194,3 +194,8 @@ Mime types where the default file extension changed: ## 0.9.1 * Handle parsing of MIME multipart content with no parts. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/oauth2/CHANGELOG.md b/pkgs/oauth2/CHANGELOG.md index e197a7baa..706fdb362 100644 --- a/pkgs/oauth2/CHANGELOG.md +++ b/pkgs/oauth2/CHANGELOG.md @@ -140,3 +140,8 @@ * Expand the dependency on the HTTP package to include 0.10.x. * Add a README file. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/package_config/CHANGELOG.md b/pkgs/package_config/CHANGELOG.md index 83953a9d1..d3e1024e7 100644 --- a/pkgs/package_config/CHANGELOG.md +++ b/pkgs/package_config/CHANGELOG.md @@ -135,3 +135,8 @@ ## 0.1.0 - Initial implementation. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/pool/CHANGELOG.md b/pkgs/pool/CHANGELOG.md index d7ab9abed..75930016f 100644 --- a/pkgs/pool/CHANGELOG.md +++ b/pkgs/pool/CHANGELOG.md @@ -103,3 +103,8 @@ ## 1.0.1 * A `TimeoutException` is now correctly thrown if the pool detects a deadlock. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/process/CHANGELOG.md b/pkgs/process/CHANGELOG.md index 311d021de..f53caf2f7 100644 --- a/pkgs/process/CHANGELOG.md +++ b/pkgs/process/CHANGELOG.md @@ -212,3 +212,8 @@ begin otherwise, the file name is ambiguous on Windows. ## 1.0.0 * Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/pub_semver/CHANGELOG.md b/pkgs/pub_semver/CHANGELOG.md index 8689e4acd..6d0623d76 100644 --- a/pkgs/pub_semver/CHANGELOG.md +++ b/pkgs/pub_semver/CHANGELOG.md @@ -185,3 +185,8 @@ ## 1.0.0 * Initial release. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/pubspec_parse/CHANGELOG.md b/pkgs/pubspec_parse/CHANGELOG.md index ddb0c1cf4..ac4adb289 100644 --- a/pkgs/pubspec_parse/CHANGELOG.md +++ b/pkgs/pubspec_parse/CHANGELOG.md @@ -117,3 +117,8 @@ - Replaced deprecated `pub run` with `dart run` in documentation. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/source_map_stack_trace/CHANGELOG.md b/pkgs/source_map_stack_trace/CHANGELOG.md index 00c66d9cc..85142f391 100644 --- a/pkgs/source_map_stack_trace/CHANGELOG.md +++ b/pkgs/source_map_stack_trace/CHANGELOG.md @@ -80,3 +80,8 @@ ## 1.0.0 * Initial release. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/source_maps/CHANGELOG.md b/pkgs/source_maps/CHANGELOG.md index ad79d389f..382f8c370 100644 --- a/pkgs/source_maps/CHANGELOG.md +++ b/pkgs/source_maps/CHANGELOG.md @@ -135,3 +135,8 @@ * Support unmapped areas in source maps. * Increase the readability of location messages. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/source_span/CHANGELOG.md b/pkgs/source_span/CHANGELOG.md index b8319d773..faea4dc72 100644 --- a/pkgs/source_span/CHANGELOG.md +++ b/pkgs/source_span/CHANGELOG.md @@ -238,3 +238,8 @@ API has many differences. Among them: * `SourceFileSegment` has been removed. This class wasn't widely used and was inconsistent in its choice of which parameters were considered relative and which absolute. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/sse/CHANGELOG.md b/pkgs/sse/CHANGELOG.md index 8e39124ed..86414eb17 100644 --- a/pkgs/sse/CHANGELOG.md +++ b/pkgs/sse/CHANGELOG.md @@ -180,3 +180,8 @@ the client.** ## 0.0.1 - Initial commit. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/stack_trace/CHANGELOG.md b/pkgs/stack_trace/CHANGELOG.md index fb1e402db..94de352ad 100644 --- a/pkgs/stack_trace/CHANGELOG.md +++ b/pkgs/stack_trace/CHANGELOG.md @@ -365,3 +365,8 @@ * Add a `Chain.foldFrames` method that parallels `Trace.foldFrames`. * Record anonymous method frames in IE10 as "". + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/stream_channel/CHANGELOG.md b/pkgs/stream_channel/CHANGELOG.md index 9dd3990ec..5460e818b 100644 --- a/pkgs/stream_channel/CHANGELOG.md +++ b/pkgs/stream_channel/CHANGELOG.md @@ -160,3 +160,8 @@ ## 1.0.0 * Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/stream_transform/CHANGELOG.md b/pkgs/stream_transform/CHANGELOG.md index b09778b07..ea52db95d 100644 --- a/pkgs/stream_transform/CHANGELOG.md +++ b/pkgs/stream_transform/CHANGELOG.md @@ -187,3 +187,8 @@ - `buffer`: Collects events in a `List` until a `trigger` stream fires. - `debounce`, `debounceBuffer`: Collect or drop events which occur closer in time than a given duration. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/string_scanner/CHANGELOG.md b/pkgs/string_scanner/CHANGELOG.md index 082e9f201..85a6a70d9 100644 --- a/pkgs/string_scanner/CHANGELOG.md +++ b/pkgs/string_scanner/CHANGELOG.md @@ -173,3 +173,8 @@ than 1.0.0. For example, `string_scanner: ">=0.1.5 <2.0.0"`. [source map][] `Span` objects. [source_map]: https://pub.dev/packages/source_maps + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/term_glyph/CHANGELOG.md b/pkgs/term_glyph/CHANGELOG.md index bf8eb791c..cae280e93 100644 --- a/pkgs/term_glyph/CHANGELOG.md +++ b/pkgs/term_glyph/CHANGELOG.md @@ -31,3 +31,8 @@ ## 1.0.0 * Initial version. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/test_reflective_loader/CHANGELOG.md b/pkgs/test_reflective_loader/CHANGELOG.md index 682011349..149b43d48 100644 --- a/pkgs/test_reflective_loader/CHANGELOG.md +++ b/pkgs/test_reflective_loader/CHANGELOG.md @@ -89,3 +89,8 @@ ## 0.0.1 - Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/timing/CHANGELOG.md b/pkgs/timing/CHANGELOG.md index 8cdb8eadc..63bfc9694 100644 --- a/pkgs/timing/CHANGELOG.md +++ b/pkgs/timing/CHANGELOG.md @@ -32,3 +32,8 @@ ## 0.1.0 - Initial release + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/unified_analytics/CHANGELOG.md b/pkgs/unified_analytics/CHANGELOG.md index e4d0daf24..bf86eaa98 100644 --- a/pkgs/unified_analytics/CHANGELOG.md +++ b/pkgs/unified_analytics/CHANGELOG.md @@ -234,3 +234,8 @@ from the `Event.devtoolsEvent` constructor. ## 0.1.0 - Initial version + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/watcher/CHANGELOG.md b/pkgs/watcher/CHANGELOG.md index b52fe831b..3849896d7 100644 --- a/pkgs/watcher/CHANGELOG.md +++ b/pkgs/watcher/CHANGELOG.md @@ -220,3 +220,8 @@ * Simplified `PollingDirectoryWatcher`. * Fixed bugs in `MacOSDirectoryWatcher` + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/yaml/CHANGELOG.md b/pkgs/yaml/CHANGELOG.md index 3f9d3fd22..6a4a0867c 100644 --- a/pkgs/yaml/CHANGELOG.md +++ b/pkgs/yaml/CHANGELOG.md @@ -197,3 +197,8 @@ * The `YamlMap` class is deprecated. In a future version, maps returned by `loadYaml` and `loadYamlStream` will be Dart `HashMap`s with a custom equality operation. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + diff --git a/pkgs/yaml_edit/CHANGELOG.md b/pkgs/yaml_edit/CHANGELOG.md index 8794b7b86..5b07741c0 100644 --- a/pkgs/yaml_edit/CHANGELOG.md +++ b/pkgs/yaml_edit/CHANGELOG.md @@ -98,3 +98,8 @@ ## 1.0.0 - Initial release. + +## 1.0.0-next + +- Replaced deprecated `pub run` with `dart run` in documentation. + From 227898b6ede7181dc97d894ddf8b22a8de073773 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Thu, 22 Jan 2026 13:11:16 +0000 Subject: [PATCH 4/5] chore: revert changelog changes and use skip-changelog label instead --- pkgs/bazel_worker/CHANGELOG.md | 5 ----- pkgs/benchmark_harness/CHANGELOG.md | 5 ----- pkgs/boolean_selector/CHANGELOG.md | 5 ----- pkgs/browser_launcher/CHANGELOG.md | 5 ----- pkgs/cli_config/CHANGELOG.md | 5 ----- pkgs/cli_util/CHANGELOG.md | 5 ----- pkgs/clock/CHANGELOG.md | 5 ----- pkgs/code_builder/CHANGELOG.md | 5 ----- pkgs/coverage/CHANGELOG.md | 5 ----- pkgs/csslib/CHANGELOG.md | 5 ----- pkgs/extension_discovery/CHANGELOG.md | 5 ----- pkgs/file/CHANGELOG.md | 5 ----- pkgs/file_testing/CHANGELOG.md | 5 ----- pkgs/glob/CHANGELOG.md | 5 ----- pkgs/graphs/CHANGELOG.md | 5 ----- pkgs/html/CHANGELOG.md | 5 ----- pkgs/io/CHANGELOG.md | 5 ----- pkgs/json_rpc_2/CHANGELOG.md | 5 ----- pkgs/markdown/CHANGELOG.md | 5 ----- pkgs/mime/CHANGELOG.md | 5 ----- pkgs/oauth2/CHANGELOG.md | 5 ----- pkgs/package_config/CHANGELOG.md | 5 ----- pkgs/pool/CHANGELOG.md | 5 ----- pkgs/process/CHANGELOG.md | 5 ----- pkgs/pub_semver/CHANGELOG.md | 5 ----- pkgs/pubspec_parse/CHANGELOG.md | 10 ---------- pkgs/source_map_stack_trace/CHANGELOG.md | 5 ----- pkgs/source_maps/CHANGELOG.md | 5 ----- pkgs/source_span/CHANGELOG.md | 5 ----- pkgs/sse/CHANGELOG.md | 5 ----- pkgs/stack_trace/CHANGELOG.md | 5 ----- pkgs/stream_channel/CHANGELOG.md | 5 ----- pkgs/stream_transform/CHANGELOG.md | 5 ----- pkgs/string_scanner/CHANGELOG.md | 5 ----- pkgs/term_glyph/CHANGELOG.md | 5 ----- pkgs/test_reflective_loader/CHANGELOG.md | 5 ----- pkgs/timing/CHANGELOG.md | 5 ----- pkgs/unified_analytics/CHANGELOG.md | 5 ----- pkgs/watcher/CHANGELOG.md | 5 ----- pkgs/yaml/CHANGELOG.md | 5 ----- pkgs/yaml_edit/CHANGELOG.md | 5 ----- 41 files changed, 210 deletions(-) diff --git a/pkgs/bazel_worker/CHANGELOG.md b/pkgs/bazel_worker/CHANGELOG.md index 25c9fd432..6c08c517d 100644 --- a/pkgs/bazel_worker/CHANGELOG.md +++ b/pkgs/bazel_worker/CHANGELOG.md @@ -201,8 +201,3 @@ ## 0.1.0 * Initial version. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/benchmark_harness/CHANGELOG.md b/pkgs/benchmark_harness/CHANGELOG.md index 95542f49f..f9afe69ae 100644 --- a/pkgs/benchmark_harness/CHANGELOG.md +++ b/pkgs/benchmark_harness/CHANGELOG.md @@ -53,8 +53,3 @@ for `run` methods which are small themselves. ## 1.0.5 - Updates to support Dart 2. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/boolean_selector/CHANGELOG.md b/pkgs/boolean_selector/CHANGELOG.md index c1be91dcd..f870787fc 100644 --- a/pkgs/boolean_selector/CHANGELOG.md +++ b/pkgs/boolean_selector/CHANGELOG.md @@ -42,8 +42,3 @@ ## 1.0.0 * Initial release. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/browser_launcher/CHANGELOG.md b/pkgs/browser_launcher/CHANGELOG.md index baa98ee30..f37505648 100644 --- a/pkgs/browser_launcher/CHANGELOG.md +++ b/pkgs/browser_launcher/CHANGELOG.md @@ -69,8 +69,3 @@ ## 0.1.0 - initial release - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/cli_config/CHANGELOG.md b/pkgs/cli_config/CHANGELOG.md index 7113b3add..55fcd2d13 100644 --- a/pkgs/cli_config/CHANGELOG.md +++ b/pkgs/cli_config/CHANGELOG.md @@ -20,8 +20,3 @@ ## 0.1.0 - Initial version. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/cli_util/CHANGELOG.md b/pkgs/cli_util/CHANGELOG.md index c421de46a..dc376fb07 100644 --- a/pkgs/cli_util/CHANGELOG.md +++ b/pkgs/cli_util/CHANGELOG.md @@ -107,8 +107,3 @@ ## 0.0.1 - Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/clock/CHANGELOG.md b/pkgs/clock/CHANGELOG.md index 73612a6dc..eb4f9ab95 100644 --- a/pkgs/clock/CHANGELOG.md +++ b/pkgs/clock/CHANGELOG.md @@ -54,8 +54,3 @@ backwards-compatible with the old version of the `clock` package. current time as a `DateTime` instead of its old arguments. * `Clock.now()` is now a method rather than a getter. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/code_builder/CHANGELOG.md b/pkgs/code_builder/CHANGELOG.md index cd3aa4942..e153bd5e3 100644 --- a/pkgs/code_builder/CHANGELOG.md +++ b/pkgs/code_builder/CHANGELOG.md @@ -878,8 +878,3 @@ automatically added to a `LibraryBuilder` for you if you use ## 0.1.0 - Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/coverage/CHANGELOG.md b/pkgs/coverage/CHANGELOG.md index c817e632a..eb1c7c3e0 100644 --- a/pkgs/coverage/CHANGELOG.md +++ b/pkgs/coverage/CHANGELOG.md @@ -545,8 +545,3 @@ 1.9.0, coverage collection is no longer done over the remote debugging port, but via the observatory port emitted on stdout. Backward compatibility with SDKs back to 1.5.x is provided. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/csslib/CHANGELOG.md b/pkgs/csslib/CHANGELOG.md index 4d897bba5..366c3a657 100644 --- a/pkgs/csslib/CHANGELOG.md +++ b/pkgs/csslib/CHANGELOG.md @@ -231,8 +231,3 @@ ## 0.11.0 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/extension_discovery/CHANGELOG.md b/pkgs/extension_discovery/CHANGELOG.md index 134f7c1d3..f35371ea5 100644 --- a/pkgs/extension_discovery/CHANGELOG.md +++ b/pkgs/extension_discovery/CHANGELOG.md @@ -22,8 +22,3 @@ ## 1.0.0 - Initial version. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/file/CHANGELOG.md b/pkgs/file/CHANGELOG.md index 8221c9260..3a3969cad 100644 --- a/pkgs/file/CHANGELOG.md +++ b/pkgs/file/CHANGELOG.md @@ -242,8 +242,3 @@ ## 0.1.0 * Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/file_testing/CHANGELOG.md b/pkgs/file_testing/CHANGELOG.md index faf75ea75..17039ee16 100644 --- a/pkgs/file_testing/CHANGELOG.md +++ b/pkgs/file_testing/CHANGELOG.md @@ -47,8 +47,3 @@ * Moved `package:file/testing.dart` library into a dedicated package so that libraries don't need to take on a transitive dependency on `package:test` in order to use `package:file`. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/glob/CHANGELOG.md b/pkgs/glob/CHANGELOG.md index 0454f2f62..a7ca915bf 100644 --- a/pkgs/glob/CHANGELOG.md +++ b/pkgs/glob/CHANGELOG.md @@ -113,8 +113,3 @@ provides the old methods as extensions, and automatically passes a - Fix several analyzer warnings. - Fix the tests on Windows. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/graphs/CHANGELOG.md b/pkgs/graphs/CHANGELOG.md index e5537c55a..7213b5a22 100644 --- a/pkgs/graphs/CHANGELOG.md +++ b/pkgs/graphs/CHANGELOG.md @@ -75,8 +75,3 @@ - Initial release with an implementation of `stronglyConnectedComponents` and `crawlAsync`. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/html/CHANGELOG.md b/pkgs/html/CHANGELOG.md index d6ace2e2b..17cbb8466 100644 --- a/pkgs/html/CHANGELOG.md +++ b/pkgs/html/CHANGELOG.md @@ -161,8 +161,3 @@ * deprecate Node.$dom_nodeType * added querySelector/querySelectorAll, deprecated query/queryAll. This matches the current APIs in dart:html. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/io/CHANGELOG.md b/pkgs/io/CHANGELOG.md index c546160f0..8c0057f2b 100644 --- a/pkgs/io/CHANGELOG.md +++ b/pkgs/io/CHANGELOG.md @@ -121,8 +121,3 @@ main() { - `ProcessManager` and `Spawn` - `sharedStdIn` and `SharedStdIn` - `ansi.dart` library with support for formatting terminal output - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/json_rpc_2/CHANGELOG.md b/pkgs/json_rpc_2/CHANGELOG.md index 2918940dc..e9bf18430 100644 --- a/pkgs/json_rpc_2/CHANGELOG.md +++ b/pkgs/json_rpc_2/CHANGELOG.md @@ -160,8 +160,3 @@ ## 0.0.2+2 * Fix error response to include data from `RpcException` when not a map. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/markdown/CHANGELOG.md b/pkgs/markdown/CHANGELOG.md index 014207884..88b1236f3 100644 --- a/pkgs/markdown/CHANGELOG.md +++ b/pkgs/markdown/CHANGELOG.md @@ -421,8 +421,3 @@ * Formatted code. * Updated readme. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/mime/CHANGELOG.md b/pkgs/mime/CHANGELOG.md index 79b6e2797..df0d6dcf4 100644 --- a/pkgs/mime/CHANGELOG.md +++ b/pkgs/mime/CHANGELOG.md @@ -194,8 +194,3 @@ Mime types where the default file extension changed: ## 0.9.1 * Handle parsing of MIME multipart content with no parts. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/oauth2/CHANGELOG.md b/pkgs/oauth2/CHANGELOG.md index 706fdb362..e197a7baa 100644 --- a/pkgs/oauth2/CHANGELOG.md +++ b/pkgs/oauth2/CHANGELOG.md @@ -140,8 +140,3 @@ * Expand the dependency on the HTTP package to include 0.10.x. * Add a README file. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/package_config/CHANGELOG.md b/pkgs/package_config/CHANGELOG.md index d3e1024e7..83953a9d1 100644 --- a/pkgs/package_config/CHANGELOG.md +++ b/pkgs/package_config/CHANGELOG.md @@ -135,8 +135,3 @@ ## 0.1.0 - Initial implementation. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/pool/CHANGELOG.md b/pkgs/pool/CHANGELOG.md index 75930016f..d7ab9abed 100644 --- a/pkgs/pool/CHANGELOG.md +++ b/pkgs/pool/CHANGELOG.md @@ -103,8 +103,3 @@ ## 1.0.1 * A `TimeoutException` is now correctly thrown if the pool detects a deadlock. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/process/CHANGELOG.md b/pkgs/process/CHANGELOG.md index f53caf2f7..311d021de 100644 --- a/pkgs/process/CHANGELOG.md +++ b/pkgs/process/CHANGELOG.md @@ -212,8 +212,3 @@ begin otherwise, the file name is ambiguous on Windows. ## 1.0.0 * Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/pub_semver/CHANGELOG.md b/pkgs/pub_semver/CHANGELOG.md index 6d0623d76..8689e4acd 100644 --- a/pkgs/pub_semver/CHANGELOG.md +++ b/pkgs/pub_semver/CHANGELOG.md @@ -185,8 +185,3 @@ ## 1.0.0 * Initial release. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/pubspec_parse/CHANGELOG.md b/pkgs/pubspec_parse/CHANGELOG.md index ac4adb289..31b30456b 100644 --- a/pkgs/pubspec_parse/CHANGELOG.md +++ b/pkgs/pubspec_parse/CHANGELOG.md @@ -112,13 +112,3 @@ ## 0.1.0 - Initial release. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/source_map_stack_trace/CHANGELOG.md b/pkgs/source_map_stack_trace/CHANGELOG.md index 85142f391..00c66d9cc 100644 --- a/pkgs/source_map_stack_trace/CHANGELOG.md +++ b/pkgs/source_map_stack_trace/CHANGELOG.md @@ -80,8 +80,3 @@ ## 1.0.0 * Initial release. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/source_maps/CHANGELOG.md b/pkgs/source_maps/CHANGELOG.md index 382f8c370..ad79d389f 100644 --- a/pkgs/source_maps/CHANGELOG.md +++ b/pkgs/source_maps/CHANGELOG.md @@ -135,8 +135,3 @@ * Support unmapped areas in source maps. * Increase the readability of location messages. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/source_span/CHANGELOG.md b/pkgs/source_span/CHANGELOG.md index faea4dc72..b8319d773 100644 --- a/pkgs/source_span/CHANGELOG.md +++ b/pkgs/source_span/CHANGELOG.md @@ -238,8 +238,3 @@ API has many differences. Among them: * `SourceFileSegment` has been removed. This class wasn't widely used and was inconsistent in its choice of which parameters were considered relative and which absolute. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/sse/CHANGELOG.md b/pkgs/sse/CHANGELOG.md index 86414eb17..8e39124ed 100644 --- a/pkgs/sse/CHANGELOG.md +++ b/pkgs/sse/CHANGELOG.md @@ -180,8 +180,3 @@ the client.** ## 0.0.1 - Initial commit. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/stack_trace/CHANGELOG.md b/pkgs/stack_trace/CHANGELOG.md index 94de352ad..fb1e402db 100644 --- a/pkgs/stack_trace/CHANGELOG.md +++ b/pkgs/stack_trace/CHANGELOG.md @@ -365,8 +365,3 @@ * Add a `Chain.foldFrames` method that parallels `Trace.foldFrames`. * Record anonymous method frames in IE10 as "". - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/stream_channel/CHANGELOG.md b/pkgs/stream_channel/CHANGELOG.md index 5460e818b..9dd3990ec 100644 --- a/pkgs/stream_channel/CHANGELOG.md +++ b/pkgs/stream_channel/CHANGELOG.md @@ -160,8 +160,3 @@ ## 1.0.0 * Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/stream_transform/CHANGELOG.md b/pkgs/stream_transform/CHANGELOG.md index ea52db95d..b09778b07 100644 --- a/pkgs/stream_transform/CHANGELOG.md +++ b/pkgs/stream_transform/CHANGELOG.md @@ -187,8 +187,3 @@ - `buffer`: Collects events in a `List` until a `trigger` stream fires. - `debounce`, `debounceBuffer`: Collect or drop events which occur closer in time than a given duration. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/string_scanner/CHANGELOG.md b/pkgs/string_scanner/CHANGELOG.md index 85a6a70d9..082e9f201 100644 --- a/pkgs/string_scanner/CHANGELOG.md +++ b/pkgs/string_scanner/CHANGELOG.md @@ -173,8 +173,3 @@ than 1.0.0. For example, `string_scanner: ">=0.1.5 <2.0.0"`. [source map][] `Span` objects. [source_map]: https://pub.dev/packages/source_maps - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/term_glyph/CHANGELOG.md b/pkgs/term_glyph/CHANGELOG.md index cae280e93..bf8eb791c 100644 --- a/pkgs/term_glyph/CHANGELOG.md +++ b/pkgs/term_glyph/CHANGELOG.md @@ -31,8 +31,3 @@ ## 1.0.0 * Initial version. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/test_reflective_loader/CHANGELOG.md b/pkgs/test_reflective_loader/CHANGELOG.md index 149b43d48..682011349 100644 --- a/pkgs/test_reflective_loader/CHANGELOG.md +++ b/pkgs/test_reflective_loader/CHANGELOG.md @@ -89,8 +89,3 @@ ## 0.0.1 - Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/timing/CHANGELOG.md b/pkgs/timing/CHANGELOG.md index 63bfc9694..8cdb8eadc 100644 --- a/pkgs/timing/CHANGELOG.md +++ b/pkgs/timing/CHANGELOG.md @@ -32,8 +32,3 @@ ## 0.1.0 - Initial release - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/unified_analytics/CHANGELOG.md b/pkgs/unified_analytics/CHANGELOG.md index bf86eaa98..e4d0daf24 100644 --- a/pkgs/unified_analytics/CHANGELOG.md +++ b/pkgs/unified_analytics/CHANGELOG.md @@ -234,8 +234,3 @@ from the `Event.devtoolsEvent` constructor. ## 0.1.0 - Initial version - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/watcher/CHANGELOG.md b/pkgs/watcher/CHANGELOG.md index 3849896d7..b52fe831b 100644 --- a/pkgs/watcher/CHANGELOG.md +++ b/pkgs/watcher/CHANGELOG.md @@ -220,8 +220,3 @@ * Simplified `PollingDirectoryWatcher`. * Fixed bugs in `MacOSDirectoryWatcher` - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/yaml/CHANGELOG.md b/pkgs/yaml/CHANGELOG.md index 6a4a0867c..3f9d3fd22 100644 --- a/pkgs/yaml/CHANGELOG.md +++ b/pkgs/yaml/CHANGELOG.md @@ -197,8 +197,3 @@ * The `YamlMap` class is deprecated. In a future version, maps returned by `loadYaml` and `loadYamlStream` will be Dart `HashMap`s with a custom equality operation. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - diff --git a/pkgs/yaml_edit/CHANGELOG.md b/pkgs/yaml_edit/CHANGELOG.md index 5b07741c0..8794b7b86 100644 --- a/pkgs/yaml_edit/CHANGELOG.md +++ b/pkgs/yaml_edit/CHANGELOG.md @@ -98,8 +98,3 @@ ## 1.0.0 - Initial release. - -## 1.0.0-next - -- Replaced deprecated `pub run` with `dart run` in documentation. - From 6aff0452d7daa1b1dd607c0499b495103267cef2 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Fri, 23 Jan 2026 11:08:50 +0000 Subject: [PATCH 5/5] doc: replace pub run with dart run and dart test --- .github/workflows/file.yaml | 2 +- pkgs/coverage/test/test_files/main_test.js | 2 +- pkgs/coverage/test/test_with_coverage_test.dart | 4 ++-- pkgs/markdown/benchmark/input.md | 6 +++--- pkgs/markdown/benchmark/output.html | 10 +++++----- pkgs/yaml_edit/README.md | 2 +- pkgs/yaml_edit/test/testdata/README.md | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/file.yaml b/.github/workflows/file.yaml index c8479bd89..6adcf15f4 100644 --- a/.github/workflows/file.yaml +++ b/.github/workflows/file.yaml @@ -51,4 +51,4 @@ jobs: sdk: ${{ matrix.sdk }} - run: dart pub get - - run: dart run test -j1 + - run: dart test -j1 diff --git a/pkgs/coverage/test/test_files/main_test.js b/pkgs/coverage/test/test_files/main_test.js index 0d3cefcfd..4c4fb3e1d 100644 --- a/pkgs/coverage/test/test_files/main_test.js +++ b/pkgs/coverage/test/test_files/main_test.js @@ -23307,7 +23307,7 @@ zone.run$1$1(new U.Invoker__handleError_closure0(_this), type$.void); t2 = _this._invoker$_controller._liveTest._live_test_controller$_controller; if (t2._test.metadata._chainStackTraces === false) - C.JSArray_methods.add$1(_this._printsOnFailure, "Consider enabling the flag chain-stack-traces to receive more detailed exceptions.\nFor example, 'dart run test --chain-stack-traces'."); + C.JSArray_methods.add$1(_this._printsOnFailure, "Consider enabling the flag chain-stack-traces to receive more detailed exceptions.\nFor example, 'pub run test --chain-stack-traces'."); t2 = _this._printsOnFailure; if (t2.length !== 0) { P.print(C.JSArray_methods.join$1(t2, "\n\n")); diff --git a/pkgs/coverage/test/test_with_coverage_test.dart b/pkgs/coverage/test/test_with_coverage_test.dart index 364510b4f..d27debea3 100644 --- a/pkgs/coverage/test/test_with_coverage_test.dart +++ b/pkgs/coverage/test/test_with_coverage_test.dart @@ -117,11 +117,11 @@ dependency_overrides: test('dart pub global run coverage:test_with_coverage', () async { final globalPub = - await _run(['pub', 'global', 'activate', '-s', 'path', _pkgDir]); + await _run(['dart', 'pub', 'global', 'activate', '-s', 'path', _pkgDir]); await globalPub.shouldExit(0); await _runTest( - ['pub', 'global', 'run', 'coverage:test_with_coverage'], + ['dart', 'pub', 'global', 'run', 'coverage:test_with_coverage'], ); }); diff --git a/pkgs/markdown/benchmark/input.md b/pkgs/markdown/benchmark/input.md index 2dd9df52a..827a3b99d 100644 --- a/pkgs/markdown/benchmark/input.md +++ b/pkgs/markdown/benchmark/input.md @@ -85,9 +85,9 @@ void main() { ## Running Tests -A single test file can be run just using `dart run test path/to/test.dart`. +A single test file can be run just using `dart test path/to/test.dart`. -Many tests can be run at a time using `dart run test path/to/dir`. +Many tests can be run at a time using `dart test path/to/dir`. It's also possible to run a test on the Dart VM only by invoking it using `dart path/to/test.dart`, but this doesn't load the full test runner and will be @@ -98,7 +98,7 @@ file. If you don't pass any paths, it will run all the test files in your `test/` directory, making it easy to test your entire application at once. By default, tests are run in the Dart VM, but you can run them in the browser as -well by passing `dart run test -p chrome path/to/test.dart`. +well by passing `dart test -p chrome path/to/test.dart`. `test` will take care of starting the browser and loading the tests, and all the results will be reported on the command line just like for VM tests. In fact, you can even run tests on both platforms with a single command: `dart run diff --git a/pkgs/markdown/benchmark/output.html b/pkgs/markdown/benchmark/output.html index 200e4bd22..3ee3a19d3 100644 --- a/pkgs/markdown/benchmark/output.html +++ b/pkgs/markdown/benchmark/output.html @@ -64,10 +64,10 @@

Real-world sample

}

Running Tests

-

A single test file can be run just using pub run test:test path/to/test.dart -(on Dart 1.10, this can be shortened to pub run test path/to/test.dart).

+

A single test file can be run just using dart test:test path/to/test.dart +(on Dart 1.10, this can be shortened to dart test path/to/test.dart).

Single file being run via pub run"

-

Many tests can be run at a time using pub run test:test path/to/dir.

+

Many tests can be run at a time using dart test:test path/to/dir.

Directory being run via "pub run".

It's also possible to run a test on the Dart VM only by invoking it using dart path/to/test.dart, but this doesn't load the full test runner and will be missing some features.

@@ -75,10 +75,10 @@

Running Tests

file. If you don't pass any paths, it will run all the test files in your test/ directory, making it easy to test your entire application at once.

By default, tests are run in the Dart VM, but you can run them in the browser as -well by passing pub run test:test -p chrome path/to/test.dart. +well by passing dart test:test -p chrome path/to/test.dart. test will take care of starting the browser and loading the tests, and all the results will be reported on the command line just like for VM tests. In -fact, you can even run tests on both platforms with a single command: pub run test:test -p "chrome,vm" path/to/test.dart.

+fact, you can even run tests on both platforms with a single command: dart test:test -p "chrome,vm" path/to/test.dart.

Restricting Tests to Certain Platforms

Some test files only make sense to run on particular platforms. They may use dart:html or dart:io, they might test Windows' particular filesystem diff --git a/pkgs/yaml_edit/README.md b/pkgs/yaml_edit/README.md index 5db643e81..3727399eb 100644 --- a/pkgs/yaml_edit/README.md +++ b/pkgs/yaml_edit/README.md @@ -53,7 +53,7 @@ Testing is done in two strategies: Unit testing (`/test/editor_test.dart`) and Golden testing (`/test/golden_test.dart`). More information on Golden testing and the input/output format can be found at `/test/testdata/README.md`. -These tests are automatically run with `dart run test`. +These tests are automatically run with `dart test`. ## Limitations diff --git a/pkgs/yaml_edit/test/testdata/README.md b/pkgs/yaml_edit/test/testdata/README.md index 224ba1e25..c04a66447 100644 --- a/pkgs/yaml_edit/test/testdata/README.md +++ b/pkgs/yaml_edit/test/testdata/README.md @@ -15,8 +15,8 @@ When the tests are run (see [Running Tests](#Running-Tests)), the series of spec ## Running Tests -By default, golden testing is performed with `dart run test`. If we only wanted to -performed golden testing, simply do: `dart run test test/golden_test.dart`. +By default, golden testing is performed with `dart test`. If we only wanted to +performed golden testing, simply do: `dart test test/golden_test.dart`. ## Input Format