Skip to content

Commit 6ec171b

Browse files
authored
[DWDS] prepare for 24.4.0+1 hotfix release (#2674)
The native VM service disconnects all non-DDS clients when DDS connects in order to keep state consistent. DWDS was never configured to work this way and, instead, would not let DDS connect if there were already existing clients. This is fine most of the time, as DDS is typically the first client, but in cases where multiple DDS instances attempt to start at once (e.g., a simultaneous `flutter run` and `flutter attach`), this inconsistency prevents tools from falling back to using an already connected DDS instance, as seen in flutter/flutter#171758. Fixes #2399
1 parent b61423d commit 6ec171b

File tree

7 files changed

+1399
-979
lines changed

7 files changed

+1399
-979
lines changed

dwds/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 24.4.0+1
2+
3+
### Bug Fixes:
4+
5+
- Fix issue where DDS would fail to initialize if DWDS already had existing
6+
clients.
7+
18
## 24.4.0
29

310
- Added support for breakpoint registering on a hot reload with the DDC library bundle format using PausePostRequests.
@@ -42,6 +49,7 @@
4249
libraries instead of assuming it exists in the global `window`.
4350

4451
## 24.3.5
52+
4553
- Allow clients to specify the `packageConfigPath` in `LoadStrategy` class and associated providers.
4654

4755
## 24.3.4
@@ -126,7 +134,7 @@
126134

127135
## 23.1.1
128136

129-
- Loosen `package:vm_service` constraints to allow `>=13.0.0 <15.0.0`. - [#2329](https://github.com/dart-lang/webdev/pull/2329)
137+
- Loosen `package:vm_service` constraints to allow `>=13.0.0 <15.0.0`. - [#2329](https://github.com/dart-lang/webdev/pull/2329)
130138

131139
## 23.1.0
132140

0 commit comments

Comments
 (0)