Skip to content
Evergreen Evergreen
Documentation

Dart 3.8 no longer receives security updates

End of support as of 2025-08-13. Replacement: Dart 3.13 or later. Source: Dart security policy.

Check a version:

evergreen check pkg:generic/dart

The Dart security policy commits security updates only for the most recent stable SDK release. Dart 3.8 stopped being that release when Dart 3.9 shipped on 2025-08-13.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of support
Severity high
Ecosystem dart
Component pkg:generic/dart
Affected versions vers:semver/>=3.8.0\|<3.9.0
Date from the source 2025-08-13
Replacement Dart 3.13 or later
Evidence last seen 2026-10-21
Reviewed 2026-10-21 by arminazimi
Review due 2027-01-19 (90 days after the last review)
Rule ID dart.sdk.end-of-support-3.8

Sources

Migration

Constraints

  • Keep environment.sdk in pubspec.yaml, the sdks block in pubspec.lock, the Flutter version pinned in .fvmrc, and the SDK used in CI on one supported release.
  • A Flutter project gets its Dart SDK from the Flutter release it pins, so raise the Flutter pin to a release that bundles the Dart version in the replacement instead of installing Dart on its own.

Steps

  1. Raise the SDK pin. Change the reported Dart SDK pin to the version in the replacement. For a Flutter project, raise the Flutter version in .fvmrc or .fvm/fvm_config.json to a release that bundles that Dart version.
  2. Raise the SDK constraint. Raise the lower bound of environment.sdk in pubspec.yaml (and environment.flutter for an app) so it admits only supported SDKs, then re-resolve dependencies so pubspec.lock records the new sdks constraints.
  3. Align CI and documentation. Update CI workflows, Docker images, and setup documentation that install the Dart or Flutter SDK so they match the new pin.

Verification

  • dart --version: Confirm the active Dart SDK is the intended release.
  • dart pub get: Re-resolve dependencies against the new SDK constraint.
  • dart analyze && flutter test: Analyze and test a Flutter app on the new SDK.
  • dart analyze && dart test: Analyze and test a Dart package on the new SDK.

Detected by

The dart detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/dart.json, rule dart.sdk.end-of-support-3.8, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated