|
| 1 | +--- |
| 2 | +title: v3.122 |
| 3 | +sort_order: v0003_0122 |
| 4 | +excerpt: "Improved Flutter warnings, new test tracking, improved pub command execution, ..." |
| 5 | +--- |
| 6 | + |
| 7 | +# v3.122.0 _2025-10-30_ |
| 8 | + |
| 9 | +## Flutter |
| 10 | + |
| 11 | +- [#5749](https://github.com/Dart-Code/Dart-Code/issues/5749): Important Flutter app warnings emitted by the Flutter tool are now surfaced directly as VS Code warning toast notifications. |
| 12 | +- [#5744](https://github.com/Dart-Code/Dart-Code/issues/5744): The Flutter Widget Preview sidebar icon now appears after extension activation instead of only after the widget preview server initialises. |
| 13 | + |
| 14 | +## Commands |
| 15 | + |
| 16 | +- [#5549](https://github.com/Dart-Code/Dart-Code/issues/5549)[#5760](https://github.com/Dart-Code/Dart-Code/issues/5760): The **Pub Get** command now refreshes timestamps of both `pubspec.lock` and `package_config.json` preventing false notifcations that the command needs running again when opening a project. |
| 17 | +- [#5740](https://github.com/Dart-Code/Dart-Code/issues/5740)/[#5746](https://github.com/Dart-Code/Dart-Code/issues/5746): Progress notifications when running the **Pub Get** command for multiple packages in a batch are now combined into a single notification that updates with the package names, instead of flickering individual notifications. |
| 18 | +- [#5745](https://github.com/Dart-Code/Dart-Code/issues/5745)/[#5746](https://github.com/Dart-Code/Dart-Code/issues/5746): When the **Pub Get** command is being run for multiple packages in a batch, a single cancellation will cancel the entire batch instead of only the current project. |
| 19 | + |
| 20 | +## AI |
| 21 | + |
| 22 | +- [#5733](https://github.com/Dart-Code/Dart-Code/issues/5733): Registration of the MCP server no longer forces the Dart extension to eargerly activate in non-Dart workspaces. |
| 23 | +- [#5767](https://github.com/Dart-Code/Dart-Code/issues/5767): When running inside Cursor (which [does not support automatic MCP registration](https://forum.cursor.com/t/support-vs-codes-register-mcp-server-definition-provider-api/133031)), a prompt is shown to help install the Dart MCP Server explicitly. |
| 24 | + |
| 25 | +## Testing |
| 26 | + |
| 27 | +- [#5620](https://github.com/Dart-Code/Dart-Code/issues/5620): The `dart.suppressTimeouts` setting now works correctly when used inside Pub Workspaces. |
| 28 | +- [#5763](https://github.com/Dart-Code/Dart-Code/issues/5763): The `dart.suppressTimeouts` setting now defaults to `debug`, which prevents test timeouts from firing when running in Debug mode. |
| 29 | +- [#5668](https://github.com/Dart-Code/Dart-Code/issues/5668): The new test location tracking is now enabled by default and should improve the locations in the test explorer and gutter icons when using packages like `test_reflective_loader` that register tests dynamically. |
| 30 | +- [#5738](https://github.com/Dart-Code/Dart-Code/issues/5738): The new test location tracking now monitors groups in addition to tests to ensure group nodes also stay in-sync in the test explorer/gutter. |
| 31 | +- [#5734](https://github.com/Dart-Code/Dart-Code/issues/5734): The new test location tracking no longer causes test locations to snap back to previous locations during edits. |
| 32 | + |
| 33 | +## Misc |
| 34 | + |
| 35 | +- [#5747](https://github.com/Dart-Code/Dart-Code/issues/5747): Issue templates on GitHub have been updated to make it clearer that the Dart-Code issue tracker is used for both the Dart and Flutter extensions. |
| 36 | +- [#5648](https://github.com/Dart-Code/Dart-Code/issues/5648): E2E tests have been expanded to include testing of the new Widget Preview. |
| 37 | + |
| 38 | +## Features/Fixes Enabled with Future SDKs |
| 39 | + |
| 40 | +The following items depend on changes to the Dart/Flutter SDKs that have not yet been released to stable channels. They may be available to test in the current beta/master channels and will show up in future SDK releases. |
| 41 | + |
| 42 | +- [#5717](https://github.com/Dart-Code/Dart-Code/issues/5717): The Flutter Widget Preview will no longer require an experiment flag to appear (this currently applies to the latest beta, and will apply to the next stable). |
| 43 | +- [#5759](https://github.com/Dart-Code/Dart-Code/issues/5759): Exceptions shown in the Watch window once again show only the relevant part of the error message instead of prefixes like "Unhandled exception:" |
| 44 | +- [#5761](https://github.com/Dart-Code/Dart-Code/issues/5761): Changes to `package:reflective_test_loader` prevent `@FailingTest()` from causing timeouts if the test passes unexpectedly. |
| 45 | +- [#5750](https://github.com/Dart-Code/Dart-Code/issues/5750): Nested folding ranges that end on the same line are no longer incorrectly truncated. |
| 46 | +- [#5730](https://github.com/Dart-Code/Dart-Code/issues/5730): When using WiFi debugging wioth versions of iOS known to be slow, a warning will be shown. |
| 47 | +- [#5724](https://github.com/Dart-Code/Dart-Code/issues/5724): The `--timeline_streams` flag will be automatically set when debugging Dart applications so that the same events show up in the DevTools Performance as for Flutter apps. |
| 48 | + |
0 commit comments