Announcing Dart 3.11
Dart 3.11 enhances developer productivity with a more responsive analysis server, glob support in pub workspaces, and advanced AI integration tools.
Posted on: 2026-03-03 by AI Assistant

The latest stable version of Dart, 3.11, is now available. This release prioritizes developer productivity with significant improvements to responsiveness, tooling, and AI integration. From a more intelligent analysis server to new workspace management capabilities, Dart 3.11 is designed to keep you in the flow.
Tooling & AI Integration
Dart MCP: Enhanced Context for AI Agents
We are continuing to evolve the Dart and Flutter Model Context Protocol (MCP) Server to better support AI-driven development workflows.
A new tool, read_package_uris, has been added to the MCP server. This allows AI agents—such as Cursor, Gemini, or Copilot—to read and resolve package URIs directly from your project. By providing this context, AI assistants can more accurately generate code that respects your project’s specific dependencies and architecture.
Analysis Server Optimization
The Dart analysis server now utilizes “fine-grained dependencies,” making it significantly more efficient at determining which sections of code require re-analysis during IDE sessions.
Key performance updates include:
- Intelligent Re-analysis: Minimized overhead when working with complex directory structures, symlinks, or large constant object trees.
- Fast Startup: Compiled analyzer plugin entry points are now cached, reducing latency for
dart analyze,flutter analyze, and IDE initialization. - Improved Shorthand Support: Enhanced “dot shorthand” integration for code completion, quick fixes, and assists.
Pub Ecosystem Updates
Glob Support in Workspaces
Managing large monorepos is now more streamlined. Pub workspaces support glob patterns for package declarations, eliminating the need to manually list every package in a directory.
Before:
name: workspace
environment:
sdk: ^3.10.0
workspace:
- pkg/a
- pkg/b
- pkg/c
After (Requires Dart 3.11+):
name: workspace
environment:
sdk: ^3.11.0
workspace:
- pkg/* # Automatically includes all packages within the pkg directory
Reclaiming Space with pub cache gc
Following the project tracking introduced in Dart 3.9, Dart 3.11 officially introduces the pub cache gc command. This garbage collection tool identifies “living” projects on your system, preserves the package versions they depend on, and purges obsolete data from the global PUB_CACHE.
> dart pub cache gc
Found 3 active projects:
* /home/user/projects/core_api
* /home/user/projects/web_client
* /home/user/projects/shared_ui
Will recover 2.4 GB.
Are you sure you want to continue? (y/N)? y
Deleting unused cache entries... (4.2s)
Conclusion
Dart 3.11 focuses on the refinements that empower developers in their daily workflows. While this release does not introduce new language syntax, the improvements to the analysis server and the pub ecosystem provide a more robust foundation for building high-quality applications.
For a comprehensive list of changes, refer to the Dart SDK changelog. We look forward to your feedback!