Skip to content

Commit a4a7608

Browse files
Merge branch 'master' into fix/network-hot-restart
2 parents 043132a + e5134ff commit a4a7608

17 files changed

Lines changed: 72 additions & 79 deletions

File tree

flutter-candidate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f3a4b989783497d9c904b7f0363886248c9175e4
1+
3648ed5372a7baa2941539b457a3c804ca0afd86

packages/devtools_app/lib/devtools.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
/// Note: a regexp in the `dt update-version' command logic matches the constant
1111
/// declaration `const version =`. If you change the declaration you must also
1212
/// modify the regex in the `dt update-version' command logic.
13-
const version = '2.59.0-dev.0';
13+
const version = '2.60.0-dev.0';

packages/devtools_app/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ publish_to: none
77

88
# Note: this version should only be updated by running the 'dt update-version'
99
# command that updates the version here and in 'devtools.dart'.
10-
version: 2.59.0-dev.0
10+
version: 2.60.0-dev.0
1111

1212
repository: https://github.com/flutter/devtools/tree/master/packages/devtools_app
1313

1414
environment:
15-
sdk: ">=3.8.0-265.0.dev <4.0.0"
16-
flutter: ">=3.32.0-1.0.pre.73"
15+
sdk: ^3.11.0
16+
flutter: ^3.41.0
1717

1818
resolution: workspace
1919

packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens
66
This is a draft for future release notes that are going to land on
77
[the Flutter website](https://docs.flutter.dev/tools/devtools/release-notes).
88

9-
# DevTools 2.59.0 release notes
9+
# DevTools 2.60.0 release notes
1010

11-
The 2.59.0 release of the Dart and Flutter DevTools
11+
The 2.60.0 release of the Dart and Flutter DevTools
1212
includes the following changes among other general improvements.
1313
To learn more about DevTools, check out the
1414
[DevTools overview](/tools/devtools).
1515

1616
## General updates
1717

18-
* Fixed a `RangeError` thrown by `SplitPane` when the parent rebuilt the
19-
widget with a different number of children, for example when toggling a
20-
panel in or out of the layout. -
21-
[#9822](https://github.com/flutter/devtools/pull/9822)
18+
TODO: Remove this section if there are not any updates.
2219

2320
## Inspector updates
2421

25-
- Fixed an issue where hover tooltips in the widget tree were being clipped by the window boundaries. [#9823](https://github.com/flutter/devtools/pull/9823)
22+
TODO: Remove this section if there are not any updates.
2623

2724
## Performance updates
2825

@@ -79,4 +76,4 @@ TODO: Remove this section if there are not any updates.
7976
## Full commit history
8077

8178
To find a complete list of changes in this release, check out the
82-
[DevTools git log](https://github.com/flutter/devtools/tree/v2.59.0).
79+
[DevTools git log](https://github.com/flutter/devtools/tree/v2.60.0).

packages/devtools_app_shared/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens
88
changes between rebuilds.
99
* Add `IsolateManager.onIsolateCreated` stream for detecting when new isolates
1010
are spawned.
11+
* The minimum Dart SDK version is bumped to 3.11.0.
12+
* The minimum Flutter SDK version is bumped to 3.41.0.
1113

1214
## 0.5.1
1315
* Add DevTools-styled text field `DevToolsTextField`.

packages/devtools_app_shared/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ version: 0.5.2-wip
77
repository: https://github.com/flutter/devtools/tree/master/packages/devtools_app_shared
88

99
environment:
10-
sdk: ">=3.6.0 <4.0.0"
11-
flutter: ">=3.27.1"
10+
sdk: ^3.11.0
11+
flutter: ^3.41.0
1212

1313
resolution: workspace
1414

packages/devtools_extensions/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Copyright 2025 The Flutter Authors
33
Use of this source code is governed by a BSD-style license that can be
44
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
55
-->
6+
## 0.5.2-wip
7+
* The minimum Dart SDK version is bumped to 3.11.0.
8+
* The minimum Flutter SDK version is bumped to 3.41.0.
9+
610
## 0.5.1
711
* Updates `devtools_app_shared` constraint to `^0.5.1`.
812
* Updates `devtools_shared` constraint to `^13.0.0`.

packages/devtools_extensions/lib/src/api/model.dart

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ import 'api.dart';
1010
/// See [DevToolsExtensionEventType] for different types of events that are
1111
/// supported over this communication channel.
1212
class DevToolsExtensionEvent {
13-
DevToolsExtensionEvent(
14-
this.type, {
15-
this.data,
16-
this.source,
17-
});
13+
DevToolsExtensionEvent(this.type, {this.data, this.source});
1814

1915
factory DevToolsExtensionEvent.parse(Map<String, Object?> json) {
20-
final eventType =
21-
DevToolsExtensionEventType.from(json[_typeKey]! as String);
16+
final eventType = DevToolsExtensionEventType.from(
17+
json[_typeKey]! as String,
18+
);
2219
final data = (json[_dataKey] as Map?)?.cast<String, Object?>();
2320
final source = json[sourceKey] as String?;
2421
return DevToolsExtensionEvent(eventType, data: data, source: source);
@@ -44,10 +41,7 @@ class DevToolsExtensionEvent {
4441
final String? source;
4542

4643
Map<String, Object?> toJson() {
47-
return {
48-
_typeKey: type.name,
49-
if (data != null) _dataKey: data!,
50-
};
44+
return {_typeKey: type.name, _dataKey: ?data};
5145
}
5246

5347
@override
@@ -65,10 +59,10 @@ typedef ExtensionEventHandler = void Function(DevToolsExtensionEvent event);
6559
/// notification the the DevTools notification framework.
6660
class ShowNotificationExtensionEvent extends DevToolsExtensionEvent {
6761
ShowNotificationExtensionEvent({required String message})
68-
: super(
69-
DevToolsExtensionEventType.showNotification,
70-
data: {_messageKey: message},
71-
);
62+
: super(
63+
DevToolsExtensionEventType.showNotification,
64+
data: {_messageKey: message},
65+
);
7266

7367
factory ShowNotificationExtensionEvent.from(DevToolsExtensionEvent event) {
7468
assert(event.type == DevToolsExtensionEventType.showNotification);
@@ -93,18 +87,18 @@ class ShowBannerMessageExtensionEvent extends DevToolsExtensionEvent {
9387
required String extensionName,
9488
bool ignoreIfAlreadyDismissed = true,
9589
bool dismissOnConnectionChanges = true,
96-
}) : assert(bannerMessageType == 'warning' || bannerMessageType == 'error'),
97-
super(
98-
DevToolsExtensionEventType.showBannerMessage,
99-
data: {
100-
_idKey: id,
101-
_bannerMessageTypeKey: bannerMessageType,
102-
_messageKey: message,
103-
_extensionNameKey: extensionName,
104-
_ignoreIfAlreadyDismissedKey: ignoreIfAlreadyDismissed,
105-
_dismissOnConnectionChangesKey: dismissOnConnectionChanges,
106-
},
107-
);
90+
}) : assert(bannerMessageType == 'warning' || bannerMessageType == 'error'),
91+
super(
92+
DevToolsExtensionEventType.showBannerMessage,
93+
data: {
94+
_idKey: id,
95+
_bannerMessageTypeKey: bannerMessageType,
96+
_messageKey: message,
97+
_extensionNameKey: extensionName,
98+
_ignoreIfAlreadyDismissedKey: ignoreIfAlreadyDismissed,
99+
_dismissOnConnectionChangesKey: dismissOnConnectionChanges,
100+
},
101+
);
108102

109103
factory ShowBannerMessageExtensionEvent.from(DevToolsExtensionEvent event) {
110104
assert(event.type == DevToolsExtensionEventType.showBannerMessage);
@@ -154,12 +148,9 @@ class CopyToClipboardExtensionEvent extends DevToolsExtensionEvent {
154148
required String content,
155149
String successMessage = defaultSuccessMessage,
156150
}) : super(
157-
DevToolsExtensionEventType.copyToClipboard,
158-
data: {
159-
_contentKey: content,
160-
_successMessageKey: successMessage,
161-
},
162-
);
151+
DevToolsExtensionEventType.copyToClipboard,
152+
data: {_contentKey: content, _successMessageKey: successMessage},
153+
);
163154

164155
factory CopyToClipboardExtensionEvent.from(DevToolsExtensionEvent event) {
165156
assert(event.type == DevToolsExtensionEventType.copyToClipboard);

packages/devtools_extensions/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
44
name: devtools_extensions
55
description: A package for building and supporting extensions for Dart DevTools.
6-
version: 0.5.1
6+
version: 0.5.2-wip
77

88
repository: https://github.com/flutter/devtools/tree/master/packages/devtools_extensions
99

1010
environment:
11-
sdk: ">=3.6.0 <4.0.0"
12-
flutter: ">=3.27.1"
11+
sdk: ^3.11.0
12+
flutter: ^3.41.0
1313

1414
resolution: workspace
1515

packages/devtools_shared/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Copyright 2025 The Flutter Authors
33
Use of this source code is governed by a BSD-style license that can be
44
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
55
-->
6+
# 13.0.2-wip
7+
* The minimum Dart SDK version is bumped to 3.11.0.
8+
* The minimum Flutter SDK version is bumped to 3.41.0.
9+
610
# 13.0.1
711
* Handle null values for `FlutterStore.flutterClientId`.
812

0 commit comments

Comments
 (0)