Skip to content

Commit ce0079c

Browse files
committed
[ DWDS ] Serve DevTools from DDS by default
In order to reduce the number of ways DevTools is served across the ecosystem, we're working on serving DevTools from DDS by default in all tools that spawn DDS. This change exposes some new DDS related configuration options that allow for specifying whether or not DevTools should be served via DDS and whether or not an existing DevTools server should be used. The `devToolsLauncher` parameter has been marked as deprecated as it will be removed in a future major release, but will continue to act as the default way to launch DevTools if it is provided. Other DDS related properties that have been merged into the new `DartDevelopmentServiceConfiguration` class are also marked as deprecated.
1 parent a7d3d2f commit ce0079c

26 files changed

+449
-414
lines changed

dwds/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 25.1.0
2+
3+
- Added `DartDevelopmentServiceConfiguration` to allow for configuring DDS behavior.
4+
- Added support for serving DevTools via DDS. This will become the sole method of serving
5+
DevTools from DWDS in a future major release.
6+
- Deprecated `spawnDds`, `ddsPort`, and `devToolsLauncher` properties in `DebugSettings`.
7+
- Added `ddsConfiguration` to `DebugSettings`.
8+
19
## 25.0.4
210

311
### Bug Fixes:

dwds/debug_extension/tool/build_extension.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import 'package:path/path.dart' as p;
2020
const _prodFlag = 'prod';
2121

2222
void main(List<String> arguments) async {
23-
final parser =
24-
ArgParser()..addFlag(_prodFlag, negatable: true, defaultsTo: false);
23+
final parser = ArgParser()
24+
..addFlag(_prodFlag, negatable: true, defaultsTo: false);
2525
final argResults = parser.parse(arguments);
2626

2727
exitCode = await run(isProd: argResults[_prodFlag] as bool);
@@ -41,6 +41,7 @@ Future<int> run({required bool isProd}) async {
4141
'--output',
4242
'build',
4343
'--release',
44+
'--delete-conflicting-outputs'
4445
]);
4546
final compileExitCode = await _handleProcess(compileStep);
4647
// Terminate early if compilation failed:

dwds/debug_extension/web/data_serializers.g.dart

Lines changed: 15 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)