Bump version from 2.22.2-dev.6 to 2.22.2 (#5324)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cd237f..f382cc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,3 +1,99 @@ +## 2.22.2 +* Bump version from 2.22.2-dev.6 to 2.22.2 [#5324](https://github.com/flutter/devtools/pull/5324) +* Support `Set` instance inspection in debugger page [#5323](https://github.com/flutter/devtools/pull/5323) +* Stop passing scope for web [#5321](https://github.com/flutter/devtools/pull/5321) +* Fix variable inspection for `List` and `Map` instances [#5320](https://github.com/flutter/devtools/pull/5320) +* Browse garbage collected items [#5305](https://github.com/flutter/devtools/pull/5305) +* Add UI and data classes for CPU method table [#5303](https://github.com/flutter/devtools/pull/5303) +* Implement minor fixes to prepare for release [#5319](https://github.com/flutter/devtools/pull/5319) +* Add support for inspecting instance of WeakArray [#5316](https://github.com/flutter/devtools/pull/5316) +* Bump github/codeql-action from 2.2.4 to 2.2.5 [#5313](https://github.com/flutter/devtools/pull/5313) +* Update from 2.22.2-dev.5 to 2.22.2-dev.6 [#5312](https://github.com/flutter/devtools/pull/5312) +* Update from 2.22.2-dev.4 to 2.22.2-dev.5 [#5310](https://github.com/flutter/devtools/pull/5310) +* Update from 2.22.2-dev.3 to 2.22.2-dev.4 [#5308](https://github.com/flutter/devtools/pull/5308) +* Update from 2.22.2-dev.2 to 2.22.2-dev.3 [#5304](https://github.com/flutter/devtools/pull/5304) +* Add skeleton for CPU method table [#5298](https://github.com/flutter/devtools/pull/5298) +* Add support for viewing CPU profiler ticks per instruction [#5258](https://github.com/flutter/devtools/pull/5258) +* Combine shallow and retained size columns into one to save horizontal space [#5299](https://github.com/flutter/devtools/pull/5299) +* Update from 2.22.2-dev.1 to 2.22.2-dev.2 [#5300](https://github.com/flutter/devtools/pull/5300) +* Implement minor improvements [#5297](https://github.com/flutter/devtools/pull/5297) +* Add column `persisted` and saving item to console from diff [#5290](https://github.com/flutter/devtools/pull/5290) +* Update from 2.22.2-dev.0 to 2.22.2-dev.1 [#5293](https://github.com/flutter/devtools/pull/5293) +* Fix drop-box colors [#5291](https://github.com/flutter/devtools/pull/5291) +* Polish UI for memory page. [#5289](https://github.com/flutter/devtools/pull/5289) +* Positional fields names for `Records` should begin at `$1` not `$0` [#5272](https://github.com/flutter/devtools/pull/5272) +* Bump version to 2.22.2-dev.0 [#5285](https://github.com/flutter/devtools/pull/5285) +* Update references.dart [#5286](https://github.com/flutter/devtools/pull/5286) +* Release for 2.22.1 [#5284](https://github.com/flutter/devtools/pull/5284) +* Update eval_service.dart [#5280](https://github.com/flutter/devtools/pull/5280) +* Update pubspec.yaml [#5281](https://github.com/flutter/devtools/pull/5281) +* Handle expiration of variables [#5270](https://github.com/flutter/devtools/pull/5270) +* Bump Version to 2.22.1 [#5279](https://github.com/flutter/devtools/pull/5279) +* Improve Network Screen Reliability [#5056](https://github.com/flutter/devtools/pull/5056) +* Bump actions/cache from 3.2.5 to 3.2.6 [#5278](https://github.com/flutter/devtools/pull/5278) +* Update vm_service to 11.0.0 and finish profiling migration [#5105](https://github.com/flutter/devtools/pull/5105) +* Update from 2.22.0-dev.13 to 2.22.0-dev.14 [#5274](https://github.com/flutter/devtools/pull/5274) +* Update from 2.22.0-dev.12 to 2.22.0-dev.13 [#5273](https://github.com/flutter/devtools/pull/5273) +* Update from 2.22.0-dev.11 to 2.22.0-dev.12 [#5260](https://github.com/flutter/devtools/pull/5260) +* Add github workflow to close stale issues [#5249](https://github.com/flutter/devtools/pull/5249) +* Update from 2.22.0-dev.10 to 2.22.0-dev.11 [#5257](https://github.com/flutter/devtools/pull/5257) +* Delete unused vm utils and move used vm utils to dedicated library [#5256](https://github.com/flutter/devtools/pull/5256) +* Name variables in console [#5254](https://github.com/flutter/devtools/pull/5254) +* Add support for inspecting `SubtypeTestCache` instances [#5250](https://github.com/flutter/devtools/pull/5250) +* Update from 2.22.0-dev.9 to 2.22.0-dev.10 [#5255](https://github.com/flutter/devtools/pull/5255) +* Move autocomplete logic to a separate library [#5251](https://github.com/flutter/devtools/pull/5251) +* Fix typos and test failures for g3 [#5253](https://github.com/flutter/devtools/pull/5253) +* Support evaluation for running app [#5248](https://github.com/flutter/devtools/pull/5248) +* Handle a null value for `mainIsolateState` [#5232](https://github.com/flutter/devtools/pull/5232) +* Reroot references [#5246](https://github.com/flutter/devtools/pull/5246) +* Add support for inspecting `ObjectPool`s in the Object Inspector [#5228](https://github.com/flutter/devtools/pull/5228) +* Update preferences.dart [#5223](https://github.com/flutter/devtools/pull/5223) +* Update from 2.22.0-dev.8 to 2.22.0-dev.9 [#5247](https://github.com/flutter/devtools/pull/5247) +* Add a note about release note image size to contributing guide [#5244](https://github.com/flutter/devtools/pull/5244) +* Fix release note workflow error persisting after the error is fixed [#5234](https://github.com/flutter/devtools/pull/5234) +* Bump github/codeql-action from 2.2.3 to 2.2.4 [#5239](https://github.com/flutter/devtools/pull/5239) +* Update from 2.22.0-dev.7 to 2.22.0-dev.8 [#5238](https://github.com/flutter/devtools/pull/5238) +* Update from 2.22.0-dev.6 to 2.22.0-dev.7 [#5236](https://github.com/flutter/devtools/pull/5236) +* Update from 2.22.0-dev.5 to 2.22.0-dev.6 [#5235](https://github.com/flutter/devtools/pull/5235) +* Speed up build_runner bulids by using generate_for and disabling the mock generator where it isn't used [#5230](https://github.com/flutter/devtools/pull/5230) +* Add support for inspecting ICData objects [#5221](https://github.com/flutter/devtools/pull/5221) +* Add `VmServiceObjectLink` support for code view objects [#5222](https://github.com/flutter/devtools/pull/5222) +* Bump actions/cache from 3.2.4 to 3.2.5 [#5227](https://github.com/flutter/devtools/pull/5227) +* Update from 2.22.0-dev.4 to 2.22.0-dev.5 [#5225](https://github.com/flutter/devtools/pull/5225) +* Clean up legacy mocks [#5218](https://github.com/flutter/devtools/pull/5218) +* Save set of instances as variable [#5215](https://github.com/flutter/devtools/pull/5215) +* Bump github/codeql-action from 2.2.2 to 2.2.3 [#5220](https://github.com/flutter/devtools/pull/5220) +* Update from 2.22.0-dev.3 to 2.22.0-dev.4 [#5217](https://github.com/flutter/devtools/pull/5217) +* Change filter default to show only project and 3rd party dependencies [#5201](https://github.com/flutter/devtools/pull/5201) +* Update from 2.22.0-dev.2 to 2.22.0-dev.3 [#5214](https://github.com/flutter/devtools/pull/5214) +* Add text filtering to the CPU profiler [#5204](https://github.com/flutter/devtools/pull/5204) +* Adding cron based dev version bumping to Github Workflows [#5096](https://github.com/flutter/devtools/pull/5096) +* Use configured limit to request values and clean up non-needed code [#5212](https://github.com/flutter/devtools/pull/5212) +* Update from 2.22.0-dev.1 to 2.22.0-dev.2 [#5211](https://github.com/flutter/devtools/pull/5211) +* Make limit for number of references configurable [#5202](https://github.com/flutter/devtools/pull/5202) +* Create border for text boxes in filter dialogs [#5200](https://github.com/flutter/devtools/pull/5200) +* Handle inbound live refs and errors [#5199](https://github.com/flutter/devtools/pull/5199) +* Stop showing nulls [#5197](https://github.com/flutter/devtools/pull/5197) +* Bump github/codeql-action from 2.2.1 to 2.2.2 [#5198](https://github.com/flutter/devtools/pull/5198) +* Consolidate memory browsing code in one library. [#5196](https://github.com/flutter/devtools/pull/5196) +* Merge Source column and method name columns [#5181](https://github.com/flutter/devtools/pull/5181) +* Live outbound references for map [#5193](https://github.com/flutter/devtools/pull/5193) +* Fix macos configuration [#5190](https://github.com/flutter/devtools/pull/5190) +* Blast_repo fixes [#5187](https://github.com/flutter/devtools/pull/5187) +* Remove all platform folders except web [#5185](https://github.com/flutter/devtools/pull/5185) +* Add fixture for memory and configurations to run fixtures [#5184](https://github.com/flutter/devtools/pull/5184) +* Add support for Debugger screen navigation history [#4906](https://github.com/flutter/devtools/pull/4906) +* Expand live outbound references for instances and arrays [#5172](https://github.com/flutter/devtools/pull/5172) +* Update README.md [#5161](https://github.com/flutter/devtools/pull/5161) +* Separate _getObject [#5168](https://github.com/flutter/devtools/pull/5168) +* Update from 2.22.0-dev.0 to 2.22.0-dev.1 [#5169](https://github.com/flutter/devtools/pull/5169) +* Update tree_builder.dart [#5166](https://github.com/flutter/devtools/pull/5166) +* Add flutter_localizations to list of sdk packages [#5164](https://github.com/flutter/devtools/pull/5164) +* Fix aboot [#5163](https://github.com/flutter/devtools/pull/5163) +* Follow up to missed comment on #5131 [#5162](https://github.com/flutter/devtools/pull/5162) +* Add cleanups to the release instructions readme [#5158](https://github.com/flutter/devtools/pull/5158) +* Add Class Hierarchy explorer to program structure explorer [#5131](https://github.com/flutter/devtools/pull/5131) + ## 2.21.1 * Prep for 2.21.1 release [#5156](https://github.com/flutter/devtools/pull/5156) * Fix the perfetto asset path when DevTools is served via `--observe` [#5155](https://github.com/flutter/devtools/pull/5155)
diff --git a/packages/devtools_app/lib/devtools.dart b/packages/devtools_app/lib/devtools.dart index 38ef31c..1d1e345 100644 --- a/packages/devtools_app/lib/devtools.dart +++ b/packages/devtools_app/lib/devtools.dart
@@ -9,4 +9,4 @@ // the constant declaration `const String version =`. // If you change the declaration you must also modify the regex in // tools/update_version.dart. -const String version = '2.22.2-dev.7'; +const String version = '2.22.2';
diff --git a/packages/devtools_app/pubspec.yaml b/packages/devtools_app/pubspec.yaml index dde55a0..7653b0a 100644 --- a/packages/devtools_app/pubspec.yaml +++ b/packages/devtools_app/pubspec.yaml
@@ -4,7 +4,7 @@ # Note: this version should only be updated by running tools/update_version.dart # that updates all versions of devtools packages (devtools_app, devtools_test). -version: 2.22.2-dev.7 +version: 2.22.2 repository: https://github.com/flutter/devtools/tree/master/packages/devtools_app @@ -25,7 +25,7 @@ collection: ^1.15.0 dds: ^2.7.2 dds_service_extensions: ^1.3.2 - devtools_shared: 2.22.2-dev.7 + devtools_shared: 2.22.2 file: ^6.0.0 file_selector: ^0.8.0 file_selector_linux: ^0.0.2 @@ -64,7 +64,7 @@ dev_dependencies: build_runner: ^2.3.3 - devtools_test: 2.22.2-dev.7 + devtools_test: 2.22.2 fake_async: ^1.3.1 flutter_test: sdk: flutter
diff --git a/packages/devtools_app/web/index.html b/packages/devtools_app/web/index.html index 9900a31..249b0dd 100644 --- a/packages/devtools_app/web/index.html +++ b/packages/devtools_app/web/index.html
@@ -7,43 +7,44 @@ --> <html> + <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <!-- Note: This tag is replaced when served through DDS! --> - <base href="/"> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <!-- Note: This tag is replaced when served through DDS! --> + <base href="/"> - <title></title> - <link href="favicon.png" rel="icon" sizes="64x64"> + <title></title> + <link href="favicon.png" rel="icon" sizes="64x64"> - <!-- Global site tag (gtag.js) - Google Analytics --> - <script> - const GA_DEVTOOLS_PROPERTY = 'UA-26406144-34'; // Dart DevTools GA Property UA. + <!-- Global site tag (gtag.js) - Google Analytics --> + <script> + const GA_DEVTOOLS_PROPERTY = 'UA-26406144-34'; // Dart DevTools GA Property UA. - function getDevToolsPropertyID() { - return GA_DEVTOOLS_PROPERTY; - } - </script> - <!-- The below URI ?id= must match the GA_DEVTOOLS_PROPERTY above. --> - <script async src="https://www.googletagmanager.com/gtag/js?id=UA-26406144-34"></script> - <script src="devtools_analytics.js"></script> - <!-- End of DevTools Google Analytics --> + function getDevToolsPropertyID() { + return GA_DEVTOOLS_PROPERTY; + } + </script> + <!-- The below URI ?id= must match the GA_DEVTOOLS_PROPERTY above. --> + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-26406144-34"></script> + <script src="devtools_analytics.js"></script> + <!-- End of DevTools Google Analytics --> - <!-- DO NOT REMOVE: --> - <!-- OBSERVER SCRIPT PLACEHOLDER --> + <!-- DO NOT REMOVE: --> + <!-- OBSERVER SCRIPT PLACEHOLDER --> - <script> - function supportsES6Classes() { - "use strict"; - try { eval("class Foo {}"); } - catch (e) { return false; } - return true; - } + <script> + function supportsES6Classes() { + "use strict"; + try { eval("class Foo {}"); } + catch (e) { return false; } + return true; + } - if (!supportsES6Classes()) { - window.location.href = '/unsupported-browser.html'; - } - </script> + if (!supportsES6Classes()) { + window.location.href = '/unsupported-browser.html'; + } + </script> </head> <body> @@ -51,7 +52,7 @@ application. For more information, see: https://developers.google.com/web/fundamentals/primers/service-workers --> <script> - var version = '2.22.2-dev.7'; + var version = '2.22.2'; var scriptLoaded = false; function loadMainDartJs() { if (scriptLoaded) { @@ -69,54 +70,53 @@ // If we are running DevTools locally, immediately load `main.dart.js` and // unregister any service workers: loadMainDartJs(); - navigator.serviceWorker.getRegistrations().then(function(registrations) { + navigator.serviceWorker.getRegistrations().then(function (registrations) { for (let registration of registrations) { registration.unregister(); } }); } else { // Service workers are supported. Use them. - window.addEventListener('load', function() { + window.addEventListener('load', function () { // Wait for registration to finish before dropping the <script> tag. // Otherwise, the browser will load the script multiple times, // potentially different versions. var serviceWorkerUrl = 'service_worker.js?v=' + version; navigator.serviceWorker.register(serviceWorkerUrl) - .then((reg) => { - function waitForActivation(serviceWorker) { - serviceWorker.addEventListener('statechange', () => { - if (serviceWorker.state == 'activated') { - loadMainDartJs(); - } - }); - } - if (!reg.active && (reg.installing || reg.waiting)) { - // No active web worker and we have installed or are installing - // one for the first time. Simply wait for it to activate. - waitForActivation(reg.installing || reg.waiting); - } else if (!reg.active.scriptURL.endsWith(version)) { - // When the app updates the version changes, so we - // need to ask the service worker to update. - reg.update(); - waitForActivation(reg.installing); - } else { - // Existing service worker is still good. - loadMainDartJs(); - } - }) - .catch((err) => { - console.warn( - ` Falling back to plain <script> tag. Error loading service worker: ${ - err}`); + .then((reg) => { + function waitForActivation(serviceWorker) { + serviceWorker.addEventListener('statechange', () => { + if (serviceWorker.state == 'activated') { + loadMainDartJs(); + } + }); + } + if (!reg.active && (reg.installing || reg.waiting)) { + // No active web worker and we have installed or are installing + // one for the first time. Simply wait for it to activate. + waitForActivation(reg.installing || reg.waiting); + } else if (!reg.active.scriptURL.endsWith(version)) { + // When the app updates the version changes, so we + // need to ask the service worker to update. + reg.update(); + waitForActivation(reg.installing); + } else { + // Existing service worker is still good. loadMainDartJs(); - }); + } + }) + .catch((err) => { + console.warn( + ` Falling back to plain <script> tag. Error loading service worker: ${err}`); + loadMainDartJs(); + }); // If service worker doesn't succeed in a reasonable amount of time, // fallback to plain <script> tag. setTimeout(() => { if (!scriptLoaded) { console.warn( - 'Failed to load app from service worker. Falling back to plain <script> tag.', + 'Failed to load app from service worker. Falling back to plain <script> tag.', ); loadMainDartJs(); } @@ -129,4 +129,5 @@ } </script> </body> + </html>
diff --git a/packages/devtools_shared/pubspec.yaml b/packages/devtools_shared/pubspec.yaml index 00ff127..0a21497 100644 --- a/packages/devtools_shared/pubspec.yaml +++ b/packages/devtools_shared/pubspec.yaml
@@ -1,7 +1,7 @@ name: devtools_shared description: Package of shared structures between devtools_app, dds, and other tools. -version: 2.22.2-dev.7 +version: 2.22.2 repository: https://github.com/flutter/devtools/tree/master/packages/devtools_shared
diff --git a/packages/devtools_test/pubspec.yaml b/packages/devtools_test/pubspec.yaml index d78817b..aba7491 100644 --- a/packages/devtools_test/pubspec.yaml +++ b/packages/devtools_test/pubspec.yaml
@@ -7,7 +7,7 @@ # When publishing new versions of this package be sure to publish a new version # of package:devtools as well. package:devtools contains a compiled snapshot of # this package. -version: 2.22.2-dev.7 +version: 2.22.2 repository: https://github.com/flutter/devtools/tree/master/packages/devtools_test @@ -18,8 +18,8 @@ dependencies: async: ^2.0.0 collection: ^1.15.0 - devtools_shared: 2.22.2-dev.7 - devtools_app: 2.22.2-dev.7 + devtools_shared: 2.22.2 + devtools_app: 2.22.2 flutter: sdk: flutter flutter_test: