Contents

What’s new

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.

May 19, 2021: 2.13 release

This section lists notable changes made from March 4, 2021, through May 19, 2021. For details about the 2.13 release, see Announcing Dart 2.13.

Docs updated or added to dart.dev

In addition to bug fixes and incremental improvements, we made the following changes to this site:

  • Updated the typedef section of the language tour to reflect non-function type aliases, which were introduced in Dart 2.13.
  • Published or updated documentation related to the command line and servers:
    • Using Google Cloud describes Google Cloud products that Dart servers can use, often with the help of pre-packaged Docker images.
    • The HTTP server tutorial, which featured the discontinued http_server package, has been temporarily replaced by an “under construction” page that links to helpful documentation and samples.
    • The command-line tutorial has been completely updated.
  • Published some other new pages:
    • Null safety codelab teaches you about Dart’s null-safe type system, which was introduced in Dart 2.12.
    • Numbers in Dart has details about differences between native and web number implementations.
    • Using Google APIs points to resources to help you use Firebase and Google client APIs from a Dart app.
    • Writing package pages gives tips for writing a package README that works well on pub.dev.
    • Fixing type promotion failures has information to help you understand why type promotion failures occur, and gives tips on how to fix them.
    • The new dart run page describes how to run a Dart program from the command line.
  • Continued work on migrating code to null safety, in particular the streams tutorial.
  • Made miscellaneous other updates:
    • Removed references to Stagehand, in favor of dart create.
    • Changed analytics options for dart.dev example code from using pedantic to using the recommended rules in lints.
    • Added Docker as a way to get Dart.
    • Updated the language evolution page to reflect Dart 2.13.

Articles added to the Dart blog

We published the following articles on the Dart blog:

March 3, 2021: 2.12 release

This section lists notable changes made from October 2, 2020, through March 3, 2021. For details about the 2.12 release, see Announcing Dart 2.12.

Docs updated or added to dart.dev

In addition to bug fixes and incremental improvements, we made the following changes to this site:

We also switched from Travis CI to GitHub Actions, and we made multiple CSS changes to improve site legibility.

Articles added to the Dart blog

We published the following articles on the Dart blog:

October 1, 2020: 2.10 release

This section lists notable changes made from July 1 through October 1, 2020. For details about the 2.10 release, 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:

Articles added to the Dart blog

We published the following articles on the Dart blog:

We also improved the blog navigation, adding announcement and archive tabs, plus a link to dart.dev.