This page describes what’s new on the Dart website and blog. To see what’s new in Flutter, visit the Flutter what’s new page.
For a list of Dart language changes in each Dart SDK, see the language evolution page. To stay on top of announcements, including breaking changes, join the Dart announcements Google group and follow the Dart blog.
October 1, 2020: 2.10 release
This section lists notable changes made from July 1 through October 1, 2020.
Dart 2.10 went live October 1! For details, see Announcing Dart 2.10.
Docs updated or added to dart.dev
In addition to bug fixes and small improvements, we made the following changes to this site:
- Added a
dart
tool page to document the new command-line interface to the Dart SDK. The newdart
tool is analogous to theflutter
tool in the Flutter SDK. Previously, thedart
command only ran command-line apps. We updated the previousdart
page accordingly and plan to update references to other tools over time. - Updated the package changelog documentation
to recommend a standard format for
CHANGELOG.md
files. This new format lets tools (such as the relaunched pub.dev) parse changelogs. - Changed an Effective Dart guideline to favor
using
Object
instead ofdynamic
. For details, see the revised guideline AVOID usingdynamic
unless you want to disable static checking. - Updated the diagnostic messages page to include more messages produced by the Dart analyzer.
- Updated the language evolution page to include 2.9 and 2.10.
- Reorganized the language specification page to make it easier to find the PDF version of the latest, in-progress specification.
- Added or updated docs related to sound null safety,
a feature that’s coming to the Dart language:
- Clarified how to use experiment flags with IDEs.
- Updated the null safety page, adding information about how to enable null safety.
- Added a deep dive into null safety, Understanding null safety, written by Dart engineer Bob Nystrom.
Articles added to the Dart blog
We published the following articles on the Dart blog:
- Exploring collections in Dart helps you use collections (lists, maps, sets, and more), with specal attention to 2.3 language features like collection if, collection for, and spreads.
- Google Summer of Code 2020 results describes the results of five projects that the Dart team mentored.
- Introducing a brand new pub.dev announces the relaunch of the pub.dev site, with new package scoring metrics, improved search, and a redesigned UI.
We also improved the blog navigation, adding announcement and archive tabs, plus a link to dart.dev.