Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/devtools_app_shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens
* Fix `RootInfo.package` to be `null` when the root library is not a `package:` URI,
such as the `file:` URI of a Dart CLI app started with `dart run`. Previously it
was the scheme of the URI, such as `file:`, which is not a package.
* Updates `devtools_shared` constraint to `^14.0.1`.
* Updates `devtools_shared` constraint to `^15.0.0`.
* Deprecate `ServiceManager.connectedAppPackageRoot` in favor of
`VmService.rootPackageDirectoryForMainIsolate` from `devtools_shared`.

Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_app_shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resolution: workspace
dependencies:
collection: ^1.15.0
dds_service_extensions: ^2.0.0
devtools_shared: ^14.0.1
devtools_shared: ^15.0.0
dtd: ^4.0.0
flutter:
sdk: flutter
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_extensions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens
dropping messages from untrusted origins or unexpected window sources.
* The minimum Dart SDK version is bumped to 3.11.0.
* The minimum Flutter SDK version is bumped to 3.41.0.
* Updates `devtools_shared` constraint to `^14.0.1`.
* Updates `devtools_shared` constraint to `^15.0.0`.
* Add validation for `pubspec.yaml` existence and valid characters in the `config.yaml` `name` field to the `validate` command.
* Remove the deprecated `--pwa-strategy` flag from the `build_and_copy` command.

Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_extensions/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ executables:

dependencies:
args: ^2.4.2
devtools_shared: ^14.0.1
devtools_shared: ^15.0.0
devtools_app_shared: ^0.5.1
flutter:
sdk: flutter
Expand Down
32 changes: 18 additions & 14 deletions packages/devtools_shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,26 @@ Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# 14.0.1

* Track providing package name for DevTools extensions to isolate extension enablement,
deduplication, and asset loading.
* Validated `DevToolsExtensionConfig.version` as a semantic version and used a collision-free
delimiter in `DevToolsExtensionConfig.identifier`.
# 15.0.0

* **Breaking change:** Require `POST` (with `devToolsRequestHeader`) or `OPTIONS`
CORS preflight requests and validate `Host`, `Origin`, and `Sec-Fetch-Site`
headers in `ServerApi.handle` to prevent cross-site and DNS rebinding requests,
with optional `disableOriginCheck` and `allowedOrigins` parameters.
* **Breaking change:** Restrict `normalizeVmServiceUri` to allowed VM service
schemes (`http`, `https`, `ws`, `wss`, `sse`, `sses`) and loopback hosts
(`localhost`, `127.0.0.0/8`, `::1`).
* **Breaking change:** Track providing package name for DevTools extensions
(requiring `packageName` in `DevToolsExtensionConfig.parse`) to isolate
extension enablement, deduplication, and asset loading.
* **Breaking change:** Validate `DevToolsExtensionConfig.version` as a semantic
version and use a collision-free delimiter in
`DevToolsExtensionConfig.identifier`.
* Validate `rootPath`, `buildVariant`, `configuration`, and `target` parameters in
`DeeplinkManager`.
* Add `UniversalLinkSettings.fromErrorJson`, `UniversalLinkSettings.error`, and
`UniversalLinkSettings.error` getter to surface iOS universal link settings errors.
* Add `UniversalLinkSettings.fromErrorJson` and `UniversalLinkSettings.error`
factory constructors, and the `UniversalLinkSettings.error` getter, to surface
iOS universal link settings errors.
* `DeeplinkManager` now builds the environment for the `flutter` processes it
starts with `getEnvironment()` from `package:unified_analytics`, so
`DASH__TOOL` passes on this process's root tool. A known `ide` still overrides
Expand All @@ -21,10 +31,6 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens
`DASH__SUPPRESS_ANALYTICS=true` is now passed on instead of being reset to
`false`.
* Require `package:unified_analytics` `^8.4.0`.
* Require `POST` (with `devToolsRequestHeader`) or `OPTIONS` CORS preflight
requests and validate `Host`, `Origin`, and `Sec-Fetch-Site` headers in
`ServerApi.handle` to prevent cross-site and DNS rebinding requests, with
optional `disableOriginCheck` and `allowedOrigins` parameters.
* Add `devToolsRequestHeader` constant (`X-DevTools-Request`).
* Reject `file://` URIs with non-empty hosts (UNC paths), absolute, missing, or
non-directory `buildLocation` paths, and symbolic links resolving outside the
Expand All @@ -33,8 +39,6 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens
* Confine `devtoolsOptionsUri` in `api/extensionEnabledState` to currently
served extensions, reject symlinked `devtools_options.yaml` files, and prevent
recursive directory creation when looking up `devtools_options.yaml`.
* Restrict `normalizeVmServiceUri` to allowed VM service schemes (`http`, `https`,
`ws`, `wss`, `sse`, `sses`) and loopback hosts (`localhost`, `127.0.0.0/8`, `::1`).
* Add `ExtensionsApi.vmServiceUriPropertyName`, deprecate
`ExtensionsApi.packageRootUriPropertyName`, and resolve the connected
application's package root on the server from `vmServiceUri` in
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: devtools_shared
description: Package of shared Dart structures between devtools_app, dds, and other tools.

version: 14.0.1
version: 15.0.0

repository: https://github.com/flutter/devtools/tree/master/packages/devtools_shared

Expand Down
Loading