Skip to content

Commit

Permalink
Remove uses of deprecated --web-renderer option (#8640)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenzieschmoll authored Dec 17, 2024
1 parent 2704e5d commit 2698b00
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
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

0 comments on commit 2698b00

Please sign in to comment.