# Dart changelog

> A complete changelog for Dart.



This page lists the full history of changes to
the Dart SDK and Dart language, organized by release.
We use tags to classify changes, such as
`New` for features, `Fixed` for bugs, and `Breaking` for incompatible changes.
Some changes are `Language versioned`,
meaning they only take effect when you
upgrade your code's [language version](/language/versioning).

## Dart 3.14

### [Libraries] — `dart:ffi` (New)
_Released: 2026-11-11_

Added `NativeFinalizer.callback`,
which returns the finalization callback the finalizer was created with.
For details, refer to SDK issue [#63811][].

[#63811]: https://github.com/dart-lang/sdk/issues/63811

Read more: https://github.com/dart-lang/sdk/issues/63811

### [Libraries] — `dart:ffi` (New)
_Released: 2026-11-11_

Added `Abi.iosArm64e` and `Abi.macosArm64e` for the `arm64e` architecture
with pointer authentication on iOS and macOS.
For details, refer to SDK issue [#63420][].

[#63420]: https://github.com/dart-lang/sdk/issues/63420

Read more: https://github.com/dart-lang/sdk/issues/63420

### [Libraries] — `dart:io` (Changed)
_Released: 2026-11-11_

Process spawning on macOS switched from `fork`-and-`exec` to `posix_spawn`.
`PATH` resolution now uses the parent's `PATH`
instead of the child's `PATH`.
To avoid platform-specific differences, pass an absolute path for the
`executable` argument to `Process.start` and related methods.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:isolate` (Breaking, Removed, Experimental)
_Released: 2026-11-11_

**Breaking change**:
Unshipped the experimental synchronous execution and event loop control
APIs (`Isolate.runSync`, `Isolate.create`, `Isolate.shutdownSync`,
`Isolate.pinToCurrentThread`, `Isolate.isPinnedToCurrentThread`,
`Isolate.runEventLoopSync`, `Isolate.onEvent`, and `Isolate.handleEvent`)
that were accidentally exposed in Dart 3.13,
and gated `NativeCallable.isolateGroupBound` behind the
`--experimental-shared-data` VM flag.
For details, refer to SDK issue [#64285][].

[#64285]: https://github.com/dart-lang/sdk/issues/64285

Read more: https://github.com/dart-lang/sdk/issues/64285

### [Libraries] — `dart:typed_data` (Breaking)
_Released: 2026-11-11_

**Breaking change**:
`toString()` on the SIMD value types `Float32x4`, `Int32x4`, and
`Float64x2` now returns `'V128'` instead of a list of the lane values.
The old per-lane output was inconsistent across platforms
and was never specified.
On the VM, this also covers `Error.safeToString` and the values shown by
the debugger and the VM service.
For details, refer to SDK issue [#63847][].

[#63847]: https://github.com/dart-lang/sdk/issues/63847

Read more: https://github.com/dart-lang/sdk/issues/63847

### [Libraries] — `dart:typed_data` (Breaking)
_Released: 2026-11-11_

**Breaking change**:
`Float32x4.min`, `Float32x4.max`, `Float64x2.min`, and `Float64x2.max`
now follow IEEE 754 semantics across all platforms:
if either lane is `NaN`, the result lane is `NaN`,
and `-0.0` is ordered below `+0.0`.
For details, refer to SDK issue [#63962][].

[#63962]: https://github.com/dart-lang/sdk/issues/63962

Read more: https://github.com/dart-lang/sdk/issues/63962

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `rangeEquals` extension methods on all integer typed data lists
(`Uint8List`, `Int8List`, `Uint8ClampedList`, `Uint16List`, `Int16List`,
`Uint32List`, `Int32List`, `Uint64List`, `Int64List`) and `ByteData`
for efficient range equality comparisons.
For details, refer to SDK issue [#64095][].

[#64095]: https://github.com/dart-lang/sdk/issues/64095

Read more: https://github.com/dart-lang/sdk/issues/64095

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added the bitwise negation operator `~` to `Int32x4`,
which inverts every bit of every lane.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.splat`,
which creates an `Int32x4` with the same 32-bit integer value in all four
lanes, matching `Float32x4.splat` and `Float64x2.splat`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.equal`, a lane-wise equality comparison that returns `-1`
in each lane where the operands are equal and `0` elsewhere,
and the `Int32x4.anyTrue` getter, which is `true` when any lane is
non-zero.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.notEqual`, a lane-wise inequality comparison
that returns `-1` in each lane where the operands differ and `0` elsewhere.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added the `Int32x4.allTrue` getter,
which is `true` only when every lane is non-zero.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added the signed lane-wise ordered comparisons `Int32x4.lessThan`,
`Int32x4.lessThanOrEqual`, `Int32x4.greaterThan`, and
`Int32x4.greaterThanOrEqual`, each returning `-1` in lanes where the signed
comparison holds and `0` elsewhere.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added the `Int32x4.zero()` constructor,
which creates an `Int32x4` with all four lanes set to zero.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added the unary negation operator `-` to `Int32x4`,
which arithmetically negates each lane using two's complement.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.abs`, which replaces each lane with its absolute value using
two's complement, so the absolute value of the minimum 32-bit integer
yields itself.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added the lane-wise shift operators `<<` (left), `>>` (arithmetic right),
and `>>>` (logical right) to `Int32x4`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.andNot`, a lane-wise bitwise and-not (`this & ~other`).

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.min`, which selects the smaller of each pair of lanes,
compared as signed 32-bit integers.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:typed_data` (New)
_Released: 2026-11-11_

Added `Int32x4.max`, which selects the larger of each pair of lanes,
compared as signed 32-bit integers.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (Fixed)
_Released: 2026-11-11_

The `isA<JSArray>` check now uses both `Array.isArray` and `instanceof`
to verify whether a value is an array, returning `true` if either
condition holds.
For details, refer to SDK issue [#62699][].

[#62699]: https://github.com/dart-lang/sdk/issues/62699

Read more: https://github.com/dart-lang/sdk/issues/62699

### [Libraries] — `dart:js_interop` (Fixed)
_Released: 2026-11-11_

Converting a `Future` to a `JSPromise` by using
`FutureOfJSAnyToJSPromise.toJS` or `FutureOfVoidToJSPromise.toJS`
now passes JavaScript error values (`JSAny`) directly to the rejected
promise without wrapping them.
Only Dart errors are wrapped in a JavaScript `Error`.
For details, refer to SDK issue [#61353][].

[#61353]: https://github.com/dart-lang/sdk/issues/61353

Read more: https://github.com/dart-lang/sdk/issues/61353

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added extension methods `JSArray<JSNumber>.toDartDoubleList` and
`JSArray<JSNumber>.toDartIntList` (`JSArrayOfJSNumberToList`);
`List<num>.toJS` (`ListOfNumberToJSArray`);
`JSArray<JSString>.toDartStringList` (`JSArrayOfJSStringToList`);
`List<String>.toJS` (`ListOfStringToJSArray`);
`JSArray<JSBoolean>.toDartBoolList` (`JSArrayOfJSBooleanToList`);
`List<bool>.toJS` (`ListOfBoolToJSArray`);
`JSArray<JSNumber?>.toDartDoubleList` and
`JSArray<JSNumber?>.toDartIntList` (`JSArrayOfNullableJSNumberToList`);
`List<num?>.toJS` (`ListOfNullableNumberToJSArray`);
`JSArray<JSString?>.toDartStringList` (`JSArrayOfNullableJSStringToList`);
`List<String?>.toJS` (`ListOfNullableStringToJSArray`);
`JSArray<JSBoolean?>.toDartBoolList` (`JSArrayOfNullableJSBooleanToList`);
and `List<bool?>.toJS` (`ListOfNullableBoolToJSArray`).
These methods make it easier and more efficient to convert between JS and
Dart arrays of primitives.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added `JSFunction.length` and `.name` getters.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added the `JSArray.fromAsync` static method to create an array from an
asynchronous generator or a synchronous list of asynchronous values.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added `JSPromise.resolve` and `JSPromise.reject` static methods.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added extension methods `FutureOr<JSAny>.toJSPromiseOrValue`
(`FutureOrToJSAny`), `FutureOr<JSAny?>.toJSPromiseOrValue`
(`FutureOrToNullableJSAny`), `JSAny.toDartFutureOr` (`JSAnyToFutureOr`),
and `JSAny?.toDartFutureOr` (`NullableJSAnyToFutureOr`).
These methods make it easier and more efficient to convert between possibly
synchronous values at the Dart and JS boundary.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added extension methods `R Function(JSArray<E>).toJSVarArgs` and
`R Function(T, JSArray<E>).toJSCaptureThisVarArgs`,
which capture JS function arguments as an array rather than as separate
arguments to the Dart function.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

Added the `JSError` type to represent the JavaScript `Error` class.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

`Function.toJS` and `Function.toJSCaptureThis` now support functions
without optional positional parameters that return `Future<T>`
(where `T` is `void` or a subtype of `JSAny?`),
automatically converting the returned `Future` to a `JSPromise`.
For details, refer to SDK issue [#63496][].

[#63496]: https://github.com/dart-lang/sdk/issues/63496

Read more: https://github.com/dart-lang/sdk/issues/63496

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-11-11_

You can now declare `external` extension members on generic type
parameters bounded by a JS interop type (for example,
`extension <T extends JSObject> on T`).
For details, refer to SDK issue [#61248][].

[#61248]: https://github.com/dart-lang/sdk/issues/61248

Read more: https://github.com/dart-lang/sdk/issues/61248

### [Libraries] — `dart:mirrors` (Deprecated)
_Released: 2026-11-11_

Deprecated the `dart:mirrors` library (`@deprecated`),
which will be removed in a future release.
For details, refer to SDK issue [#44489][].

[#44489]: https://github.com/dart-lang/sdk/issues/44489

Read more: https://github.com/dart-lang/sdk/issues/44489

### [Tools] — Analyzer (Breaking, Fixed)
_Released: 2026-11-11_

Reports an error
([`js_interop_extension_constructor_js_annotation_has_no_effect`][])
when you place an `@JS` annotation on an `external` constructor or
factory of a `dart:js_interop` extension type, matching the compiler
front end (CFE).
To rename non-object literal constructors, move the `@JS` annotation to
the extension type declaration itself.
For details, refer to SDK issue [#54366][].

[`js_interop_extension_constructor_js_annotation_has_no_effect`]: /tools/diagnostics#js_interop_extension_constructor_js_annotation_has_no_effect
[#54366]: https://github.com/dart-lang/sdk/issues/54366

Read more: https://github.com/dart-lang/sdk/issues/54366

### [Tools] — Linter (New)
_Released: 2026-11-11_

Added the [`future_sync_value`][] lint rule, which recommends using
`Future.syncValue` instead of `Future.sync` when the callback returns a
synchronous (non-`Future`) value.
For details, refer to SDK issue [#61740][].

[`future_sync_value`]: /tools/linter-rules/future_sync_value
[#61740]: https://github.com/dart-lang/sdk/issues/61740

Read more: https://dart.dev/tools/linter-rules/future_sync_value

### [Tools] — Dart CLI (Changed)
_Released: 2026-11-11_

`dart run <package>:<command>` and `dart test` now cache the
precompiled executable in `.dart_tool/dartdev/bin/` instead of
`.dart_tool/pub/bin/` and recompile it when any of its source files
change.
Previously, the snapshot was rebuilt on every run for packages
depended on by path and could be stale for hosted packages with a path
`dependency_override`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Tools] — Dart CLI (Fixed)
_Released: 2026-11-11_

When `dart run <package>:<command>` and `dart test` run a precompiled
executable, `Platform.script` now points at the Dart source file instead of
the kernel snapshot.
Resolving paths relative to `Platform.script` now works as it does when
running from source.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Tools] — Dart CLI (Changed)
_Released: 2026-11-11_

`dart run --enable-experiment=<experiment>` and
`dart test --enable-experiment=<experiment>` now run from a snapshot
compiled with those experiments, instead of falling back to running from
source.
The requested experiments still take effect,
but startup is no longer slower than without them.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Tools] — Dart CLI (New)
_Released: 2026-11-11_

Added the `dart migrate` command, which updates packages to a newer Dart
SDK version.
It raises the lower bound of each package's SDK constraint one minor
version at a time, applying preparatory fixes at each version.
Optional cleanup fixes that adopt new language features run only with
`--step=cleanup` or `--step=all`.
By default, it migrates the current directory, or specific package
directories if provided.
Dependent packages migrate together in lockstep, keeping dependency
constraints solvable at every version; if a dependency doesn't support the
new version, `dart migrate` skips the package.
Packages must already require Dart 3.0 or later.

- `--dry-run`: Previews the proposed changes.
- `--apply`: Applies the changes.
- `--target-sdk`: Migrates across multiple versions in one run.
- `--step`: Runs specific steps (`prepare`, `bump`, `cleanup`, or `all`).

For details, refer to the [`dart migrate` documentation][] and SDK issue
[#63240][].

[`dart migrate` documentation]: /tools/dart-migrate
[#63240]: https://github.com/dart-lang/sdk/issues/63240

Read more: https://dart.dev/tools/dart-migrate

### [Tools] — Dart CLI (New)
_Released: 2026-11-11_

Added the `-e` (or `--eval`) flag to `dart run` to evaluate inline Dart
code snippets without creating a script file.
`dart run` resolves package imports from the current package configuration
if present, or ephemerally on demand by using the `-P` (or
`--package-constraint`) flag (for example,
`dart run -P http:^1.0.0 -e '...'`) and `--offline`.
For details, refer to SDK issue [#64298][].

[#64298]: https://github.com/dart-lang/sdk/issues/64298

Read more: https://github.com/dart-lang/sdk/issues/64298

### [Tools] — Formatter (New, Experimental)
_Released: 2026-11-11_

Enabled experiments specified by a surrounding `analysis_options.yaml` file
when parsing code ([dart_style #1886][]).

[dart_style #1886]: https://github.com/dart-lang/dart_style/issues/1886

Read more: https://github.com/dart-lang/dart_style/issues/1886

### [Tools] — Formatter (Fixed)
_Released: 2026-11-11_

Fixed a crash when formatting an enum with a primary constructor when
trailing commas are preserved ([dart_style #1885][]).

[dart_style #1885]: https://github.com/dart-lang/dart_style/issues/1885

Read more: https://github.com/dart-lang/dart_style/issues/1885

### [Tools] — Formatter (Fixed)
_Released: 2026-11-11_

Fixed a missing trailing comma on enum values when an enum has a primary
constructor ([dart_style #1888][]).
This style change isn't language-versioned and also applies when
formatting Dart 3.13 code.

[dart_style #1888]: https://github.com/dart-lang/dart_style/issues/1888

Read more: https://github.com/dart-lang/dart_style/issues/1888

### [Tools] — Formatter (Fixed)
_Released: 2026-11-11_

Fixed a crash when attempting to write a line with exactly 128 spaces of
indentation.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Tools] — Pub (New)
_Released: 2026-11-11_

`dart pub upgrade` now accepts `<package>@<constraint>`,
`<package>@latest`, and `<package>@resolvable` targets to upgrade specific
dependencies within a version constraint or inspect why a newer version
cannot be selected ([dart-lang/pub#4569][]).

[dart-lang/pub#4569]: https://github.com/dart-lang/pub/issues/4569

Read more: https://github.com/dart-lang/pub/issues/4569

### [Tools] — dart2js (New)
_Released: 2026-11-11_

Added the `--[no-]deprecated-js-interop` flag (`dart compile js` and
`dart2js`).
Passing `--no-deprecated-js-interop` disallows importing the deprecated JS
interop libraries (`dart:html`, `dart:html_common`, `dart:indexed_db`,
`dart:js`, `dart:js_util`, `dart:svg`, `dart:web_audio`, and `dart:web_gl`)
and sets their `dart.library.*` environment conditions to `false` in
conditional imports and `bool.fromEnvironment`.
For details, refer to SDK issue [#63919][].

[#63919]: https://github.com/dart-lang/sdk/issues/63919

Read more: https://github.com/dart-lang/sdk/issues/63919

### [Tools] — Dart development compiler (dartdevc) (New)
_Released: 2026-11-11_

Added the `--[no-]deprecated-js-interop` flag.
Passing `--no-deprecated-js-interop` disallows importing the deprecated JS
interop libraries (`dart:html`, `dart:html_common`, `dart:indexed_db`,
`dart:js`, `dart:js_util`, `dart:svg`, `dart:web_audio`, and `dart:web_gl`)
and sets their `dart.library.*` environment conditions to `false` in
conditional imports and `bool.fromEnvironment`.
For details, refer to SDK issue [#63919][].

[#63919]: https://github.com/dart-lang/sdk/issues/63919

Read more: https://github.com/dart-lang/sdk/issues/63919

### [Tools] — dart2wasm (Changed)
_Released: 2026-11-11_

`dart2wasm` now emits standardized WebAssembly `try_table` exception
handling instructions by default ([#54394][]).

[#54394]: https://github.com/dart-lang/sdk/issues/54394

Read more: https://github.com/dart-lang/sdk/issues/54394

### [Tools] — dart2wasm (Changed, Fixed)
_Released: 2026-11-11_

`dart2wasm` now requires native `wasm:js-string` built-in support and works
around `WebAssembly.compileStreaming` bugs in Safari 26.5 and earlier
([#63543][]).

[#63543]: https://github.com/dart-lang/sdk/issues/63543

Read more: https://github.com/dart-lang/sdk/issues/63543

### [Tools] — dart2wasm (Breaking, Changed)
_Released: 2026-11-11_

`dart.library.isolate` now evaluates to `false` in conditional imports
(`if (dart.library.isolate)`) when compiling with `dart2wasm` ([#64328][]).

[#64328]: https://github.com/dart-lang/sdk/issues/64328

Read more: https://github.com/dart-lang/sdk/issues/64328

### [Tools] — dart2wasm (Breaking, Removed, Experimental)
_Released: 2026-11-11_

`dart compile wasm --standalone` no longer supports `dart:js_interop`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3140

### [Tools] — dart2wasm (Changed)
_Released: 2026-11-11_

`Int32x4`, `Float32x4`, `Float64x2`, and their typed-data list views
(`Int32x4List`, `Float32x4List`, `Float64x2List`) now compile to hardware
128-bit WebAssembly SIMD (`v128`) instructions ([#64170][]).

[#64170]: https://github.com/dart-lang/sdk/issues/64170

Read more: https://github.com/dart-lang/sdk/issues/64170

## Dart 3.13

### [Language] — Primary constructors (New, Language versioned)
_Released: 2026-08-12_

Added [primary constructors](/language/primary-constructors),
a concise syntax for declaring a constructor and instance variables
in a declaration header.
This language feature requires a language version of 3.13 or later.

Read more: https://dart.dev/language/primary-constructors

### [Language] — Parameter declarations (Language versioned)
_Released: 2026-08-12_

You can no longer use `final` or `var` on non-declaring parameters.
Dart now reserves both for declaring parameters in primary constructors.
Remove `final` or `var` from affected parameter declarations.
If you still want to prevent parameter reassignment,
you can use the [`parameter_assignments`][] lint rule.

[`parameter_assignments`]: /tools/linter-rules/parameter_assignments

Read more: https://dart.dev/language/primary-constructors#field-declarations-in-parameters

### [Language] — Type promotion (Breaking, Fixed)
_Released: 2026-08-12_

**Breaking change**:
Updated type promotion rules to fix unsound behavior.
For details, see SDK issue [#62889][].

[#62889]: https://github.com/dart-lang/sdk/issues/62889

Read more: https://github.com/dart-lang/sdk/issues/62889

### [Libraries] — `dart:async` (New)
_Released: 2026-08-12_

Added `Future.pause` as an alternative to `Future.delayed`
without a callback.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Libraries] — `dart:core` (New)
_Released: 2026-08-12_

Added `List.unmodifiableOf`,
providing stronger static typing than `List.unmodifiable`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Libraries] — `dart:core` (New)
_Released: 2026-08-12_

Added `Map.unmodifiableOf`,
providing stronger static typing than `Map.unmodifiable`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Libraries] — `dart:core` (New)
_Released: 2026-08-12_

Added two getters on `int` for efficient bit counting:
`trailingZeroBitCount` (ctz) and `oneBitCount` (popcount).
On native platforms,
they operate on the full 64-bit two's complement representation.
On web targets,
they operate on the least significant 32 bits.
For details, see SDK issue [#52673][].

[#52673]: https://github.com/dart-lang/sdk/issues/52673

Read more: https://github.com/dart-lang/sdk/issues/52673

### [Libraries] — `dart:io` (Fixed)
_Released: 2026-08-12_

Fixed cookie date parsing to follow the permissive algorithm
specified in the HTTP state management RFC.
The parser now accepts non-standard date formats again,
rather than restricting inputs to strictly formatted dates.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Libraries] — `dart:io` (Fixed)
_Released: 2026-08-12_

**Behavioral change**:
File access and modification timestamps
(`File.lastModified`, `FileStat`, `lastAccessed`, `lastModified`,
`setLastAccessed`, and `setLastModified`)
now preserve microsecond precision
instead of truncating or rounding to millisecond accuracy.
For details, see SDK issue [#42444][].

[#42444]: https://github.com/dart-lang/sdk/issues/42444

Read more: https://github.com/dart-lang/sdk/issues/42444

### [Libraries] — `dart:io` (Breaking, New)
_Released: 2026-08-12_

**Breaking change**:
Added `InterfaceAddress`, a subtype of `InternetAddress`
that exposes a `prefixLength` field and a `broadcast` getter
for network interfaces.
`NetworkInterface.addresses` now returns `List<InterfaceAddress>`
instead of `List<InternetAddress>`.
Classes implementing `NetworkInterface` and overriding `addresses`
must update their return type accordingly.
For details, see SDK issue [#63216][].

[#63216]: https://github.com/dart-lang/sdk/issues/63216

Read more: https://github.com/dart-lang/sdk/issues/63216

### [Libraries] — `dart:io` (Changed)
_Released: 2026-08-12_

`InternetAddress.lookup` no longer accepts non-standard IPv4 address formats
historically accepted by `inet_aton`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Libraries] — `dart:isolate` (New)
_Released: 2026-08-12_

Added synchronous execution and event loop control APIs to `Isolate`:
`Isolate.runSync`, `Isolate.create`, `Isolate.shutdownSync`,
`Isolate.pinToCurrentThread`, `Isolate.isPinnedToCurrentThread`,
`Isolate.runEventLoopSync`, `Isolate.onEvent`, and `Isolate.handleEvent`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2026-08-12_

Made `JSFunction` and `JSExportedDartFunction` generic
for increased static type safety.
`JSExportedDartFunction<T>.toDart` now casts the wrapped function
to type `T`,
and `isA<JSExportedDartFunction<T>>` checks that the wrapped function
is a `T`.
The type argument `T` is otherwise purely descriptive;
runtime types of `JSFunction` and `JSExportedDartFunction`
remain unchanged.
For details, see SDK issue [#54557][].

[#54557]: https://github.com/dart-lang/sdk/issues/54557

Read more: https://github.com/dart-lang/sdk/issues/54557

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-08-12_

Added `JSObject.getPrototypeOf` to `dart:js_interop`
for retrieving JavaScript object prototypes.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Analyzer (New)
_Released: 2026-08-12_

Added LSP support for Inline Values (`textDocument/inlineValue`),
allowing IDEs and debuggers to render inline variable evaluations
during active debugging sessions.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Analyzer (New, Experimental)
_Released: 2026-08-12_

Added custom LSP methods (`dart/textDocument/getFlutterWidgetPreviews`
and `dart/workspace/getFlutterWidgetPreviews`)
to serve Flutter Widget Preview metadata to editor clients.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Analyzer (New)
_Released: 2026-08-12_

Added custom LSP method `dart/connectToDtd`,
enabling language server clients to pair the Analysis Server
with the Dart Tooling Daemon (DTD).

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Analyzer (New)
_Released: 2026-08-12_

Added the `no_raw_types` lint rule,
replacing the `strict-raw-types` analysis option
for more consistent type checking.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Analyzer (New)
_Released: 2026-08-12_

Added the `no_dynamic_casts` lint rule,
replacing the `strict-casts` analysis option
for more consistent type checking.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Analyzer (Deprecated)
_Released: 2026-08-12_

Deprecated low-value lint rules `avoid_private_typedef_functions`
and `one_member_abstracts`.
To continue using these rules, re-implement them with [analyzer plugins][].

[analyzer plugins]: https://dart.dev/tools/analyzer-plugins

Read more: https://dart.dev/tools/analyzer-plugins

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `async_return_with_no_await` lint rule,
which warns on `async` functions returning a non-`Future` value
without using `await`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `empty_container_bodies` lint rule,
which flags empty bodies in classes, enums, mixins, or extensions.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `initialize_in_field_declaration` lint rule,
which recommends initializing fields at their declaration site
where applicable.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `unnecessary_const_in_enum_constructor` lint rule,
which flags redundant `const` keywords in enum constructors.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `unnecessary_primary_constructor_body` lint rule,
which flags unnecessary or empty bodies on primary constructors.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `unnecessary_type_name_in_constructor` lint rule,
which flags redundant explicit type names in constructor declarations.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New)
_Released: 2026-08-12_

Added `use_declaring_parameters` lint rule,
which encourages declaring parameters in primary constructors.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Linter (New, Experimental)
_Released: 2026-08-12_

Added experimental `use_primary_constructors` lint rule,
which encourages adopting primary constructor syntax
when primary constructors are enabled.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Formatter (Changed)
_Released: 2026-08-12_

`dart format --version --verbose` now displays supported language versions.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Formatter (Fixed)
_Released: 2026-08-12_

Fixed a crash in `dart format`
when an `analysis_options.yaml` file includes a non-existent
or unreadable file ([dart_style #1840][]).

[dart_style #1840]: https://github.com/dart-lang/dart_style/issues/1840

Read more: https://github.com/dart-lang/dart_style/issues/1840

### [Tools] — Formatter (Fixed)
_Released: 2026-08-12_

Fixed an eager splitting optimization bug
that caused collections or argument lists to split unnecessarily
in rare cases ([dart_style #1809][]).

[dart_style #1809]: https://github.com/dart-lang/dart_style/issues/1809

Read more: https://github.com/dart-lang/dart_style/issues/1809

### [Tools] — Formatter (Fixed)
_Released: 2026-08-12_

Prevented `dart format` from inserting an unwanted blank line
before a comment at the end of a compilation unit or braced body
([dart_style #1644][]).

[dart_style #1644]: https://github.com/dart-lang/dart_style/issues/1644

Read more: https://github.com/dart-lang/dart_style/issues/1644

### [Tools] — Formatter (Fixed)
_Released: 2026-08-12_

Formatted extension type representation clauses consistently
with primary constructor formal parameter lists.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Formatter (Fixed)
_Released: 2026-08-12_

Fixed formatting in enums with members
so a newline is not inserted before the `;`
unless a trailing comma is present.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Added trailing commas to split extension type representation clauses
when formatting code at language version 3.13 or higher
([dart_style #1845][]).

[dart_style #1845]: https://github.com/dart-lang/dart_style/issues/1845

Read more: https://github.com/dart-lang/dart_style/issues/1845

### [Tools] — Formatter (Fixed, Language versioned)
_Released: 2026-08-12_

Fixed an eager splitting optimization bug
that led the formatter to prefer suboptimal line splits
([dart_style #1847][]).

[dart_style #1847]: https://github.com/dart-lang/dart_style/issues/1847

Read more: https://github.com/dart-lang/dart_style/issues/1847

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Improved formatting to prefer splitting call chains
for single-element targets ([dart_style #1732][]).

[dart_style #1732]: https://github.com/dart-lang/dart_style/issues/1732

Read more: https://github.com/dart-lang/dart_style/issues/1732

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Added support for block formatting parameter lists
([dart_style #1693][]).

[dart_style #1693]: https://github.com/dart-lang/dart_style/issues/1693

Read more: https://github.com/dart-lang/dart_style/issues/1693

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Added support for block formatting `as`, `is`, and `is!` expressions
([dart_style #1542][]).

[dart_style #1542]: https://github.com/dart-lang/dart_style/issues/1542

Read more: https://github.com/dart-lang/dart_style/issues/1542

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Updated `dart format` to separate imports into distinct sections
([dart_style #1120][]).

[dart_style #1120]: https://github.com/dart-lang/dart_style/issues/1120

Read more: https://github.com/dart-lang/dart_style/issues/1120

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Updated `dart format` to split `if-case` guards
when the associated pattern block-splits ([dart_style #1596][]).

[dart_style #1596]: https://github.com/dart-lang/dart_style/issues/1596

Read more: https://github.com/dart-lang/dart_style/issues/1596

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

When formatting code that exceeds page width limits,
preferred solutions where overflowing lines end in string literals
or comments ([dart_style #1802][], [dart_style #1803][],
and [dart_style #1837][]).

[dart_style #1802]: https://github.com/dart-lang/dart_style/issues/1802
[dart_style #1803]: https://github.com/dart-lang/dart_style/issues/1803
[dart_style #1837]: https://github.com/dart-lang/dart_style/issues/1837

Read more: https://github.com/dart-lang/dart_style/issues/1802

### [Tools] — Formatter (Changed, Language versioned)
_Released: 2026-08-12_

Enforced blank lines around mixin and extension type declarations
without a `;` body.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Pub (New)
_Released: 2026-08-12_

Added `dart pub workspace list` to list all workspace packages
and their directory paths, with support for `--json` output.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Pub (New)
_Released: 2026-08-12_

Added `dart pub cache preload` for installing packages
directly into `PUB_CACHE` from `.tar.gz` archives.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Dart CLI (New)
_Released: 2026-08-12_

Added cross-compilation support to `dart build cli`
via the `--target-os` and `--target-arch` flags.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Tools] — Dart CLI (Changed)
_Released: 2026-08-12_

Updated `dart build` and `dart compile`
to support using locally built target binaries
from a local SDK build directory (identified by `build.ninja`),
avoiding downloads from Google Cloud Storage.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Dart Runtime] (Removed)
_Released: 2026-08-12_

Removed built-in fallback root certificates
when system certificates are missing.
Use `--root-certs-file` or `--root-certs-cache` options
to provide certificates manually.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Dart Runtime] — C Embedder API (Breaking)
_Released: 2026-08-12_

**Breaking change**:
Updated `Dart_FileModifiedCallback` in `dart_tools_api.h`
to pass `int64_t since` in microseconds since epoch instead of milliseconds,
matching `FileStat` microsecond precision.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

### [Dart Runtime] — C Embedder API (New)
_Released: 2026-08-12_

Added `Dart_SetCurrentThreadOwnsIsolate`
and `Dart_GetCurrentThreadOwnsIsolate` functions
to `dart_api.h` and `dart_api_dl.h`,
allowing custom embedders to bind and query isolate thread ownership.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3130

## Dart 3.12

### [Language] — Private named parameters (New)
_Released: 2026-05-18_

Introduced support for [private named parameters](/language/constructors#private-named-parameters)
on initializing formals and primary constructor parameters.
This feature allows constructors to accept named parameters
that directly initialize private fields.
The leading underscore is automatically omitted
to determine the public parameter name at the call site.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Libraries] — `dart:core` (New)
_Released: 2026-05-18_

The Dart VM `RegExp` implementation now supports modifier spans and duplicate
named capture groups.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Libraries] — `dart:js_interop` (Breaking)
_Released: 2026-05-18_

Moved `isA` from `JSAnyUtilityExtension` to `NullableObjectUtilExtension`
to support type-checking any `Object?`. In addition, `isA<JSObject>()`
correctly evaluates JS objects that lack prototypes, and `isA<JSAny>()`
robustly verifies that a value is a valid JS value. Because
`NullableObjectUtilExtension` applies to the broader `Object?` supertype
rather than `JSAny?`, this migration is backwards-compatible for most code.
This change breaks existing code only if you explicitly referenced the
`JSAnyUtilityExtension` name by applying the extension directly or by
importing it with `show`/`hide` directives.

Read more: https://github.com/dart-lang/sdk/issues/56905

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2026-05-18_

`isA<JSExportedDartFunction>()` now checks whether the function is a JS
wrapper function returned by `Function.toJS` or `Function.toJSCaptureThis`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-05-18_

Added `JSIterableProtocol`, `JSIterable`, `JSIteratorProtocol`, `JSIterator`,
and `JSIteratorResult` types to model JavaScript's iteration protocols.
`JSArray` and `JSString` now implement `JSIterable`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-05-18_

Added extension types to provide `Iterable.toJSIterable`,
`JSIterable.toDartIterable`, `Iterator.toJSIterator`, and
`JSIterator.toDartIterator`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (New)
_Released: 2026-05-18_

The new [`simple_directive_paths`](/tools/linter-rules/simple_directive_paths)
lint flags unnecessarily complex `import` and `export` paths,
such as paths containing redundant `./` or backtracking `../` segments.
The associated quick fix simplifies these paths automatically.

Use `dart fix --code=simple_directive_paths` (with either `--dry-run` or
`--apply`) to bulk fix existing lint violations across your project.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (Changed)
_Released: 2026-05-18_

The `prefer_initializing_formals` lint rule now reports named parameters
that qualify as [private named parameters](/language/constructors#private-named-parameters),
if the package pubspec enables the language feature (for example, `sdk: ^3.12.0`).

Use `dart fix --code=prefer_initializing_formals` (with either `--dry-run` or
`--apply`) to bulk fix existing lint violations.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (New)
_Released: 2026-05-18_

`dart fix` now supports fixing `avoid_final_parameters` lint violations
using `dart fix --code=avoid_final_parameters` (with either `--dry-run` or
`--apply`).

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (Changed)
_Released: 2026-05-18_

The analyzer now warns when tearing off a function that has a `@mustBeConst`
annotated parameter.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (Changed)
_Released: 2026-05-18_

The `invalid_runtime_check_with_js_interop_types` rule now checks for JS
interop types within catch clauses and instructs you to use `isA` for type
checks instead.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (New)
_Released: 2026-05-18_

Added initial support for 'print debugging' via new sections
in the "Plugins" Insights (Diagnostics) page.
When a plugin computes lint and warning diagnostics,
the analysis server now redirects `print` calls and presents the messages
in the appropriate plugin's section on the Plugins page.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (Changed)
_Released: 2026-05-18_

Improved support for extension types in many existing lint rules.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (Changed)
_Released: 2026-05-18_

Improved support for null-aware elements in existing lint rules.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Analyzer (Changed)
_Released: 2026-05-18_

The analysis server starts up faster due to improved caching of analysis
options files. The exact speedup depends on the number of analysis options
files in your workspace and the number of included files,
with the greatest improvements seen on systems with slower disk access.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Pub (Changed)
_Released: 2026-05-18_

`dart pub cache repair` now by default only repairs the packages referenced
by your current project's `pubspec.lock`.
To repair all packages, use the `--all` flag.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Pub (Changed)
_Released: 2026-05-18_

`dart pub add` and `dart pub unpack` now accept `@` as an alternative to `:`
for separating a package name from its version constraint.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — Pub (New)
_Released: 2026-05-18_

Git dependencies now support LFS.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — dart2wasm (Changed)
_Released: 2026-05-18_

Updated the deferred loading module loader API to support batched fetching of
deferred modules. The embedder now uses `loadDeferredModules` instead of
`loadDeferredModule`. This new callback accepts an array of module names
rather than a single module name. In addition, all module loading functions
must accept an `instantiator` callback and pass the loaded results to it.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

### [Tools] — dart2js (Fixed)
_Released: 2026-05-18_

`JSExportedDartFunction.toDart` sometimes incorrectly returned the original
Dart function even if the wrapper JS function was cast from a call to the
deprecated `allowInterop`. To be consistent with DDC and dart2wasm,
it now throws if the wrapper JS function wasn't a result of `Function.toJS` or
`Function.toJSCaptureThis`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3120

## Dart 3.11

### [Libraries] — `dart:io` (New)
_Released: 2026-02-11_

Added support for Unix domain sockets (`AF_UNIX`) on Windows. Support is
restricted to the subset of features supported by the OS. Windows currently
does not support the following features for `AF_UNIX` sockets: datagram
sockets, ancillary data, or abstract socket addresses. Unix domain sockets are
represented in the filesystem using _reparse points_ which leads to some
discrepancies in the behavior of `dart:io` APIs: for example
`File(socketPath).existsSync()` will return `true` on POSIX operating systems,
but `false` on Windows. Use `FileSystemEntity.typeSync()` instead to get
portable behavior.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Libraries] — `dart:js_interop` (New)
_Released: 2026-02-11_

Added a constructor to `JSSymbol`, as well as `JSSymbol.key`,
`JSSymbol.description`, and static methods for all well-known ECMAScript
symbols.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Libraries] — `dart:js_util` (Breaking, Removed)
_Released: 2026-02-11_

dart2wasm no longer supports `dart:js_util`. Any code that imports
`dart:js_util` will no longer compile with dart2wasm. Consequently, code that
depends on `package:js` will no longer compile with dart2wasm either. The name
`dart.library.js_util` is no longer a key in dart2wasm compilation
environments, including in conditional imports and exports.

Read more: https://github.com/dart-lang/sdk/issues/61550

### [Tools] — Analyzer (Changed)
_Released: 2026-02-11_

The Insights pages (aka the "Analysis Server Diagnostics" pages) now show
data regarding the "Message Scheduler."

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (New)
_Released: 2026-02-11_

The "Fix all in workspace" command now supports a progress indicator.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Changed)
_Released: 2026-02-11_

Analysis via analyzer plugins is now faster on subsequent runs, as the
analysis server will now re-use an existing AOT snapshot of the plugin's
entrypoint. This saves a constant amount of time at the start of each IDE
session and `dart analyze` run, on the order of 10 seconds.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Fixed)
_Released: 2026-02-11_

Various fixes were made for the `call` method on a Function object, like "go
to definition," and completion.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Fixed)
_Released: 2026-02-11_

Various fixes were made for the `error` and `stackTrace` parameters of
try/catch statements.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Fixed)
_Released: 2026-02-11_

Various fixes were made for syntax highlighting, navigation, code completion,
hovers, quick fixes, assists, "rename" refactoring, and "go to imports."

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Fixed)
_Released: 2026-02-11_

Fixed various issues with support for the "dot shorthands" syntax in IDEs.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Fixed)
_Released: 2026-02-11_

Implemented LSP format-on-type improvements to
not format in undesirable cases.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Fixed)
_Released: 2026-02-11_

Fixes to the "Extract Widget" refactoring.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (New)
_Released: 2026-02-11_

A new lint rule was added: `simplify_variable_pattern`, which encourages
using the pattern shorthand for variables and property names of the same
name.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Deprecated)
_Released: 2026-02-11_

The `avoid_null_checks_in_equality_operators` lint rule is now deprecated.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Deprecated)
_Released: 2026-02-11_

The `prefer_final_parameters` lint rule is now deprecated.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Analyzer (Deprecated)
_Released: 2026-02-11_

The `use_if_null_to_convert_nulls_to_bools` lint rule is now deprecated.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Dart development compiler (dartdevc) (Changed)
_Released: 2026-02-11_

The async timing of the `Future` returned by `deferred_prefix.loadLibrary()`
is now consistent regardless of whether proper deferred imports are supported in the
runtime environment or not. This makes the timing more consistent with dart2js
where the loads are always an async operation.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Pub (New, Language versioned)
_Released: 2026-02-11_

"Glob" support has been added for pub workspaces.
Now to include all packages inside `pkgs/` in the workspace, simply write:

```yaml
workspace:
  - pkgs/*
```

Supported if the Dart SDK constraint of the containing package is 3.11.0 or
higher.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Pub (New)
_Released: 2026-02-11_

Added the new command `dart pub cache gc` for reclaiming disk space from your pub
cache.
It works by removing packages from your pub cache that are not referenced by
any of your current projects.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Pub (New)
_Released: 2026-02-11_

When running a dry run of `dart pub publish` with the `--dry-run` flag,
you can now ignore warnings with the `--ignore-warnings` flag.

When you specify this flag, the dry run will only exit with
a non-zero exit code if package validation has errors.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [SDK] — Platform updates (Changed)
_Released: 2026-02-11_

Added support for Unix domain sockets on Windows in `dart:io`.
Also removed support for `dart:js_util` in dart2wasm, requiring migration to
`dart:js_interop`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#3110

### [Tools] — Wasm compilation (Removed, Breaking)
_Released: 2026-02-11_

Code that imports `dart:js_util` or `package:js` now results in a
compilation error when compiling to WebAssembly. Invoking any API from these
libraries will result in a runtime error. Usages should be migrated to
`dart:js_interop` and `dart:js_interop_unsafe`.

Read more: https://github.com/dart-lang/sdk/issues/61550

## Dart 3.10

### [Language] — Dot shorthands (Changed)
_Released: 2025-11-12_

Introduced dot shorthands for enums and other static members,
allowing you to omit the type name when the context makes it clear. It also
improves type inference for `sync*` and `async*` generator functions,
eliminating spurious `null` from their return types. The analyzer now
supports a new plugin system for custom rules and quick fixes, and several
new lints and assists have been added. Additionally, the Dart CLI has been
split from the Dart VM into a separate executable.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#310

### [Language] — Generator functions (Fixed)
_Released: 2025-11-12_

`sync*` and `async*` generator functions without a specified return now
correctly infer return types as non-nullable when no `null` value is
yielded. This might trigger new diagnostics related to unnecessary code
elements, such as an unnecessary null-aware access operator (`?.`).

### [Libraries] — `dart:core` (Fixed)
_Released: 2025-11-12_

The `Uri.parseIPv4Address` and `Uri.parseIPv6Address` functions no longer
incorrectly allow leading zeros in IPv4 addresses.

Read more: https://github.com/dart-lang/sdk/issues/61392

### [Libraries] — `dart:core` (Deprecated)
_Released: 2025-11-12_

The ability to implement `RegExp` and `RegExpMatch` is deprecated and will
be removed in a future release.

### [Libraries] — `dart:io` (Deprecated)
_Released: 2025-11-12_

`IOOverrides` can no longer be implemented, but can still be extended.

Read more: https://github.com/dart-lang/sdk/issues/56468

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2025-11-12_

The `Uint16ListToJSInt16Array` extension has been renamed to
`Uint16ListToJSUint16Array`.

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2025-11-12_

The `JSUint16ArrayToInt16List` extension has been renamed to
`JSUint16ArrayToUint16List`.

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2025-11-12_

The `Function.toJSCaptureThis` function now results in addditional
compile-time checks to match `Function.toJS`. If the function doesn't have a
statically known type, has unsupported types in its signature, includes type
parameters, or has any named parameters, the call will result in a
compile-time error.

### [Tools] — SDK (Changed)
_Released: 2025-11-12_

The `dart` CLI and Dart VM are now separate executables, with the pure Dart
VM executable and process called `dartvm`. Dart programs should still be run
with `dart run`.

Read more: /tools/dart-run

### [Tools] — SDK (Changed)
_Released: 2025-11-12_

Subcommands of the `dart` tool, such as `dart format` and `dart compile` now
run AOT-compiled snapshots of the underlying tools. There should be no
functional difference outside of performance improvements, but if you come
across incompatibilities, please report them.

Read more: https://github.com/dart-lang/sdk/issues/new/choose

### [Tools] — SDK (Removed, Breaking)
_Released: 2025-11-12_

The `dart` tool is no longer available for IA32 platforms as the Dart SDK no
longer supports IA32.

### [Tools] — Analyzer (Changed)
_Released: 2025-11-12_

Using members marked as `@experimental` outside the package they are
declared in now results in a warning.

### [Tools] — Analyzer (Changed)
_Released: 2025-11-12_

Lint rules enabled in included analysis options files now result in
incompatible lint diagnostics when appropriate.

### [Tools] — Analyzer (Removed, Breaking)
_Released: 2025-11-12_

The deprecated `@required` annotation from `package:meta` is no longer
supported. To mark a parameter as required, instead use the `required`
keyword.

### [Tools] — Wasm compilation (Removed, Breaking)
_Released: 2025-11-12_

`dart:js_util` and `package:js` are no longer supported when compiling to
WebAssembly. Invoking any API from these libraries will result in a runtime
error. Usages should be migrated to `dart:js_interop` and
`dart:js_interop_unsafe`.

Read more: https://github.com/dart-lang/sdk/issues/61550

### [Tools] — Wasm compilation (Changed)
_Released: 2025-11-12_

To match the JS compilers, `dartify` when compiled to Wasm, now converts JS
`Promise` objects to Dart `Future` objects instead of Dart `JSValue`
objects.

Read more: https://github.com/dart-lang/sdk/issues/54573

## Dart 3.9

### [3.9.4] [Tools] — Pub (Fixed)
_Released: 2025-09-30_

`dart pub get --example` now resolves `example/` folders across the entire
workspace, not only in the root package. This fixes an issue where
`flutter pub get` could crash if examples had not been resolved before
resolving the workspace.

Read more: https://github.com/dart-lang/pub/issues/4674

### [3.9.3] [Tools] — Development JavaScript compiler (DDC) (Fixed)
_Released: 2025-09-09_

This patch release fixes a performance regression in modular builds where
static calls are deeply nested within a closure.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#393

### [3.9.2] [Tools] — Development JavaScript compiler (DDC) (Fixed)
_Released: 2025-08-27_

This patch release fixes an issue in DDC where static getters could be
unintentionally invoked during a hot reload.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#392

### [3.9.1] [SDK] — DevTools, ARM32, git dependencies (Changed)
_Released: 2025-08-20_

This patch release fixes issues in DevTools, ARM32 compilation, and git
dependencies using `tag_pattern`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#391

### [SDK] — Type promotion (Changed)
_Released: 2025-08-13_

Dart's type system now assumes null safety for
type promotion, reachability, and definite assignment.
The analysis server is now AOT compiled for improved performance.
New lints `switch_on_type` and `unnecessary_unawaited` were added,
along with a new `@awaitNotRequired` annotation.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#390

### [Language] — Null safety (Language versioned, Changed)
_Released: 2025-08-13_

Null safety is now assumed when computing type promotion, reachability, and
definite assignment. As a result, improved dead code analysis might cause
new analyzer diagnostics to trigger on existing code that previously passed
analysis.

### [Tools] — Command line (Changed)
_Released: 2025-08-13_

Some subcommands of the `dart` tool, such as `dart analyze` and `dart fix`
now run AOT-compiled snapshots of the underlying tools. There should be no
functional difference outside of performance improvements, but if you come
across incompatibilities, please report them.

Read more: https://github.com/dart-lang/sdk/issues/new/choose

### [Tools] — Pub (Language versioned, Fixed, New)
_Released: 2025-08-13_

The upper bound of the  `flutter` SDK constraint in your workspace's root
package is now respected. If your current SDK doesn't meet the specified
bound, `dart pub get` and other actions that retrieve dependencies will
fail.

Read more: https://github.com/flutter/flutter/issues/95472

### [Tools] — Dart build (Experimental)
_Released: 2025-08-13_

Building a CLI app bundle with experimental native asset support now
requires using the `dart build cli` subcommand and specifying the app
entrypoint with a new `--target` option.

## Dart 3.8

### [3.8.3] [SDK] — DevTools, Hot Restart (Changed)
_Released: 2025-07-31_

This patch release fixes issues with the DevTools Network screen and Hot
Restart.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#383

### [3.8.2] [SDK] — Dart2Wasm (Changed)
_Released: 2025-07-16_

This patch release fixes an issue with the size of cross-compiled binaries.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#382

### [3.8.1] [SDK] — DDC (Changed)
_Released: 2025-05-28_

This patch release fixes an issue in DDC with late variables being
incorrectly captured within async function bodies.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#381

### [SDK] — Null-aware elements (Changed)
_Released: 2025-05-20_

Introduced null-aware elements for collections, making it easier to
conditionally add elements based on nullability. Also added
`Iterable.withIterator`, `HttpClientBearerCredentials`, and various analyzer
improvements including new quick fixes and lints.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#380

### [Language] — Collections (New)
_Released: 2025-05-20_

Added support for null-aware elements in collection literals. A null-aware
element evaluates an expression and, if the result is not `null`, inserts
the value into the surrounding collection.

Read more: /language/collections#null-aware-element

### [Libraries] — `dart:html` (Removed, Breaking)
_Released: 2025-05-20_

The `Element.created` constructor has been removed.

### [Libraries] — `dart:html` (Deprecated)
_Released: 2025-05-20_

Native classes in `dart:html`, such as `HtmlElement`, can no longer be
extended.

Read more: https://github.com/dart-lang/sdk/issues/53264

### [Tools] — Analyzer (Deprecated)
_Released: 2025-05-20_

The `avoid_null_checks_in_equality_operators` lint rule is deprecated and
should be removed from `analysis_options.yaml` files.

Read more: /tools/linter-rules/avoid_null_checks_in_equality_operators

### [Tools] — Development JavaScript compiler (Changed)
_Released: 2025-05-20_

Now throws a runtime error when a redirecting factory constructor is torn
off and one of its optional non-nullable parameters is provided no value. In
the future this is likely to be a compile-time error.

Read more: /language/functions#tear-offs

### [Tools] — Production JavaScript compiler (Experimental, Removed, Breaking)
_Released: 2025-05-20_

The `--experiment-new-rti` and `--use-old-rti` flags are no longer
supported.

### [Tools] — Formatter (Language versioned, Changed, Fixed, New)
_Released: 2025-05-20_

The formatter builds on the previous release's rewrite, incorporating
feedback, bug fixes, and further enhancements. It now intelligently
automates trailing comma placement, deciding whether to split constructs
rather than forcing them. The update also includes style changes to tighten
and improve code output.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#380 

## Dart 3.7

### [3.7.3] [SDK] — Analysis server (Changed)
_Released: 2025-04-16_

This patch release fixes a performance regression in the analysis server.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#373

### [3.7.2] [SDK] — dart2wasm (Changed)
_Released: 2025-03-12_

This patch release fixes a bug in dart2wasm related to `js-string` builtin
functions with non-nullable parameter types.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#372

### [3.7.1] [SDK] — DevTools, DDC, CFE (Changed)
_Released: 2025-02-26_

This patch release fixes bugs in the DevTools network profiler, DDC factory
constructors with generic local functions, and wildcard variable marking in
the CFE.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#371

### [SDK] — Wildcard variables (Changed)
_Released: 2025-02-12_

Introduced wildcard variables, a new "tall" style for the dart
formatter, and officially deprecated older web libraries in favor of
`package:web` and `dart:js_interop`. Also implemented numerous analyzer
improvements and new lints.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#370

### [Language] — Wildcard variables (Language versioned, Changed, New)
_Released: 2025-02-12_

Wildcard variables are now supported. A wildcard variable is a local
variable or parameter named `_`. Wildcard variables are non-binding, so they
can be declared multiple times without collisions. For example:

```dart
Foo(_, this._, super._, void _()) {}
```

Read more: /language/variables#wildcard-variables

### [Language] — Type promotion (Changed)
_Released: 2025-02-12_

Reachability analysis now accounts for if a field is type promoted to `Null`
using `is` or `as`. This makes the type system more self-consistent, because
it mirrors the behavior of promoted local variables. This change isn't
expected to make any difference in practice.

Read more: https://github.com/dart-lang/sdk/issues/56893

### [Libraries] — Web libraries (Deprecated)
_Released: 2025-02-12_

The `dart:html`, `dart:indexed:db`, `dart:svg`, `dart:web_audo`,
`dart:web_gl`, and `dart:js` libraries are officially deprecated. They are
expected to be removed in a future release. Project should migrate to use
`package:web` and `dart:js_interop`. To learn more, check out [Migrate to
package:web](/interop/js-interop/package-web).

Read more: https://pub.dev/packages/web

### [Libraries] — JS Interop (Deprecated)
_Released: 2025-02-12_

The `dart:js`, `dart:js_util`, and `package:js` libraries are officially
deprecated. They are expected to be removed in a future release. Projects
should migrate to use `dart:js_interop`. To learn more, check out JS interop
usage.

Read more: /interop/js-interop/usage

### [Tools] — Analyzer (Removed, Breaking)
_Released: 2025-02-12_

The `package_api_docs` and [`unsafe_html`](/tools/linter-rules/unsafe_html)
lint rules have been removed and should be removed from
`analysis_options.yaml` files.

Read more: /tools/linter-rules/package_api_docs

### [Tools] — Formatter (Language versioned, Changed)
_Released: 2025-02-12_

The `dart format` command is now tied to the language version as of 3.7. If
the language version of an input file is 3.7 or later, the code is formatted
with the new tall style.

The new style looks similar to the style you get when you add trailing
commas to argument lists, except that now the formatter will add and remove
those commas for you. When an argument or parameter lists splits, it is
formatted like so:

```dart
longFunction(
  longArgument,
  anotherLongArgument,
);
```

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#dart-format

### [Tools] — Formatter (Removed, Breaking)
_Released: 2025-02-12_

The `--fix` flag for `dart format` is no longer supported. To apply similar
fixes and more, configure your analysis options and run [`dart
fix`](/tools/dart-fix).

Read more: /tools/analysis

### [Tools] — Formatter (Deprecated)
_Released: 2025-02-12_

The `--line-length` option for `dart format` has been deprecated and set to
be removed. All usages should be migrated to the new `--page-width` option.

## Dart 3.6

### [3.6.2] [SDK] — HttpServer, Dart Format, DevTools, Dart Fix (Changed)
_Released: 2025-01-30_

This patch release fixes bugs in `HttpServer` response encoding, `dart
format` parsing of digit separators, DevTools analytics, and `dart fix`
application.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#362

### [3.6.1] [SDK] — Pub get, dart2wasm, analysis options (Changed)
_Released: 2025-01-08_

This patch release fixes issues with `pub get` in workspaces, AOT/dart2wasm
compilation crashes, and analysis options discovery in workspaces.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#361

### [SDK] — Digit separators (Changed)
_Released: 2024-12-11_

Introduced digit separators for number literals, improved `throw`
expression type inference, and added support for pub workspaces. Also added
new `JSArray` constructors and methods in `dart:js_interop`, and several
new lints and assists.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#360

### [Language] — Digit separators (New)
_Released: 2024-12-11_

Added support for digit separator underscores (`_`) to the language. Digit
separators improve readability of long number literals.

```dart
var m = 1__000_000__000_000__000_000;
```

Read more: /language/built-in-types#digit-separators

### [Language] — Type inference (Changed)
_Released: 2024-12-11_

The context used by Dart to perform type inference on the operand of a throw
expression has been changed from the "unknown type" to `Object`. This makes
the type system more self-consistent, because it reflects the fact that it's
not legal to throw `null`. This change isn't expected to make any difference
in practice.

Read more: https://github.com/dart-lang/sdk/issues/56065

### [Libraries] — `dart:io` (Removed, Breaking)
_Released: 2024-12-11_

The `Platform()` constructor has been removed. All instantiations of
`Platform` should be removed.

Read more: https://github.com/dart-lang/sdk/issues/52444

### [Libraries] — `dart:io` (Changed)
_Released: 2024-12-11_

`HttpClient` now responds to a redirect that's missing a "Location" header
by throwing a `RedirectException` instead of a `StateError`.

Read more: https://github.com/dart-lang/sdk/issues/53618

### [Tools] — Analyzer (Deprecated)
_Released: 2024-12-11_

The `package_api_docs` and [`unsafe_html`](/tools/linter-rules/unsafe_html)
lint rules have been deprecated and are set to be removed in Dart 3.7.

Read more: /tools/linter-rules/package_api_docs

### [Tools] — Compiler front end (Changed)
_Released: 2024-12-11_

The Dart compiler now computes the upper and lower closures of type schemas
just before they're passed into the subtype testing procedure. Before Dart
3.6, the compiler computed them at the very beginning of the upper and
lower-bound computations. The analyzer already followed this behavior, so
apps that already pass analysis are unlikely to be affected by this change.

Read more: https://github.com/dart-lang/sdk/issues/56466

### [Tools] — Wasm compiler (Changed)
_Released: 2024-12-11_

The condition `dart.library.js` is now `false` on conditional imports when
compiling to WebAssembly. The `dart.library.js_interop` condition should be
used instead.

### [Tools] — Formatter (Changed)
_Released: 2024-12-11_

The following changes might result in small formatting changes when running
`dart format` with a Dart 3.6 SDK or later:

### [Tools] — Formatter (Changed)
_Released: 2024-12-11_

Preserve type parameters on old-style function-typed formals that also use
`this.` or `super.`.

### [Tools] — Formatter (Fixed)
_Released: 2024-12-11_

Correctly format imports with both `as` and `if` clauses.

### [Tools] — Pub (Changed)
_Released: 2024-12-11_

`dart pub publish` now warns if files that are tracked in git have
uncommitted changes.

## Dart 3.5

### [3.5.3] [SDK] — DevTools (Changed)
_Released: 2024-09-11_

This patch release fixes issues with DevTools memory tool OOMs, missing tab
bars in IntelliJ/Android Studio, and persistent release notes.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#353

### [3.5.2] [SDK] — Dart VM (Changed)
_Released: 2024-08-28_

This patch release fixes bugs in `ZLibDecoder`, running `dart` from `PATH`,
and analysis server context roots in multi-package workspaces.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#352

### [3.5.1] [SDK] — Dart2Wasm (Changed)
_Released: 2024-08-14_

This patch release fixes issues with `include:` in `analysis_options.yaml`,
wasm source maps, and several `dart2wasm` compiler bugs.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#351

### [SDK] — Sound null safety only (Changed)
_Released: 2024-08-06_

Aligned type inference for `await` and if-null expressions with the
analyzer. Also updated `dart:core` `DateTime` on web to store
microseconds, made `SecurityContext` final, and removed unsound null safety
support in the VM.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#350

### [Language] — Type inference (Changed, New)
_Released: 2024-08-06_

When the context for an `await` expression is `dynamic`, the context for the
operand of expression is now `FutureOr<_>`. This has been changed to match
the behavior of the analyzer.

Read more: https://github.com/dart-lang/sdk/issues/55418

### [Language] — Type inference (Changed, New)
_Released: 2024-08-06_

When the context for an entire if-null expression (`e1 ?? e2`) is `dynamic`,
the context for `e2` is now the static type of `e1`. This has been changed
to match the behavior of the analyzer. The old behavior can be restored by
supplying explicit types.

Read more: https://github.com/dart-lang/sdk/issues/55436

### [Libraries] — `dart:core` (Changed)
_Released: 2024-08-06_

`DateTime` now stores microseconds on the web platform, more closely
matching the behavior on native platforms.

Read more: https://github.com/dart-lang/sdk/issues/44876

### [Libraries] — `dart:io` (Changed)
_Released: 2024-08-06_

`SecurityContext` is now final and can no longer be subclassed.

Read more: https://github.com/dart-lang/sdk/issues/55786

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2024-08-06_

`importModule` now accepts a `JSAny` instead of a `String` to support other
JS values as well, such as `TrustedScriptURL` objects.

Read more: https://github.com/dart-lang/sdk/issues/55508

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2024-08-06_

`isTruthy` and `not` now return `JSBoolean` instead of `bool` to be
consistent with other JS operator methods.

Read more: https://github.com/dart-lang/sdk/issues/55267

### [Libraries] — `dart:js_interop` (Changed)
_Released: 2024-08-06_

`ExternalDartReference` no longer implements `Object`. Instead, it now
accepts a type parameter (`T`) with a bound of `Object?` to capture the type
of the Dart object that is externalized.

Read more: https://github.com/dart-lang/sdk/issues/56015

### [Libraries] — `dart:typed_data` (Removed, Breaking)
_Released: 2024-08-06_

The unmodifiable view classes for typed data have been removed. Instead of
using the constructors of these classes, use the new `asUnmodifiableView`
methods on typed data lists.

Read more: https://github.com/dart-lang/sdk/issues/53218

### [Dart Runtime] — Sound null safety only (Removed, Breaking)
_Released: 2024-08-06_

The Dart VM no longer supports unsound null safety.
- The `--no-sound-null-safety` CLI option has been removed.
- The `Dart_NewListOf` and `Dart_IsLegacyType` functions have been
removed from the C API.

### [Dart Runtime] — C API (Removed, Breaking)
_Released: 2024-08-06_

The `Dart_DefaultCanonicalizeUrl` function has been removed from the C API.

## Dart 3.4

### [3.4.4] [SDK] — Dart2Wasm (Changed)
_Released: 2024-06-12_

This patch release fixes issues with pub advisory fetching,
`dart.library.ffi` conditional imports in dart2wasm, and variadic arguments
on MacOS Arm64 FFI.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#344

### [3.4.3] [SDK] — Dart2Wasm (Changed)
_Released: 2024-06-05_

This patch release fixes bugs in `dart compile exe` `DART_VM_OPTIONS`
parsing, dart2wasm `array.new_fixed()` limits, and adds
`--enable-experiment` support to dart2wasm.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#343

### [3.4.2] [SDK] — Dart2Wasm (Changed)
_Released: 2024-05-29_

This patch release marks `dart compile wasm` as stable. It also fixes bugs
in dart2wasm exception handling, `this` restoration in async functions, and
implements missing control flow constructs.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#342

### [3.4.1] [SDK] — CFE (Changed)
_Released: 2024-05-22_

This patch release fixes a CFE bug affecting Flutter web apps compiled with
dart2wasm and a pub client bug interfering with Flutter l10n.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#341

### [SDK] — Type analysis (Changed)
_Released: 2024-05-14_

Improved type analysis for conditional expressions, if-null, and
switch expressions. Also added `ExternalDartReference` to
`dart:js_interop`, deprecated unmodifiable typed data views, and removed
`waitFor` from `dart:cli`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#340

### [Language] — Type analysis (Changed)
_Released: 2024-05-14_

Added improvements to the type analysis of conditional expressions, if-null
expressions and assignments, and switch expressions.

### [Language] — Patterns (Changed)
_Released: 2024-05-14_

The pattern context type schema for cast patterns is now `_` (the unknown
type) instead of `Object?`.

Read more: https://github.com/dart-lang/sdk/issues/54640

### [Language] — Type inference (Changed)
_Released: 2024-05-14_

The type schema used by the Dart compilers to perform type inference on the
operand of a null-aware spread operator (`...?`) in `map` and `set` literals
has been made nullable, to match what currently happens in `list` literals.

Read more: https://github.com/dart-lang/sdk/issues/54828

### [Libraries] — `dart:cli` (Experimental, Removed, Breaking)
_Released: 2024-05-14_

The `waitFor` function has been removed.

Read more: https://github.com/dart-lang/sdk/issues/52121

### [Libraries] — `dart:html`, `dart:indexed:db`, `dart:svg`, `dart:web_audo`, `dart:web_gl` (Deprecated)
_Released: 2024-05-14_

These libraries are now marked as legacy and will see less support in the
future. New projects should prefer to use `package:web` and
`dart:js_interop`. To learn more, check out [Migrate to
package:web](/interop/js-interop/package-web).

Read more: https://pub.dev/packages/web

### [Libraries] — `dart:js` (Deprecated)
_Released: 2024-05-14_

This library is now marked as legacy and will see less support in the
future. Usages should be migrated to `dart:js_interop` and
`dart:js_interop_unsafe`. To learn more, check out
`/go/next-gen-js-interop`.

Read more: https://dart.dev/go/next-gen-js-interop

### [Libraries] — `dart:js_util` (Deprecated)
_Released: 2024-05-14_

This library is now marked as legacy and will see less support in the
future. Usages should be migrated to `dart:js_interop` and
`dart:js_interop_unsafe`. To learn more, check out
`/go/next-gen-js-interop`.

Read more: https://dart.dev/go/next-gen-js-interop

### [Libraries] — `dart:io` (New, Changed)
_Released: 2024-05-14_

`Stdout` has a new field `lineTerminator`, which allows developers to
control the line ending used by `stdout` and `stderr`. Classes that
implement `Stdout` must define the `lineTerminator` field. The default
semantics of `stdout` and `stderr` are not changed.

Read more: https://github.com/dart-lang/sdk/issues/53863

### [Libraries] — `dart:io` (Deprecated)
_Released: 2024-05-14_

The `FileSystemDeleteEvent.isDirectory` property. It always returns `false`.

### [Libraries] — `dart:typed_data` (Deprecated)
_Released: 2024-05-14_

The unmodifiable view classes for typed data are deprecated. Instead of
using the constructors of these classes, use the new `asUnmodifiableView`
methods on typed data lists.

Read more: https://github.com/dart-lang/sdk/issues/53218

### [Tools] — Production JavaScript compiler (Experimental, Deprecated)
_Released: 2024-05-14_

You should now specify a format to the `--dump-info` CLI option of either
`binary` or `json`. The `json` format is deprecated and might be removed in
a future Dart release.

### [Tools] — Wasm compiler (Experimental)
_Released: 2024-05-14_

Various `dart compile wasm` CLI arguments have been updated, removed, or
replaced. To learn more, run `dart compile wasm --verbose --help`.

### [Dart Runtime] — Dart VM (Removed, Breaking)
_Released: 2024-05-14_

The Dart VM no longer supports external strings. As a result, the
`Dart_IsExternalString`, `Dart_NewExternalLatin1String`, and
`Dart_NewExternalUTF16String` functions have been removed from the Dart C
API.

## Dart 3.3

### [3.3.4] [SDK] — Dart2Wasm (Changed)
_Released: 2024-04-17_

This patch release fixes an issue with JS interop in dart2wasm where `@JS`
annotations on enclosing libraries were incorrectly used.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#334

### [3.3.3] [SDK] — Dart VM (Changed)
_Released: 2024-03-27_

This patch release fixes a Dart VM crash on older Windows CPUs lacking
SSE4.1.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#333

### [3.3.2] [SDK] — CFE (Changed)
_Released: 2024-03-20_

This patch release fixes bugs in the CFE related to incremental compilation
crashes and redirecting factories in extension types, and a VM issue with
`DateTime.timeZoneName` on Windows.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#332

### [3.3.1] [SDK] — Dart2js (Changed)
_Released: 2024-03-06_

This patch release fixes a dart2js issue with object literal constructors in
interop extension types and disallows certain extension types in `await`
expressions.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#331

### [SDK] — Extension types (Changed)
_Released: 2024-02-15_

Introduced extension types for zero-cost wrappers, improved private
field promotion, and added new features to `dart:ffi` and `dart:js_interop`,
including `Native.addressOf` and `importModule`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#330

### [SDK] — Experiments (Experimental, Removed, Breaking)
_Released: 2024-02-15_

The following experiments are now retired as they were released in Dart 3
and are no longer necessary with a language version of 3.0 or greater.
Configuration of them should be removed from analysis options, CLI commands,
and IDE configurations.
* `patterns`
* `records`
* `class-modifers`
* `sealed-class`

### [Language] — Extension types (New)
_Released: 2024-02-15_

Added support for extension types. Extension types are a new feature in Dart
that allow zero-cost wrapping of an existing type. They are similar to
wrapper classes and extension methods, but with implementation differences
and different tradeoffs.

```dart
extension type Meters(int value) {
  String get label => '${value}m';
  Meters operator +(Meters other) => Meters(value + other.value);
}

void main() {
  var m = Meters(42); // Has type `Meters`.
  var m2 = m + m; // OK, type `Meters`.
  // int i = m; // Compile-time error, wrong type.
  // m.isEven; // Compile-time error, no such member.
  assert(identical(m, m.value)); // Succeeds.
}
```

Read more: /language/extension-types

### [Language] — Private field promotion (Changed)
_Released: 2024-02-15_

Abstract getters are now promotable under the rules of private final field
promotion, if there are no conflicting declarations.

Read more: /tools/non-promotion-reasons

### [Libraries] — `dart:cli` (Experimental, Deprecated)
_Released: 2024-02-15_

The `waitFor` function remains deprecated for another release and is set for
removal in Dart 3.4.

Read more: https://github.com/dart-lang/sdk/issues/52121

### [Libraries] — `dart:ffi` (Deprecated)
_Released: 2024-02-15_

The `elementAt` pointer arithmetic methods on `Pointer` types are
deprecated. Migrate to the `-` and `+` operators instead.

Read more: https://github.com/dart-lang/sdk/issues/54250

### [Libraries] — `dart:ffi` (Experimental, Removed, Breaking)
_Released: 2024-02-15_

The previously deprecated `@FfiNative` annotation has been removed. Usages
should be updated to use the `@Native` annotation.

### [Libraries] — `dart:html` (Changed)
_Released: 2024-02-15_

Instead of using `HttpRequest` directly, it is now recommended to use
`package:http`.

Read more: https://pub.dev/packages/http

### [Libraries] — `dart:io` (Changed)
_Released: 2024-02-15_

Instead of using `HttpClient` directly, it is now recommended to use
`package:http`.

Read more: https://pub.dev/packages/http

### [Libraries] — `dart:js_interop` (Experimental)
_Released: 2024-02-15_

JS types like `JSAny` have new compiler-specific representation types.

Read more: https://github.com/dart-lang/sdk/issues/52687

### [Libraries] — `dart:js_interop` (Experimental)
_Released: 2024-02-15_

User-defined `@staticInterop` classes can no longer implement `JSAny` or
`JSObject`. Usages should be migrated to `JSObject.fromInteropObject` or be
defined as extension types.

Read more: https://github.com/dart-lang/sdk/issues/52687

### [Libraries] — `dart:js_interop` (Experimental)
_Released: 2024-02-15_

`JSArray` and `JSPromise` now have generic parameters.

### [Libraries] — `dart:js_interop` (Experimental)
_Released: 2024-02-15_

Various extension members were moved or renamed. To learn about the updated
extensions, reference `JSAnyUtilityExtension` and `JSAnyOperatorExtension`.

### [Libraries] — `dart:typed_data` (Deprecated, New)
_Released: 2024-02-15_

The unmodifiable view classes for typed data will be deprecated in Dart 3.4.
Instead of using the constructors of these classes, use the new
`asUnmodifiableView` methods on typed data lists.

Read more: https://github.com/dart-lang/sdk/issues/53218

### [Libraries] — `dart:nativewrappers` (Experimental)
_Released: 2024-02-15_

All native wrapper classes are now marked `base` so that none of their
subtypes can be implemented.

Read more: https://github.com/dart-lang/sdk/issues/51896

### [Tools] — Production JavaScript compiler (Deprecated)
_Released: 2024-02-15_

The `Invocation` that is passed to `noSuchMethod` no longer has a minified
`memberName`, even when compiled with `--minify`.

Read more: https://github.com/dart-lang/sdk/issues/54201

### [Tools] — Wasm compiler (Experimental)
_Released: 2024-02-15_

Disallow importing legacy JS interop libraries. Prefer using
`dart:js_interop` and `dart:js_interop_unsafe` instead.

Read more: https://github.com/dart-lang/sdk/issues/54004

### [Tools] — Analyzer (Experimental)
_Released: 2024-02-15_

Invalid `dart doc` comment directives are now reported by the analyzer.

### [Tools] — Analyzer (Changed)
_Released: 2024-02-15_

Due to improvements in type promotion, the following analyzer diagnostics
might trigger on existing code that previously passed analysis:
* `unnecessary_non_null_assertion`
* `unnecessary_cast`
* `invalid_null_aware_operator`

Read more: https://github.com/dart-lang/sdk/issues/54056

### [Tools] — Linter (Removed, Breaking)
_Released: 2024-02-15_

The `iterable_contains_unrelated_type` and `list_remove_unrelated_type`
lints were removed. Consider migrating to the expanded
`collection_methods_unrelated_type` lint.

Read more: /tools/linter-rules/collection_methods_unrelated_type

### [Tools] — Linter (Removed, Breaking)
_Released: 2024-02-15_

The following lints are removed due to no longer being necessary with sound
null safety. You should remove configuration of them from your
`analysis_options.yaml` files and any ignore comments.
* `always_require_non_null_named_parameters`
* `avoid_returning_null`
* `avoid_returning_null_for_future`

## Dart 3.2

### [3.2.3] [SDK] — Dart VM (Changed)
_Released: 2023-12-06_

This patch release fixes issues with final fields in constant contexts,
upgrades DevTools, and fixes AOT snapshot crashes on certain ARM/x86-64
CPUs.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#323

### [3.2.2] [SDK] — Analyzer (Changed)
_Released: 2023-11-29_

This patch release adjusts nullability computations in the upper bound
algorithm and fixes missing closure code completion in LSP-based editors.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#322

### [3.2.1] [SDK] — Dart doc (Changed)
_Released: 2023-11-22_

This patch release fixes bugs in `dart doc` generation, JSON array parsing
causing segfaults in `flutter test`, and upgrades DevTools.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#321

### [SDK] — Private field promotion (Changed)
_Released: 2023-11-15_

Introduced private field promotion, allowing private final fields
to be promoted to non-nullable types. Also included breaking changes to
refutable patterns split points, disabled `waitFor` by default, and changed
`utf8.encode` return type to `Uint8List`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#320

### [Language] — Private field promotion (New)
_Released: 2023-11-15_

Expanded type promotion to work on private final fields. Previously only
available for local variables and parameters, now private final fields can
promote to non-nullable types through null checks and `is` tests. For
example, the following code is now sound:

```dart
class Example {
  final int? _privateField;

  Example(this._privateField);

  void f() {
    if (_privateField != null) {
      // _privateField has now been promoted; you can use it without
      // null checking it.
      int i = _privateField; // OK
    }
  }
}

// Private field promotions also work from outside of the class:
void f(Example x) {
  if (x._privateField != null) {
    int i = x._privateField; // OK
  }
}
```

For more information on when private final fields can and can't promote,
check out [Fixing type promotion failures](/tools/non-promotion-reasons).

Read more: /tools/non-promotion-reasons

### [Language] — Type promotion (Language versioned, Fixed)
_Released: 2023-11-15_

Corrected inconsistencies in type promotion behavior of if-case statements
where the value being matched against throws an exception.

Read more: /language/branches#if-case

### [Language] — Patterns (Language versioned, Fixed)
_Released: 2023-11-15_

Changed the split point for refutable patterns to the top level pattern so
type promotion in if-case statements is consistent regardless of whether the
scrutinee might throw an exception.

Read more: https://github.com/dart-lang/sdk/issues/53167

### [Libraries] — `dart:cli` (Experimental, Deprecated)
_Released: 2023-11-15_

Deprecated the `waitFor` function.

Read more: https://github.com/dart-lang/sdk/issues/52121

### [Libraries] — `dart:convert` (Changed)
_Released: 2023-11-15_

Changed return types of `utf8.encode()` and `Utf8Codec.encode()` from
`List<int>` to `Uint8List`.

Read more: https://github.com/dart-lang/sdk/issues/52801

### [Libraries] — `dart:developer` (Deprecated)
_Released: 2023-11-15_

Deprecated the `Service.getIsolateID` method.

### [Libraries] — `dart:ffi` (Changed)
_Released: 2023-11-15_

Changed `NativeCallable.nativeFunction` so calls now throw an error if the
receiver is already closed, instead of returning `nullptr`.

Read more: https://github.com/dart-lang/sdk/issues/53311

### [Libraries] — `dart:io` (Changed)
_Released: 2023-11-15_

Eliminated trailing whitespace from HTTP headers.

Read more: https://github.com/dart-lang/sdk/issues/53005

### [Libraries] — `dart:io` (Changed)
_Released: 2023-11-15_

Inserted a space at the fold point of folded header values that
`HttpClientResponse.headers` and `HttpRequest.headers` return.

Read more: https://github.com/dart-lang/sdk/issues/53227

### [Libraries] — `dart:js_interop` (Experimental, Removed, Breaking)
_Released: 2023-11-15_

`JSNumber.toDart` in favor of `toDartDouble` and `toDartInt`.

### [Libraries] — `dart:js_interop` (Experimental, Removed, Breaking)
_Released: 2023-11-15_

`Object.toJS` in favor of `Object.toJSBox.`

### [Libraries] — `dart:js_interop` (Changed, Experimental)
_Released: 2023-11-15_

Restricted external JS interop APIs using `dart:js_interop` to a set of
allowed types.

### [Libraries] — `dart:js_interop` (Changed, Experimental)
_Released: 2023-11-15_

Prohibited use of `isNull` and `isUndefined` on dart2wasm.

### [Libraries] — `dart:js_interop` (Changed, Experimental)
_Released: 2023-11-15_

Changed `typeofEquals` and `instanceof` APIs to both return bool instead of
`JSBoolean`. Also, `typeofEquals` now takes `String` instead of `JSString`.

### [Libraries] — `dart:js_interop` (Changed, Experimental)
_Released: 2023-11-15_

Changed `JSAny` and `JSObject` types to only implementable, not extendable,
by user `@staticInterop` types.

### [Libraries] — `dart:js_interop` (Changed, Experimental)
_Released: 2023-11-15_

Changed `JSArray.withLength` to take `int` instead of `JSNumber`.

### [Tools] — Development JavaScript compiler (New)
_Released: 2023-11-15_

Added interceptors for JavaScript `Symbol` and `BigInt` types; they should
no longer be used with `package:js` classes.

Read more: https://github.com/dart-lang/sdk/issues/53106

### [Tools] — Production JavaScript compiler (New)
_Released: 2023-11-15_

Added interceptors for JavaScript `Symbol` and `BigInt` types; they should
no longer be used with `package:js` classes.

Read more: https://github.com/dart-lang/sdk/issues/53106

### [Tools] — Analyzer (Language versioned, Changed)
_Released: 2023-11-15_

Private final field promotion might cause the following analyzer warnings to
trigger on existing code that previously passed analysis:
* [`unnecessary_non_null_assertion`](/tools/diagnostics/unnecessary_non_null_assertion)
* [`invalid_null_aware_operator`](/tools/diagnostics/invalid_null_aware_operator)
* [`unnecessary_cast`](/tools/diagnostics/unnecessary_cast)

```dart
class C {
  final num? _x = null;
  void test() {
    if (_x != null) {
      print(_x! * 2); // unnecessary_non_null_assertion
      print(_x?.abs()); // invalid_null_aware_operator
    }
    if (_x is int) {
      print((_x as int).bitLength); // unnecessary_cast
    }
  }
}
```

Read more: https://github.com/dart-lang/language/issues/2020

## Dart 3.1

### [3.1.5] [SDK] — Dart2js (Changed)
_Released: 2023-10-25_

This patch release fixes an issue affecting Dart compiled to JavaScript
running in Node.js 21.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#315

### [3.1.4] [SDK] — Dart VM (Changed)
_Released: 2023-10-18_

This patch release fixes a Dart VM issue where variable values were not
visible while debugging.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#314

### [3.1.3] [SDK] — Dart2js (Changed)
_Released: 2023-09-27_

This patch release fixes a dart2js crash with `@staticInterop` factories,
avoids symbol conflicts in the standalone VM, and fixes slow variable access
during debugging.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#313

### [3.1.2] [SDK] — Dart2js (Changed)
_Released: 2023-09-13_

This patch release fixes a dart2js crash with typed record patterns in field
initializers and fixes unhandled exception pauses in the debugger.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#312

### [3.1.1] [SDK] — Parser (Changed)
_Released: 2023-09-07_

This patch release fixes a parser bug that prevented nested record patterns
from using destructuring shorthand syntax.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#311

### [SDK] — `dart:async`, `dart:io` (Changed)
_Released: 2023-08-16_

Added breaking changes to `dart:async` and `dart:io` class
modifiers, introduced `NativeCallable` for FFI, and made various updates to
`dart:core` and `dart:js_interop`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#310

### [Libraries] — `dart:async` (New)
_Released: 2023-08-16_

Added `interface` modifier to purely abstract classes:
`MultiStreamController`, `StreamConsumer`, `StreamIterator` and
`StreamTransformer`.

Read more: https://github.com/dart-lang/sdk/issues/52334

### [Libraries] — `dart:io` (New)
_Released: 2023-08-16_

Added `sameSite` to the `Cookie` class, and added the class `SameSite`.

Read more: https://github.com/dart-lang/sdk/issues/51486

### [Libraries] — `dart:io` (Deprecated)
_Released: 2023-08-16_

`FileSystemEvent` is `sealed`. This means `FileSystemEvent` cannot be
extended or implemented.

Read more: https://github.com/dart-lang/sdk/issues/52027

### [Libraries] — `dart:js_interop` (Experimental, Removed, Breaking)
_Released: 2023-08-16_

`ObjectLiteral`; create an object literal with no named members using
`{}.jsify()`.

### [Libraries] — `package:js` (Deprecated)
_Released: 2023-08-16_

`external` `@staticInterop` members and `external` extension members can no
longer be used as tear-offs. Declare a closure or a non-`external` method
that calls these members, and use that instead.

### [Libraries] — `package:js` (Deprecated)
_Released: 2023-08-16_

`external` `@staticInterop` members and `external` extension members will
generate slightly different JS code for methods that have optional
parameters.

## Dart 3.0

### [3.0.7] [SDK] — Dart2js (Changed)
_Released: 2023-07-26_

This patch release fixes a dart2js bug causing `TypeError` or
`NoSuchMethodError` when using records.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#307

### [3.0.6] [SDK] — Analyzer (Changed)
_Released: 2023-07-12_

This patch release fixes issues with flow analysis, infinite loops in web
compiles involving records, and memory leaks in the analyzer.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#306

### [3.0.5] [SDK] — Frontend (Changed)
_Released: 2023-06-14_

This patch release fixes a bad cast in the frontend causing dart2js crashes
during Flutter web builds.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#305

### [3.0.4] [SDK] — Dart format (Changed)
_Released: 2023-06-07_

This patch release fixes `dart format` for nullable record types with no
fields and errors when using records in web development mode.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#304

### [3.0.3] [SDK] — Frontend (Changed)
_Released: 2023-02-07_

This patch release fixes AOT compiler crashes, pattern matching issues, adds
missing `interface` modifiers, and improves linter support.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#303

### [3.0.2] [SDK] — Dart2js (Changed)
_Released: 2023-05-24_

This patch release fixes dart2js crashes with switch expressions on records,
adds class modifier chips to `dart doc`, and fixes parser infinite loops.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#302

### [3.0.1] [SDK] — Compiler (Changed)
_Released: 2023-05-17_

This patch release fixes compiler crashes with redirecting factories and
FFI, dart2js crashes with local functions and records, and various other
bugs.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#301

### [SDK] — Dart 3 (Changed)
_Released: 2023-05-10_

Introduced major language features including records, patterns,
class modifiers, and 100% sound null safety. Also made many other
improvements and breaking changes across the platform.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#300

### [Language] — Patterns (New)
_Released: 2023-05-10_

Added support for patterns, a new category of grammar that lets you match
and destructure values.

Read more: /language/patterns

### [Language] — Records (New)
_Released: 2023-05-10_

Added support for records, a new type that lets you aggregate multiple
values of different types in a single function return.

Read more: /language/records

### [Language] — Class modifiers (New)
_Released: 2023-05-10_

Added support for class modifiers, a new set of keywords that let you
control how a class or mixin can be used.

Read more: /language/class-modifiers

### [Language] — Switch expressions (New)
_Released: 2023-05-10_

Added support for switch expressions, a new form of multi-way branching
allowed where expressions are expected.

Read more: /language/branches#switch

### [Language] — Patterns (New)
_Released: 2023-05-10_

Added support for if-case clauses, a new conditional construct that matches
a value against a pattern and executes the then or else branch, depending on
whether the pattern matches.

Read more: /language/branches#if

### [Language] — Patterns (Language versioned, Changed)
_Released: 2023-05-10_

Changed interpretation of switch cases from constant expressions to
patterns.

Read more: /language/branches#switch

### [Language] — Class modifiers (Language versioned, Changed, Breaking)
_Released: 2023-05-10_

Class declarations from libraries that have been upgraded to Dart 3.0 can no
longer be used as mixins by default.

Read more: /language/mixins#class-mixin-or-mixin-class

### [Language] — Named parameters (Language versioned, Changed, Breaking)
_Released: 2023-05-10_

It is now a compile time error if a colon (`:`) is used as the separator
before the default value of an optional named parameter. Use an equal sign
(`=`) instead.

Read more: /language/functions#named-parameters

### [Language] — Control flow (Changed, Breaking)
_Released: 2023-05-10_

It is now a compile-time error if a `continue` statement targets a label
that is not attached to a loop statement (`for`, `do`, and `while`) or a
`switch` member.

Read more: https://github.com/dart-lang/sdk/issues/50902

### [Libraries] (Changed)
_Released: 2023-05-10_

The following existing classes have been made mixin classes: `Iterable`,
`IterableMixin`, `IterableBase`, `ListMixin`, `SetMixin`, `MapMixin`,
`LinkedListEntry`, `StringConversionSink`.

### [Libraries] — `dart:async` (Removed, Breaking)
_Released: 2023-05-10_

The following APIs have been removed:

`dart:core` + `onError` argument removed from `int.parse`, `double.parse`,
and `num.parse`. + `Deprecated.expires` (use `Deprecated.message` instead).
+ `proxy`, `Provisional`, `BidirectionalIterator` classes and constants. +
There errors were removed: `AbstractClassInstantiationError`,
`CyclicInitializationError`,
  `NullThrownError`, `FallThroughError`, `CastError` (use `TypeError`),
  `NoSuchMethodError` default constructor (use `NoSuchMethod.withInvocation`).

`dart:async` + `DeferredLibrary` (use the `import ... deferred as ...`
syntax instead).

`dart:developer` + `MAX_USER_TAGS` removed from `UserTag`.

`dart:html` + `document.registerElement` and `registerElement2`

Read more: https://github.com/dart-lang/sdk/issues/49529

### [Libraries] — `dart:core` (Deprecated)
_Released: 2023-05-10_

`List` constructor: Deprecated in favor of `List.filled`.

Read more: https://github.com/dart-lang/sdk/issues/49529

### [Libraries] — `dart:async` (Removed, Breaking)
_Released: 2023-05-10_

Removed the deprecated
[`DeferredLibrary`](https://api.dart.dev/stable/2.18.4/dart-async/DeferredLibrary-class.html)
class.

Read more: https://github.com/dart-lang/sdk/issues/49529

### [Libraries] — `dart:collection` (Language versioned, Changed)
_Released: 2023-05-10_

Changes to platform libraries.

Read more: /resources/dart-3-migration#dart-collection

### [Libraries] — `dart:developer` (Removed, Breaking)
_Released: 2023-05-10_

Removed the deprecated
[`MAX_USER_TAGS`](https://api.dart.dev/stable/dart-developer/UserTag/MAX_USER_TAGS-constant.html)
constant. Use
[`maxUserTags`](https://api.dart.dev/dart-developer/UserTag/maxUserTags-constant.html)
instead.

Read more: https://github.com/dart-lang/sdk/issues/49529

### [Libraries] — dart:developer (Removed, Breaking)
_Released: 2023-05-10_

Removed the deprecated
[`Metrics`](https://api.dart.dev/stable/2.18.2/dart-developer/Metrics-class.html)
and
[`Metric`](https://api.dart.dev/stable/2.18.2/dart-developer/Metric-class.html)
classes as they have been broken since Dart 2.0.

Read more: https://github.com/dart-lang/sdk/issues/50231

### [Libraries] — `dart:developer` (Removed, Breaking)
_Released: 2023-05-10_

Removed the deprecated
[`Counter`](https://api.dart.dev/stable/2.18.2/dart-developer/Counter-class.html)
class as it has been broken since Dart 2.0.

Read more: https://github.com/dart-lang/sdk/issues/50231

### [Libraries] — `dart:developer` (Removed, Breaking)
_Released: 2023-05-10_

Removed the deprecated
[`Gauge`](https://api.dart.dev/stable/2.18.2/dart-developer/Gauge-class.html)
class as it has been broken since Dart 2.0.

Read more: https://github.com/dart-lang/sdk/issues/50231

### [Libraries] — `dart:ffi` (Experimental, Deprecated)
_Released: 2023-05-10_

The `@FfiNative` annotation is now deprecated. Usages should be updated to
use the `@Native` annotation.

### [Libraries] — `dart:html` (Removed, Breaking)
_Released: 2023-05-10_

Removed the deprecated `registerElement` and `registerElement2` methods in
`Document` and `HtmlDocument`.

Read more: https://github.com/dart-lang/sdk/issues/49536

### [Libraries] — `dart:math` (Language versioned, Deprecated)
_Released: 2023-05-10_

The `Random` interface can only be implemented, not extended.

### [Libraries] — `dart:io` (New, Changed)
_Released: 2023-05-10_

Updated `NetworkProfiling` to accommodate new `String` ids that are
introduced in vm_service:11.0.0

Read more: https://github.com/dart-lang/sdk/issues/51035

### [Language] — Language versioning (Removed, Breaking)
_Released: 2023-05-10_

The 3.0 release of the Dart SDK dropped support for
[language versions](/language/versioning) before 2.12.

## Dart 2.19

### [2.19.6] [SDK] — VM (Changed)
_Released: 2023-03-29_

This patch release fixes a Dart VM crash when reading a defined but
uninitialized static field.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2196

### [2.19.5] [SDK] — FFI (Changed)
_Released: 2023-03-22_

This patch release fixes broken usage of `Dart_CObject_Type`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2195

### [2.19.4] [SDK] — VM (Changed)
_Released: 2023-03-08_

This patch release fixes VM crashes on mobile devices caused by specific
RegExp usage.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2194

### [2.19.3] [SDK] — Analysis server (Changed)
_Released: 2023-03-01_

This patch release updates DDC configuration and limits the number of
plugins per analysis context to prevent extreme memory usage in the Analysis
Server.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2193

### [2.19.2] [SDK] — VM (Changed)
_Released: 2023-02-08_

This patch release fixes VM crashes with mixed double/float calculations,
compiler crashes when inlining methods with many optional parameters, and
`part_of_different_library` errors in `PackageBuildWorkspace`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2192

### [2.19.1] [SDK] — Pub (Changed)
_Released: 2023-02-01_

This patch release fixes `pub get` behavior with older lockfiles, stops
rewriting SDK constraints, and fixes a VM crash caused by incorrect RegExp
sharing between isolates.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2191

### [SDK] — Unnamed libraries (Changed)
_Released: 2023-01-24_

Introduced support for unnamed libraries, improved flow analysis
for unreachable code, and reported compile-time errors for cyclic
dependencies during top-level type inference.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2190

### [Language] — Unnamed libraries (New)
_Released: 2023-01-25_

Added support for unnamed libraries. Library directives, used for appending
library-level doc comments and annotations, can and should now be written
without a name:

```dart
/// A really great test library.
@TestOn('browser')
library;
```

Read more: /effective-dart/style#dont-explicitly-name-libraries

### [Language] — Flow analysis (Changed)
_Released: 2023-01-25_

Added more flow analysis flags for unreachable code cases.

### [Language] — Flow analysis (Changed)
_Released: 2023-01-25_

Flagged additional code as unreachable due to types `Null` and `Never`.

Read more: https://github.com/dart-lang/sdk/issues/49635

### [Language] — Private names (Changed)
_Released: 2023-01-25_

Don't delegate inaccessible private names to `noSuchMethod`.

Read more: https://github.com/dart-lang/sdk/issues/49687

### [Language] — Type inference (Changed)
_Released: 2023-01-25_

Report a compile-time error for all cyclic dependencies during top-level
type inference.

Read more: https://github.com/dart-lang/sdk/issues/50383

### [Libraries] — `dart:convert` (Removed, Breaking)
_Released: 2023-01-25_

The previously deprecated API `DEFAULT_BUFFER_SIZE` in `JsonUtf8Encoder` has
been removed.

Read more: https://github.com/dart-lang/sdk/issues/34233

### [Libraries] — `dart:developer` (Removed, Breaking)
_Released: 2023-01-25_

Removed previously deprecated APIs `kInvalidParams`, `kExtensionError`,
`kExtensionErrorMax`, and `kExtensionErrorMin` in
`ServiceExtensionResponse`.

Read more: https://github.com/dart-lang/sdk/issues/34233

### [Libraries] — `dart:ffi` (Changed)
_Released: 2023-01-25_

Changed the runtime type argument of `Pointer` to `Never` in preparation of
completely removing the runtime type argument. Changed `Pointer.toString` to
not report any type argument.

Read more: https://github.com/dart-lang/sdk/issues/49935

### [Libraries] — `dart:io` (Changed)
_Released: 2023-01-25_

Disallow negative or hexadecimal content-length headers.

Read more: https://github.com/dart-lang/sdk/issues/49305

### [Libraries] — `dart:io` (New, Changed)
_Released: 2023-01-25_

`File.create` now takes new optional `exclusive` `bool` parameter, and when
it is `true` the operation will fail if target file already exists.

Read more: https://github.com/dart-lang/sdk/issues/49647

### [Libraries] — `dart:io` (Changed)
_Released: 2023-01-25_

Calling `ResourceHandle.toFile()`, `ResourceHandle.toSocket()`,
`ResourceHandle.toRawSocket()` or `ResourceHandle.toRawDatagramSocket()`,
more than once now throws a `StateError`.

Read more: https://github.com/dart-lang/sdk/issues/49878

### [Libraries] — `dart:isolate` (Changed)
_Released: 2023-01-25_

Reverted `SendPort.send` back to strict checks on contents of messages when
sending messages between isolates that are not known to share the same code.

### [Libraries] — `dart:mirrors` (Removed, Breaking)
_Released: 2023-01-25_

Removed APIs `MirrorsUsed` and `Comment`.

Read more: https://github.com/dart-lang/sdk/issues/34233

### [Libraries] — `package:js` (Changed, Deprecated)
_Released: 2023-01-25_

Breaking changes to the preview feature `@staticInterop`:
* Disallowed classes with this annotation from using `external`
generative constructors. See
[48730](https://github.com/dart-lang/sdk/issues/48730) and
[49941](https://github.com/dart-lang/sdk/issues/49941) for more details.
* Disallowed classes with this annotation's external extension members from
using type parameters.
* Classes with this annotation should also have the `@JS` annotation.
* Classes with this annotation can not be implemented by classes without
this annotation.

Read more: https://github.com/dart-lang/sdk/issues/49350

### [Libraries] — `dart2js` (Deprecated)
_Released: 2023-01-25_

`dart2js` no longer supports HTTP URIs as inputs.

Read more: https://github.com/dart-lang/sdk/issues/49473

## Dart 2.18

### [2.18.5] [SDK] — Variables (Changed)
_Released: 2022-11-23_

This patch release fixes issues with private variable setters in mixins on
web and type parameter nullability in factory constructors.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2185

### [2.18.4] [SDK] — Hot reload (Changed)
_Released: 2022-11-02_

This patch release fixes crashes during hot reload.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2184

### [2.18.3] [SDK] — Code coverage (Changed)
_Released: 2022-10-19_

This patch release fixes a regression in code coverage computation.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2183

### [2.18.2] [SDK] — Uri (Changed)
_Released: 2022-09-28_

This patch release fixes incorrect behavior in `Uri.parse` and a compiler
crash.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2182

### [2.18.1] [SDK] — Type inference (Changed)
_Released: 2022-09-14_

This patch release fixes a crash caused by incorrect type inference.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2181

### [SDK] — Type inference (Changed)
_Released: 2022-08-30_

Enhanced type inference for generic invocations with function
literals, introduced breaking changes in `dart:io` networking APIs, and
removed standalone tools like `dart2js` and `dartanalyzer`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2180

### [Language] — Type inference (New)
_Released: 2022-08-30_

Enhanced type inference. This change allows information flow between
arguments in generic function calls. Before 2.18, if you didn't specify an
argument's type in some methods, Dart reported errors. These type errors
cited potential null occurrences. With 2.18, the compiler infers the
argument type from other values in an invocation. You don't need to specify
the argument type inline.

Read more: /language/type-system#type-argument-inference

### [Language] — Mixins (Removed, Breaking)
_Released: 2022-08-30_

Removed support for mixin of classes that don't extend `Object`.

Read more: https://github.com/dart-lang/sdk/issues/48167

### [Libraries] — `dart:io` (Changed)
_Released: 2022-08-30_

Changed the `uri` property of `RedirectException` in `dart:io` to be
nullable.

Read more: https://github.com/dart-lang/sdk/issues/49045

### [Libraries] — `dart:io` (Removed, Breaking)
_Released: 2022-08-30_

Removed constants in `dart:io` networking APIs following the
`SCREAMING_CAPS` convention.

Read more: https://github.com/dart-lang/sdk/issues/34218

### [Libraries] — `dart:io` (Deprecated)
_Released: 2022-08-30_

The Dart VM no longer automatically restores the initial terminal settings
upon exit.

Read more: https://github.com/dart-lang/sdk/issues/45630

### [Tools] (Removed, Breaking)
_Released: 2022-08-30_

Fully discontinued the `.packages` file.

Read more: https://github.com/dart-lang/sdk/issues/48272

### [Tools] — Dart command line (Removed, Breaking)
_Released: 2022-08-30_

Removed the standalone `dart2js` and `dartdevc` tools.

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Removed, Breaking)
_Released: 2022-08-30_

Removed the standalone `dartanalyzer` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

## Dart 2.17

### [2.17.7] [SDK] — Debugger (Changed)
_Released: 2022-08-24_

This patch release fixes a crash in the debugger.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2177

### [2.17.6] [SDK] — Flutter (Changed)
_Released: 2022-07-13_

This patch release improves code completion for Flutter, fixes a crash on
ARM, and fixes a compiler crash with `Finalizable` parameters.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2176

### [2.17.5] [SDK] — Analyzer (Changed)
_Released: 2022-06-22_

This patch release improves analysis of enums and switch statements, and
fixes a compiler crash when initializing `Finalizable` objects.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2175

### [2.17.3] [SDK] — Dart VM (Changed)
_Released: 2022-06-01_

This patch release fixes a Dart VM compiler crash, code completion for
method overrides, `dart pub login`, and analysis of enhanced enums.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2173

### [2.17.1] [SDK] — Analyzer (Changed)
_Released: 2022-05-18_

This patch release fixes an analyzer plugin crash, FFI support for `late`
`Finalizable` variables, and `dart compile` on macOS 10.15.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2171

### [SDK] — Enhanced enums (Changed)
_Released: 2022-05-11_

Introduced enhanced enums with members, super-initializer
parameters, named arguments anywhere, and updates to `dart:core` and
`dart:ffi`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2170

### [Language] — Enhanced enums (New)
_Released: 2022-05-11_

Added support for enhanced enums with members. Enhanced enums allow enum
declarations to define members including fields, constructors, methods,
getters, etc.

Read more: /language/enums

### [Language] — Super parameters (New)
_Released: 2022-05-11_

Added support for super-initializer parameters. Super parameters allow you
to avoid having to manually pass each parameter into the super invocation of
a non-redirecting constructor. You can instead use super parameters to
forward parameters to a superclass constructor.

Read more: /language/constructors#super-parameters

### [Language] — Named parameters (New)
_Released: 2022-05-11_

Added support for named arguments anywhere. Named arguments can now be
freely interleaved with positional arguments. You can write
the following code:

```dart
void main() {
  test(skip: true, 'A test description', () {
    // Very long function body here...
  });
}
```

Read more: /language/functions#named-parameters

### [Libraries] — `dart:io` (New)
_Released: 2022-05-11_

Added new `connectionFactory` property to `HttpClient`.

Read more: https://github.com/dart-lang/sdk/issues/47887

### [Libraries] — `dart:io` (Fixed, New)
_Released: 2022-05-11_

Added new `keyLog` property to `HttpClient`, which allows TLS keys to be
logged for debugging purposes.

Read more: https://github.com/dart-lang/sdk/issues/48093

### [Libraries] — `dart:io` (Removed, Breaking)
_Released: 2022-05-11_

Removed constants in `dart:io` following the `SCREAMING_CAPS`

Read more: https://github.com/dart-lang/sdk/issues/34218

### [Libraries] — `dart:io` (New)
_Released: 2022-05-11_

Added a new `allowLegacyUnsafeRenegotiation` property to `SecurityContext`,
which allows TLS renegotiation for client secure sockets.

Read more: https://github.com/dart-lang/sdk/issues/48513

### [Tools] — Dart command line (Deprecated)
_Released: 2022-05-11_

Deprecated the standalone `dart2js` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Deprecated)
_Released: 2022-05-11_

Deprecated the standalone `dartdevc` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Removed, Breaking)
_Released: 2022-05-11_

Removed the standalone `dartdoc` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

## Dart 2.16

### [2.16.2] [SDK] — Flutter web (Changed)
_Released: 2022-03-24_

This patch release fixes a dart2js crash when building some Flutter web
apps.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2162

### [2.16.1] [SDK] — Flutter AOT (Changed)
_Released: 2022-02-09_

This patch release fixes an AOT precompiler crash when building some Flutter
apps.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2161

### [SDK] — Tooling updates (Changed)
_Released: 2022-02-03_

Added `Error.throwWithStackTrace`, `Abi` specific integers in FFI,
improved `dart pub` with concurrency and new commands, and deprecated
standalone tools in favor of `dart` commands.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2160

### [Libraries] — `dart:io` (New)
_Released: 2022-02-03_

On Windows, `Directory.rename` will no longer delete a directory if
`newPath` specifies one. Instead, a `FileSystemException` will be thrown.

Read more: https://github.com/dart-lang/sdk/issues/47653

### [Libraries] — `dart:io` (Removed, Breaking)
_Released: 2022-02-03_

Removed the `Platform.packageRoot` API.

Read more: https://github.com/dart-lang/sdk/issues/47769

### [Libraries] — `dart:isolate` (Removed, Breaking)
_Released: 2022-02-03_

Removed the `Isolate.packageRoot` API.

Read more: https://github.com/dart-lang/sdk/issues/47769

### [Tools] — Dart command line (Deprecated)
_Released: 2022-02-03_

Deprecated the standalone `dartanalyzer` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Deprecated)
_Released: 2022-02-03_

Deprecated the standalone `dartdoc` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Removed, Breaking)
_Released: 2022-02-03_

Removed the deprecated standalone `pub` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

## Dart 2.15

### [2.15.1] [SDK] — Flutter AOT (Changed)
_Released: 2021-12-14_

This patch release fixes an AOT compilation failure in some Flutter apps and
issues with `dart pub publish` for servers with a path in the URL.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2151

### [SDK] — Constructor tear-offs (Changed)
_Released: 2021-12-08_

Introduced constructor tear-offs, generic type literals, explicit
generic method instantiations, and improvements to `dart:core` enums and
developer tools.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2150

### [Language] — Constructor tear-offs (New)
_Released: 2021-12-08_

Improved support for function pointers, known as _tear-offs._ In particular,
constructor tear-offs are now supported.

Read more: /language/constructors#constructor-tear-offs

### [Libraries] — `dart:io` (Changed)
_Released: 2021-12-08_

Updated the `SecurityContext` class to set the minimum TLS protocol version
to TLS1_2_VERSION (1.2) instead of TLS1_VERSION.

Read more: https://github.com/dart-lang/sdk/issues/46875

### [Libraries] — `dart:web_sql` (Removed, Breaking)
_Released: 2021-12-08_

Completely deleted the `dart:web_sql` library.

Read more: https://github.com/dart-lang/sdk/issues/46316

### [Libraries] — `dart:html` (Removed, Breaking)
_Released: 2021-12-08_

Removed `window.openDatabase` (related to `dart:web_sql` deletion above).

Read more: https://github.com/dart-lang/sdk/issues/46316

### [Tools] — Dart command line (Removed, Breaking)
_Released: 2021-12-08_

Removed the standalone `dart2native` tool.

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Removed, Breaking)
_Released: 2021-12-08_

Removed the standalone `dartfmt` tool.

### [Tools] — Dart VM (Removed, Breaking)
_Released: 2021-12-08_

Removed support for `dart-ext:`-style native extensions

Read more: https://github.com/dart-lang/sdk/issues/45451

### [Tools] — Dart VM (Changed)
_Released: 2021-12-08_

Grouped isolates spawned via the `Isolate.spawn()` API to operate on the
same managed heap, and therefore share various VM-internal data structures.

Read more: https://github.com/dart-lang/sdk/issues/46754

## Dart 2.14

### [2.14.4] [SDK] — Analyzer (Changed)
_Released: 2021-10-14_

This patch release fixes a memory leak of analyzer plugins and issues with
Dart VM loading expired certificates on Windows.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2144

### [2.14.3] [SDK] — Performance (Changed)
_Released: 2021-09-30_

This patch release fixes a code completion performance regression and debug
information emitted by the Dart VM.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2143

### [2.14.2] [SDK] — Dartdoc (Changed)
_Released: 2021-09-16_

This patch release fixes dartdoc crashes, error messages for `>>>` on older
language versions, and invalid `pubspec.lock` paths on Windows.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2142

### [2.14.1] [SDK] — Performance (Changed)
_Released: 2021-09-09_

This patch release fixes Dart commandline tool startup performance on macOS
ARM64 (Apple Silicon).

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2141

### [SDK] — Triple shift (Changed)
_Released: 2021-09-09_

Introduced the triple-shift operator `>>>`, removed restrictions
on type arguments for annotations, and added new features to `dart:core` and
`dart:ffi`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2140

### [Language] — Operators (New)
_Released: 2021-09-08_

Added support for the triple-shift operator (`>>>`). This new operator works
like `>>`, except that it always fills the most significant bits with zeros.

Read more: /language/operators#bitwise-and-shift-operators

### [Language] — Annotations (Changed)
_Released: 2021-09-08_

Removed restrictions on type arguments for annotations. You can pass type
arguments to annotations and use a generic function type as a type argument.
As of this release, you can write the following code:

```dart
@TypeHelper<int>(42, "The meaning")
late List<T Function<T>(T)> idFunctions;
var callback = [<T>(T value) => value];
late S Function<S extends T Function<T>(T)>(S) f;
```

### [Libraries] — `dart:io` (Changed)
_Released: 2021-09-08_

The setter callbacks `.authenticate` and `.authenticateProxy` in
`HttpClient` must now accept a nullable `realm` argument (for pre-migrated
null safe code).

### [Libraries] — `dart:typed_data` (Deprecated)
_Released: 2021-09-08_

Most types exposed by this library can no longer be extended, implemented or
mixed-in.

Read more: https://github.com/dart-lang/sdk/issues/45115

### [Tools] — Dart VM (New)
_Released: 2021-09-08_

Expandos, and the `object` parameters of `Dart_NewWeakPersistentHandle` and
`Dart_NewFinalizableHandle`, no longer accept `Pointer` and subtypes of
`Struct`

Read more: https://github.com/dart-lang/sdk/issues/45071

### [Tools] — Dart command line (Deprecated)
_Released: 2021-09-08_

Deprecated the standalone `dart2native` tool

Read more: https://github.com/dart-lang/sdk/issues/46100

### [Tools] — Dart command line (Deprecated)
_Released: 2021-09-08_

Deprecated the standalone `dartfmt` tool.

### [Tools] — `dart2js` (Deprecated)
_Released: 2021-09-08_

`dart2js` no longer supports legacy browsers, because it emits ES6+
JavaScript by default.

Read more: https://github.com/dart-lang/sdk/issues/46545

### [Tools] — Dart dev compiler (Changed)
_Released: 2021-09-08_

Changed subtyping relations of `package:js` classes to be more correct and
consistent with Dart2JS.

Read more: https://github.com/dart-lang/sdk/issues/44154

## Dart 2.13

### [2.13.4] [SDK] — Compiler crashes (Changed)
_Released: 2021-06-28_

This patch release fixes a Dart VM compiler crash and a DDC compiler crash.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2134

### [2.13.3] [SDK] — Compiler crashes (Changed)
_Released: 2021-06-10_

This patch release fixes a Dart compiler crash, an analysis server deadlock,
and an analyzer crash when using `package:meta` v1.4.0.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2133

### [2.13.1] [SDK] — Type inference (Changed)
_Released: 2021-05-25_

This patch release fixes incorrect behavior in `CastMap` and missing
nullability from recursive type hierarchies in DDC.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2131

### [SDK] — Type aliases (Changed)
_Released: 2021-05-18_

Introduced non-function type aliases, improvements to
`dart:collection` classes, and FFI support for packed structs and inline
arrays.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2130

### [Language] — Type aliases (New)
_Released: 2021-05-19_

Added support for type aliases for any type, not just functions. Type
aliases used to work only for function types but now work for any type. You
can use the new name created with a type alias anywhere the original type
could be used.

Read more: /language/typedefs

### [Libraries] — `dart:ffi` (New)
_Released: 2021-05-19_

Added support for inline arrays in FFI structs and packed structs.

### [Libraries] — `package:js` (Deprecated)
_Released: 2021-05-19_

No longer valid to use a `String` that matches an `@Native` annotation in an
`@JS()` annotation for a non-anonymous JS interop class.

Read more: https://github.com/dart-lang/sdk/issues/44211

## Dart 2.12

### [2.12.4] [SDK] — Compiler crashes (Changed)
_Released: 2021-04-15_

This patch release fixes Dart VM compiler crashes when compiling
initializers containing async closures.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2124

### [2.12.3] [SDK] — Security (Changed)
_Released: 2021-04-14_

This patch release fixes a security vulnerability in `dart:html` related to
DOM clobbering (CVE-2021-22540).

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2123

### [2.12.2] [SDK] — Flutter crashes (Changed)
_Released: 2021-03-17_

This patch release fixes crashes reported by Flutter 2 users.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2122

### [2.12.1] [SDK] — HTTPS (Changed)
_Released: 2021-03-10_

This patch release fixes an unhandled exception in HTTPS connections and a
typing issue in the `typed_data` `+` operator.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2121

### [SDK] — Sound null safety (Changed)
_Released: 2021-03-03_

Introduced sound null safety, stable FFI, and many other new
features and improvements across the platform.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2120

### [Language] — Null safety (Changed)
_Released: 2021-03-03_

Null safety is now enabled by default in all code that has not opted out.
When you opt into null safety, types in your code are non-nullable by
default, meaning that variables can't contain null unless you say they can.
With null safety, your runtime null-dereference errors turn into edit-time
analysis errors.

Read more: /null-safety

### [Language] — Patch (Fixed)
_Released: 2021-03-03_

Fixed an implementation bug where `this` would sometimes undergo type
promotion in extensions.

Read more: https://github.com/dart-lang/sdk/issues/44660

### [Libraries] — `dart:ffi` (New, Language versioned)
_Released: 2021-03-03_

The FFI library is now stable.

Read more: /interop/c-interop

### [Libraries] — `dart:ffi` (Deprecated)
_Released: 2021-03-03_

Deprecated invocations with a generic `T` of `sizeOf<T>`,
`Pointer<T>.elementAt()`, `Pointer<T extends Struct>.ref`, and `Pointer<T
extends Struct>[]`

Read more: https://github.com/dart-lang/sdk/issues/44621

### [Libraries] — `dart:ffi` (Deprecated)
_Released: 2021-03-03_

Deprecated `allocate` in `package:ffi`, as it will no longer be able to
invoke `sizeOf<T>` generically.

Read more: https://github.com/dart-lang/sdk/issues/44621

### [Libraries] — `dart:ffi` (Deprecated)
_Released: 2021-03-03_

Deprecated subtypes of `Struct` without any native member.

Read more: https://github.com/dart-lang/sdk/issues/44622

### [Tools] — Dart VM (Changed)
_Released: 2021-03-03_

`Dart_WeakPersistentHandle` no longer auto-deletes itself when the
referenced object is garbage collected to avoid race conditions.

Read more: https://github.com/dart-lang/sdk/issues/42312

### [Tools] — Dart VM (Removed, Breaking, Changed)
_Released: 2021-03-03_

Renamed `Dart_WeakPersistentHandleFinalizer` to `Dart_HandleFinalizer` and
removed its `handle` argument.

Read more: https://github.com/dart-lang/sdk/issues/42312

### [Tools] — Pub (Changed)
_Released: 2021-03-03_

The Dart SDK constraint is now **required** in `pubspec.yaml`.

Read more: https://github.com/dart-lang/sdk/issues/44072

## Dart 2.10

### [2.10.5] [SDK] — Patch (Changed)
_Released: 2021-01-21_

This patch release fixes a crash in the Dart VM.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2105

### [2.10.4] [SDK] — Patch (Changed)
_Released: 2020-11-12_

This patch release fixes a crash in the Dart VM.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2104

### [2.10.3] [SDK] — Patch (Changed)
_Released: 2020-10-29_

This patch release fixes breaking changes in Chrome 86 affecting DDC,
compiler errors with positional parameters, and AOT compilation crashes.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2103

### [2.10.2] [SDK] — Patch (Changed)
_Released: 2020-10-15_

This patch release fixes a DDC compiler crash.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2102

### [2.10.1] [SDK] — Patch (Changed)
_Released: 2020-10-06_

This patch release fixes crashes in Flutter applications, non-deterministic
behavior, and uncaught TypeErrors in DDC.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2101

### [SDK] — Unified C API (Changed)
_Released: 2020-09-28_

Introduced a unified C API for the VM, `Dart_FinalizableHandle`s,
and deferred loading of types in `dart2js`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2100

### [Tools] — Dart VM (Changed)
_Released: 2020-10-01_

Renamed `dart_api_dl.cc` to `dart_api_dl.c` and changed to a pure C file.

Read more: https://github.com/dart-lang/sdk/issues/42982

## Dart 2.9

### [2.9.3] [SDK] — Patch (Changed)
_Released: 2020-09-08_

Fixes DDC to handle a breaking change in Chrome.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#293

### [2.9.2] [SDK] — Patch (Changed)
_Released: 2020-08-26_

Fixes transient StackOverflow exceptions when building Flutter applications.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#292

### [2.9.1] [SDK] — Patch (Changed)
_Released: 2020-08-12_

Fixes unhandled exceptions in some Flutter applications.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#291

### [SDK] — Platform updates (Changed)
_Released: 2020-08-05_

Updates `dart:io` with `exit` returning `Never` and `OSError` implementing
`Exception`. Improves `dart:html` `CssClassSet` methods to return `false`
instead of `null`. Web compilers now error on `dart:mirrors` import.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#290

### [Libraries] — `dart:convert` (Changed)
_Released: 2020-08-05_

When encoding a string containing unpaired surrogates as UTF-8, the unpaired
surrogates will be encoded as replacement characters (`U+FFFD`).

Read more: https://github.com/dart-lang/sdk/issues/41100

### [Libraries] — `dart:convert` (Changed)
_Released: 2020-08-05_

When decoding UTF-8, encoded surrogates will be treated as malformed input.

Read more: https://github.com/dart-lang/sdk/issues/41100

### [Libraries] — `dart:convert` (Changed)
_Released: 2020-08-05_

Changed the number of replacement characters emitted for malformed input
sequences to match the [WHATWG encoding
standard](https://encoding.spec.whatwg.org/#utf-8-decoder) when decoding
UTF-8 with `allowMalformed: true`.

Read more: https://github.com/dart-lang/sdk/issues/41100

### [Libraries] — `dart:html` (Changed)
_Released: 2020-08-05_

`CssClassSet.add()` and `CssClassSet.toggle` now return `false` instead of
`null` if the `CssClassSet` corresponds to multiple elements.

### [Libraries] — `dart:mirrors` (Changed)
_Released: 2020-08-05_

Web compilers (dart2js and DDC) now produce a compile-time error if
`dart:mirrors` is imported.

Read more: https://github.com/dart-lang/sdk/issues/42714

### [Tools] — Dart VM (Changed)
_Released: 2020-08-05_

When printing a string using the `print` function, the default
implementation will print any unpaired surrogates in the string as
replacement characters (`U+FFFD`).

Read more: https://github.com/dart-lang/sdk/issues/41100

### [Tools] — Dart VM (Changed)
_Released: 2020-08-05_

The `Dart_StringToUTF8` function in the Dart API will convert unpaired
surrogates into replacement characters.

Read more: https://github.com/dart-lang/sdk/issues/41100

## Dart 2.8

### [2.8.4] [SDK] — Memory leaks (Changed)
_Released: 2020-06-04_

Fixes potential memory leaks in the Dart front-end.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#284

### [2.8.3] [SDK] — Flutter crashes (Changed)
_Released: 2020-05-28_

Fixes crashes in Flutter apps, a stack trace regression, and constant
re-canonicalization issues.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#283

### [2.8.2] [SDK] — AOT Compilation (Changed)
_Released: 2020-05-13_

Fixes an AOT compilation bug causing NoSuchMethod exceptions in global
transformations.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#282

### [2.8.1] [SDK] — Null safety prep (Changed)
_Released: 2020-05-06_

Prepares for non-nullable types with several breaking changes to core
library APIs.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#281

### [2.8.1] [Language] — Type inference (Fixed)
_Released: 2020-05-06_

Fixed an implementation bug where local variable inference would incorrectly
use the promoted type of a type variable.

Read more: https://github.com/dart-lang/sdk/issues/40675

### [2.8.1] [Language] — Patch (Fixed)
_Released: 2020-05-06_

Fixed an implementation bug surrounding the clauses `implements Function`,
`extends Function`, or `with Function` no longer having an effect since Dart
2.0.0.

Read more: https://github.com/dart-lang/sdk/issues/41362

### [2.8.1] [Libraries] — `dart:async` (Changed)
_Released: 2020-05-06_

Changed the return type of `StreamSubscription.cancel()` to `Future<void>`.

Read more: https://github.com/dart-lang/sdk/issues/40676

### [2.8.1] [Libraries] — `dart:async` (Deprecated)
_Released: 2020-05-06_

Split the `runZoned()` function into two functions: `runZoned()` and
`runZonedGuarded()`, where the latter has a required `onError` parameter,
and the former has none.

Read more: https://github.com/dart-lang/sdk/issues/40681

### [2.8.1] [Libraries] — `dart:async` (Changed, Breaking)
_Released: 2020-05-06_

Errors passed to `Completer.completeError()`, `Stream.addError()`,
`Future.error()`, etc. can no longer be `null`.

Read more: https://github.com/dart-lang/sdk/issues/40683

### [2.8.1] [Libraries] — `dart:async` (Changed, Breaking)
_Released: 2020-05-06_

Made stack traces non-null.

Read more: https://github.com/dart-lang/sdk/issues/40130

### [2.8.1] [Libraries] — `dart:core` (Changed, Breaking)
_Released: 2020-05-06_

Three members on `RuneIterator` no longer return `null` when accessed before
the first call to `moveNext()`.

Read more: https://github.com/dart-lang/sdk/issues/40674

### [2.8.1] [Libraries] — `dart:core` (Changed, Breaking)
_Released: 2020-05-06_

The `String.fromEnvironment()` default value for `defaultValue` is now an
empty string instead of `null`.

Read more: https://github.com/dart-lang/sdk/issues/40678

### [2.8.1] [Libraries] — `dart:core` (Changed, Breaking)
_Released: 2020-05-06_

The default value for `int.fromEnvironment()`'s `defaultValue` parameter is
now zero.

Read more: https://github.com/dart-lang/sdk/issues/40678

### [2.8.1] [Libraries] — `dart:ffi` (Changed)
_Released: 2020-05-06_

Changed `Pointer.asFunction()` and `DynamicLibrary.lookupFunction()` to
extension methods.

### [2.8.1] [Libraries] — `dart:io` (Changed, Breaking)
_Released: 2020-05-06_

Changed the signature of `HttpHeaders` methods `add()` and `set`.

Read more: https://github.com/dart-lang/sdk/issues/33501

### [2.8.1] [Libraries] — `dart:io` (Changed, Breaking)
_Released: 2020-05-06_

The `Socket` class now throws a `SocketException` if the socket has been
explicitly destroyed or upgraded to a secure socket upon setting or getting
socket options.

Read more: https://github.com/dart-lang/sdk/issues/40702

### [2.8.1] [Libraries] — `dart:io` (Changed, Breaking)
_Released: 2020-05-06_

The `Process` class now throws a `StateError` if the process is detached
(`ProcessStartMode.detached` and `ProcessStartMode.detachedWithStdio`) upon
accessing the `exitCode` getter.

Read more: https://github.com/dart-lang/sdk/issues/40483

### [2.8.1] [Libraries] — `dart:io` (Changed, Breaking)
_Released: 2020-05-06_

The `Process` class now also throws when not connected to the child
process's stdio (`ProcessStartMode.detached` and
`ProcessStartMode.inheritStdio`) upon accessing the `stdin`, `stdout`, and
`stderr` getters.

Read more: https://github.com/dart-lang/sdk/issues/40483

### [2.8.1] [Libraries] — `dart:io` (Changed, Breaking)
_Released: 2020-05-06_

The dummy object returned if `FileStat.stat()` or `FileStat.statSync()` fail
now contains Unix epoch timestamps instead of `null` for the `accessed`,
`changed`, and `modified` getters.

Read more: https://github.com/dart-lang/sdk/issues/40706

### [2.8.1] [Libraries] — `dart:io` (Changed)
_Released: 2020-05-06_

The `HeaderValue` class now parses more strictly in two invalid edge cases.

Read more: https://github.com/dart-lang/sdk/issues/40709

### [2.8.1] [Tools] — Dart dev compiler (Fixed)
_Released: 2020-05-06_

We fixed several inconsistencies between DDC and Dart2JS so that users less
frequently encounter code that is accepted by one compiler but then fails in
the other.

### [2.8.1] [Tools] — Dart dev compiler (Removed, Breaking)
_Released: 2020-05-06_

Deleted the legacy (analyzer based) version of DDC.

Read more: https://github.com/dart-lang/sdk/issues/38994

### [2.8.1] [Tools] — Dart dev compiler (Changed, Breaking)
_Released: 2020-05-06_

Functions passed to JavaScript using the recommended `package:js` interop
specification must now be wrapped with a call to `allowInterop`.

### [2.8.1] [Tools] — Dart dev compiler (Changed, Breaking)
_Released: 2020-05-06_

Constructors in `@JS()` classes must be marked with `external`.

### [2.8.1] [Tools] — `dart2js` (Changed)
_Released: 2020-05-06_

Corresponding type parameter bounds now only need to be mutual subtypes
rather than structurally equal up to renaming of bound type variables and
equating all top types.

### [2.8.1] [Tools] — `dart2js` (Changed, Breaking)
_Released: 2020-05-06_

Types are now normalized.

Read more: https://github.com/dart-lang/language/blob/main/resources/type-system/normalization.md

### [2.8.1] [Tools] — `dart2js` (Changed, Breaking)
_Released: 2020-05-06_

Constructors in `@JS()` classes must be marked with `external`.

### [2.8.1] [Tools] — `dart2js` (Removed, Breaking)
_Released: 2020-05-06_

Completely removed the `--package-root` flag, which was hidden and disabled
in Dart 2.0.0.

## Dart 2.7

### [2.7.2] [SDK] — Security (Changed)
_Released: 2020-03-23_

Fixes a security vulnerability in `dart:html` (CVE-2020-8923) and improves
ARMv8 compatibility.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#272

### [2.7.1] [SDK] — dart2js (Changed)
_Released: 2020-01-23_

Improves dart2js compile-time and changes macOS SDK availability to x64
only.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#271

### [SDK] — Extension methods (Changed)
_Released: 2019-12-11_

Introduces official support for extension methods. Adds new constructors to
`TypedData` in `dart:typed_data`. Improves Dart VM field initialization on
reload.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#270

### [Language] — Extension methods (New)
_Released: 2019-12-11_

Added support for extension methods. enabling you to add functionality to
any type, even types you don't control with the brevity and auto-complete
experience of regular method calls.

The following example extends the `String` class from `dart:core` with a new
`parseInt()` method:

```dart
extension ParseNumbers on String {
  int parseInt() {
    return int.parse(this);
  }
}

void main() {
  int i = '42'.parseInt();
  print(i);
}
```

Read more: /language/extension-methods

### [Language] — macOS Support (Changed)
_Released: 2019-12-11_

The Dart SDK for macOS is now only available for x64.

Read more: https://github.com/dart-lang/sdk/issues/39810

### [Language] — Extension methods (Changed)
_Released: 2019-12-11_

Static extension members are accessible when imported with a prefix.

Read more: https://github.com/dart-lang/language/issues/671

### [Libraries] — `dart:io` (New)
_Released: 2019-12-11_

Added `IOOverrides.serverSocketBind` to aid in writing tests that wish to
mock `ServerSocket.bind`.

## Dart 2.6

### [2.6.1] [SDK] — Patch (Changed)
_Released: 2019-11-11_

Reduces dart2js memory usage, improves ARM64 stability, and updates FFI
documentation.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#261

### [SDK] — Static extensions preview (Changed)
_Released: 2019-11-05_

Introduces a preview of static extension members. Changes inference for
`Null` values in `FutureOr` contexts. Updates `dart:ffi` with static
extension members and removes memory management.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#260

### [Language] — Type inference (Changed)
_Released: 2019-11-05_

Changed inference when using `Null` values in a `FutureOr` context. Namely,
constraints of the forms similar to `Null` <: `FutureOr<T>` now yield `Null`
as the solution for `T`.

For example, the following code now prints `Null`. Before Dart 2.6, it
printed `dynamic`. The anonymous closure `() {}` returns the `Null` type.

```dart
import 'dart:async';

void foo<T>(FutureOr<T> Function() f) { print(T); }

main() { foo(() {}); }
```

Read more: https://github.com/dart-lang/sdk/issues/37985

### [Libraries] — `dart:ffi` (Changed)
_Released: 2019-11-05_

The API now makes use of static extension members.

### [Libraries] — `dart:ffi` (Removed, Breaking)
_Released: 2019-11-05_

Removed memory management `Pointer.allocate` and `Pointer.free`.

### [Libraries] — `dart:ffi` (Removed, Breaking)
_Released: 2019-11-05_

`Pointer.offsetBy` was removed, use `cast` and `elementAt` instead.

## Dart 2.5

### [2.5.2] [SDK] — Patch (Changed)
_Released: 2019-10-08_

Fixes macOS Catalina binary signing issues.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#252

### [2.5.1] [SDK] — Patch (Changed)
_Released: 2019-09-27_

Fixes type inference failures in the analyzer.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#251

### [SDK] — Constant expressions (Changed)
_Released: 2019-09-10_

Expands the set of operations allowed in constant expressions, including
casts, type tests, and collection features.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#250

### [Libraries] — `dart:ffi` (New)
_Released: 2019-09-10_

Added a preview of Dart FFI for calling C code.

Read more: /interop/c-interop

### [Libraries] — Type system (Changed)
_Released: 2019-09-10_

Various methods and properties across various core libraries, which used to
declare a return type of `List<int>`, were updated to declare a return type
of `Uint8List`.

Read more: https://github.com/dart-lang/sdk/issues/36900

### [Libraries] — `dart:io` (Changed)
_Released: 2019-09-10_

The `Cookie` class's constructor's `name` and `value` optional positional
parameters are now mandatory.

Read more: https://github.com/dart-lang/sdk/issues/37192

### [Libraries] — `dart:io` (Changed)
_Released: 2019-09-10_

The `Cookie` class's `name` and `value` setters now validate that the
strings are made from the allowed character set and are not null.

Read more: https://github.com/dart-lang/sdk/issues/37192

### [Tools] — Pub (Deprecated)
_Released: 2019-09-10_

Packages published to [pub.dev](https://pub.dev) can no longer contain git
dependencies.

Read more: https://github.com/dart-lang/sdk/issues/36765

## Dart 2.4

### [2.4.1] [SDK] — Patch (Changed)
_Released: 2019-08-07_

Fixes a performance regression in JIT mode and a potential AOT compiler
crash.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#241

### [SDK] — TransferableTypedData (Changed)
_Released: 2019-06-27_

Adds `TransferableTypedData` for faster cross-isolate communication.
Enforces covariance of type variables used in super-interfaces. Allows
`async` as an identifier in asynchronous and generator functions.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#240

### [Language] — Type system (Changed)
_Released: 2019-06-27_

Covariance of type variables used in super-interfaces is now enforced.

For example: Prior to this release Dart accepted, but now rejects, the
following code:

```dart
class A<X> {};
class B<X> extends A<void Function(X)> {};
```

Read more: https://github.com/dart-lang/sdk/issues/35097

### [Language] — Async support (New)
_Released: 2019-06-27_

You can now use `async` as an identifier in asynchronous and generator
functions.

Read more: /language/async

### [Libraries] — `dart:isolate` (Changed)
_Released: 2019-06-27_

`Isolate.resolvePackageUri` will always throw an `UnsupportedError` when
compiled with dart2js or DDC.

### [Libraries] — `dart:async` (Fixed)
_Released: 2019-06-27_

Fixed a bug in the `StreamIterator` class where `await for` allowed `null`
as a stream.

Read more: https://github.com/dart-lang/sdk/issues/36382

## Dart 2.3

### [2.3.2] [SDK] — Patch (Changed)
_Released: 2019-06-11_

Fixes a security vulnerability in `Process.run` on Linux and Android by not
searching the current directory.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#232

### [2.3.1] [SDK] — Patch (Changed)
_Released: 2019-05-21_

Fixes a dart2js compiler crash when compiling UI-as-code features within
fields.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#231

### [SDK] — UI-as-code (Changed)
_Released: 2019-05-08_

Introduces UI-as-code features: spread operator (`...`), collection `if`,
and collection `for`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#230

### [Language] — Spread operator (New)
_Released: 2019-05-08_

Added support for the spread operator (`...` and `...?`) in collection
literals. The spread operator enables unpacking the elements from one list
into another. In the following example, the list returned by
`buildMainElements()` is unpacked into the list being passed to the
`children` argument:

```dart
Widget build(BuildContext context) {
  return Column(children: [
    Header(),
    ...buildMainElements(),
    Footer(),
  ]);
}
```

Read more: /language/collections#spread-operators

### [Language] — Collection if (New)
_Released: 2019-05-08_

Added support for collection if in collection literals. The collection if
operator enables adding elements conditionally. The following example adds a
`FlatButton` element unless the app displays the last page:

```dart
Widget build(BuildContext context) {
  return Column(children: [
    Text(mainText),
    if (page != pages.last)
      FlatButton(child: Text('Next')),
  ]);
}
```

Read more: /language/collections#control-flow-operators

### [Language] — Collection for (New)
_Released: 2019-05-08_

Added support for collection for in collection literals. The collection for
operator enables building repeated elements. The following example adds one
`HeadingAction` element for each section in `sections`:

```dart
Widget build(BuildContext context) {
  return Column(children: [
    Text(mainText),
    for (var section in sections)
      HeadingAction(section.heading),
  ]);
}
```

Read more: /language/collections#control-flow-operators

## Dart 2.2

### [SDK] — Set literals (Changed)
_Released: 2019-02-26_

Introduces set literals using `{}`. Renames `klass` getter to `classNode` in
Kernel AST API. Updates `Link` implementation on Windows to use true
symbolic links.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#220

### [Language] — Set literals (New)
_Released: 2019-02-26_

Added support for set literals using `{}`.

The following example creates a set of currencies:
```dart
const Set<String> currencies = {'EUR', 'USD', 'JPY'};
```

Read more: /language/collections#sets

### [Libraries] — `package:kernel` (Changed)
_Released: 2019-02-26_

The `klass` getter on the `InstanceConstant` class in the Kernel AST API has
been renamed to `classNode` for consistency.

### [Libraries] — `package:kernel` (Changed)
_Released: 2019-02-26_

Updated `Link` implementation to utilize true symbolic links instead of
junctions on Windows.

Read more: https://github.com/dart-lang/sdk/issues/33966

## Dart 2.1

### [2.1.1] [SDK] — Patch (Changed)
_Released: 2018-11-15_

Fixes a soundness hole in `dart:mirrors` and adds a `StateError` when adding
to a closed `IOSink`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#211

### [2.1.1] [Libraries] — `dart:io` (New, Changed)
_Released: 2018-11-15_

Added to a closed `IOSink` now throws a `StateError`.

Read more: https://github.com/dart-lang/sdk/issues/29554

### [2.1.1] [Tools] — Dart VM (Fixed)
_Released: 2018-11-15_

Fixed a soundness hole when using `dart:mirrors` to reflectively invoke a
method in an incorrect way that violates its static types.

Read more: https://github.com/dart-lang/sdk/issues/35611

### [SDK] — Int-to-Double Conversion (Changed)
_Released: 2018-11-15_

Introduces `int`-to-`double` conversion, new mixin syntax, and various
static error checks.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#210

### [Language] — Number types (New)
_Released: 2018-11-15_

Added support for `int`-to-`double` conversion, allowing developers to set
`double` values using integer literals. This feature removed the annoyance
of being forced to use a `double` literal (for example, `4.0`) when the
value was an integer in concept.

In the following Flutter code, `horizontal` and `vertical` have type
`double`:

```dart
padding: const EdgeInsets.symmetric(
  horizontal: 4,
  vertical: 8,
)
```

Read more: /language/built-in-types#numbers

### [Language] — Static errors (New, Changed)
_Released: 2018-11-15_

A number of static errors that should have been detected and reported were
not supported in 2.0.0. These are reported now, which means existing
incorrect code might show new errors:
* Mixins must correctly override their superclasses.
* [Implicit type arguments in extends clauses must satisfy the class bounds](https://github.com/dart-lang/sdk/issues/34532).
* [Instance members should shadow prefixes](https://github.com/dart-lang/sdk/issues/34498).
* [Constructor invocations must use valid syntax, even with optional `new`](https://github.com/dart-lang/sdk/issues/34403).
* [Type arguments to generic typedefs must satisfy their bounds](https://github.com/dart-lang/sdk/issues/33308).
* [Classes can't implement FutureOr](https://github.com/dart-lang/sdk/issues/33744).
* [Abstract methods may not unsoundly override a concrete method](https://github.com/dart-lang/sdk/issues/32014).
* [Constant constructors cannot redirect to non-constant constructors](https://github.com/dart-lang/sdk/issues/34161).
* [Setters with the same name as the enclosing class aren't allowed](https://github.com/dart-lang/sdk/issues/34225).

Read more: https://github.com/dart-lang/sdk/issues/34235

### [Tools] — `dart2js` (Changed)
_Released: 2018-11-15_

Duplicate keys in a const map are not allowed and produce a compile-time
error.

## Dart 2.0

### [SDK] — Sound type system (Language versioned)
_Released: 2018-08-07_

Introduces a sound static type system (formerly strong mode). Makes `new`
keyword optional and `const` optional in const contexts. Changes `async`
functions to run synchronously until the first `await`. Renames core library
constants to `lowerCamelCase`.

Read more: https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#200

### [Language] — Type system (Changed)
_Released: 2018-02-22_

Replaced the unsound optional static type system with a sound static type
system using type inference and runtime checks, formerly called strong mode.

### [Language] — Async functions (Changed)
_Released: 2018-02-22_

Functions marked `async` now run synchronously until the first `await`
statement.

Read more: https://github.com/dart-lang/sdk/issues/30345

### [Libraries] — Constants (Changed)
_Released: 2018-02-22_

Renamed constants in the core libraries from `SCREAMING_CAPS` to
`lowerCamelCase`.

### [Libraries] — Type system (New)
_Released: 2018-02-22_

Implemented a new sound type system. Before Dart 2.0, types weren't fully
sound, and Dart relied heavily on runtime type checking. Dart 1.x code had
to be migrated to Dart 2.

Many new methods were added to core library classes that will need to be
implemented if you implement the interfaces of these classes.

Read more: /language/type-system

### [Libraries] — Web (Removed, Breaking)
_Released: 2018-02-22_

`dart:isolate` and `dart:mirrors` are no longer supported when using Dart
for the web.

### [Tools] — Pub (New)
_Released: 2018-02-22_

Replaced pub's transformer-based build system with a new build system.

Read more: https://github.com/dart-lang/build

