DevTools 2.21.1 release notes
The 2.21.1 release of the Dart and Flutter DevTools includes the following changes among other general improvements. To learn more about DevTools, check out the DevTools overview.
Performance updates
#-
Replace the DevTools timeline trace viewer with the Perfetto trace viewer - #5142
-
Fix several issues with loading a Performance snapshot into DevTools - #5048, #4929
-
UI polish and cleanup - #4889
Memory updates
#- Improve usability of snapshot diffing - #5015
- UI polish and cleanup - #4855
- Color code classes based on where they are defined (SDK, your package, dependencies, etc.) - #5030
- Fix state management issue for tracing - #5062
- Improve the performance of taking a heap snapshot - #5134
- Retire broken import/export feature - #5135
Debugger updates
#- Added support for viewing profiler hits in the debugger script viewer - #4831
- Added support for inspecting records - #5084
General updates
#- Fix several issues in syntax highlighting that would
color variable names that contain reserved words incorrectly and
leave
extends
/implements
clauses uncolored for some classes - #4948 - Fix an issue in Safari, and other browsers that do not support RegExp negative lookbehind, that prevented DevTools from loading - #4938
- Fix an issue that would prevent DevTools connecting to the backend server that would disable some functionality - #5016
- Add a link to the DevTools contribution guide to the About menu, and fixed the Discord link - #4926
- Fix conflicting colors in light theme - #5067
Full commit history
#除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2024-09-04。 查看文档源码 或者 为本页面内容提出建议。