Dart 3.9 Released with AI Integration and Performance Improvements
Google has officially released Dart 3.9, the latest stable version of its programming language, focusing on enhanced developer efficiency and application performance. Key updates include stricter null safety assumptions for type promotion and definite assignment, which may generate additional dead code warnings. A significant soundness fix addresses issues in the dev-compiler (DDC) regarding direct invocations of generic types. The release introduces the Dart and Flutter MCP Server, a new tool enabling AI coding assistants like GitHub Copilot and Cursor to access deeper project context for tasks such as fixing runtime errors and managing dependencies. Performance improvements are evident in the Dart CLI, which now utilizes Ahead-Of-Time (AOT) compiled snapshots for the analysis server, resulting in up to 50% faster execution for commands like dart analyze. Additionally, the pub client now supports version-solving for Git dependencies based on tags and respects Flutter constraint upper bounds in root packages. These updates aim to streamline development workflows and empower AI-assisted coding environments.
Wire timeline
Dart 3.9 Released with AI Integration and Performance Improvements
Google has officially released Dart 3.9, the latest stable version of its programming language, focusing on enhanced developer efficiency and application performance. Key updates include stricter null safety assumptions for type promotion and definite assignment, which may generate additional dead code warnings. A significant soundness fix addresses issues in the dev-compiler (DDC) regarding direct invocations of generic types. The release introduces the Dart and Flutter MCP Server, a new tool enabling AI coding assistants like GitHub Copilot and Cursor to access deeper project context for tasks such as fixing runtime errors and managing dependencies. Performance improvements are evident in the Dart CLI, which now utilizes Ahead-Of-Time (AOT) compiled snapshots for the analysis server, resulting in up to 50% faster execution for commands like dart analyze. Additionally, the pub client now supports version-solving for Git dependencies based on tags and respects Flutter constraint upper bounds in root packages. These updates aim to streamline development workflows and empower AI-assisted coding environments.
Dart - Medium