DevTools 2.21.1 release notes

Dart & Flutter DevTools - A Suite of Performance Tools for Dart and Flutter

Performance updates

  • Replace the DevTools timeline trace viewer with the Perfetto trace viewer - #5142

perfetto trace viewer

  • 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 (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 CONTRIBUTING guide to the About menu, and fixed the Discord link - #4926
  • Fix conflicting colors in light theme - 5067

Changelog

More details about changes and fixes are available in the DevTools changelog.