Skip to content

Commit 595f876

Browse files
authored
[dwds] Cleanup unused null safety related fields (#2660)
* [dwds] Cleanup unused and deprecated members - Fields related to null safety modes. - Deprecated method parameter `injectDebuggingSupportCode`.
1 parent b43030e commit 595f876

24 files changed

+256
-579
lines changed

dwds/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
## 24.4.2-wip
1+
## 25.0.0-wip
22

33
- Implemented hot restart over websockets with multi window support.
44
- Fix refresh race condition bug by adding an isolate destruction grace period.
55
- Update a call to the `package:shelf_web_socket` `webSocketHandler()` function.
6+
- Remove deprecated parameter `injectDebuggingSupportCode` from `Dwds.start()`.
7+
- Remove all deprecated fields, getters, and parameters
8+
related to the null safety compilation mode. Dart 3 only
9+
supports [sound null safety](https://dart.dev/null-safety).
610

711
## 24.4.1
812

dwds/lib/dart_web_debug_service.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ class Dwds {
7474
required Stream<BuildResult> buildResults,
7575
required ConnectionProvider chromeConnection,
7676
required ToolConfiguration toolConfiguration,
77-
// ignore: avoid-unused-parameters
78-
@Deprecated(
79-
'This parameter is ignored and will be removed in a future version.',
80-
)
81-
bool injectDebuggingSupportCode = true,
8277
bool useDwdsWebSocketConnection = false,
8378
}) async {
8479
globalToolConfiguration = toolConfiguration;

dwds/lib/data/build_result.g.dart

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

dwds/lib/data/connect_request.g.dart

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

dwds/lib/data/debug_event.g.dart

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

dwds/lib/data/debug_info.g.dart

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

0 commit comments

Comments
 (0)