Skip to content

Remove uses of deprecated --web-renderer option #8640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2024
Merged
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
@@ -1,6 +1,6 @@
## 0.3.0
* Bump minimum Dart SDK version to `3.6.0`.
* Bump minimum Flutter SDK version to `3.24.0`.
* Bump minimum Flutter SDK version to `3.27.1`.
* Bump `devtools_shared` dependency to `^11.1.0`.
* Add `DevToolsIcon` and `AssetImageIcon` widgets.
* Add `iconAsset` and `iconSize` fields to the `ButtonGroupItemData` class.
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 @@ -5,7 +5,7 @@ repository: https://github.com./flutter/devtools/tree/master/packages/devtools_ap

environment:
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.24.0"
flutter: ">=3.27.1"

resolution: workspace

Expand Down
5 changes: 4 additions & 1 deletion packages/devtools_extensions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## 0.3.0-dev.1
## 0.3.0
* Fix `build_and_copy` command by removing deprecated `--web-renderer` option.
* Bump minimum Dart SDK version to `3.6.0` and minimum Flutter SDK version
to `3.27.1`.
* Bump `devtools_app_shared` dependency to `0.3.0`.
* Bump `devtools_shared` dependency to `11.1.0`.
* Clarify VS Code configuration in `README.md`.
Expand Down
2 changes: 0 additions & 2 deletions packages/devtools_extensions/bin/_build_and_copy.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ class BuildExtensionCommand extends Command {
[
'build',
'web',
'--web-renderer',
'canvaskit',
'--pwa-strategy=offline-first',
'--release',
'--no-tree-shake-icons',
Expand Down
6 changes: 3 additions & 3 deletions packages/devtools_extensions/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: devtools_extensions
description: A package for building and supporting extensions for Dart DevTools.
version: 0.3.0-dev.1
version: 0.3.0

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

environment:
sdk: ">=3.6.0-149.3.beta <4.0.0"
flutter: ">=3.25.0-0.1.pre"
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.27.1"

resolution: workspace

Expand Down
2 changes: 0 additions & 2 deletions tool/lib/commands/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ class BuildCommand extends Command {
SharedCommandArgs.wasm.asArg(),
if (noStripWasm) SharedCommandArgs.noStripWasm.asArg(),
] else ...[
'--web-renderer',
'canvaskit',
// Do not minify stack traces in debug mode.
if (buildMode == 'debug') '--dart2js-optimization=O1',
if (buildMode != 'debug') '--$buildMode',
Expand Down
Loading