NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedDevelopment & Open Source

Dart 3.14 adds package migration tools and expands JS interop and Wasm support

Released alongside Flutter 3.50, Dart 3.14 focuses on tooling and platforms without introducing new language features.

Published: 27 Nov 2026, 06:00 UTC
Connected software package blocks move up a series of steps guided by a migration tool.
Editorial illustration: coordinated migration of interdependent packages to a newer SDK version.

Dart 3.14 introduces dart migrate, a command for moving packages to newer SDK versions. The release also expands dart:js_interop, updates WebAssembly compilation and improves analysis server performance. It introduces no new language constructs, leaving code syntax unchanged.

The migration command raises a package’s minimum SDK constraint one minor version at a time, applying preparatory fixes before each increase. Interdependent packages migrate together; a package is skipped if a dependency does not support the newer version. Packages must already require Dart 3.0 or later. Optional cleanup that adopts newer language features runs only when explicitly requested. The command does not replace dart fix.

Updates to dart:js_interop include primitive array conversions, a JSError type and additional promise utilities. The --no-deprecated-js-interop flag makes imports of deprecated libraries errors. The dart2wasm compiler now uses try_table exception-handling instructions by default and requires native wasm:js-string builtins. SIMD types and their lists compile to hardware-backed 128-bit WebAssembly instructions.

The CLI gains one-line code execution through dart run -e. The analysis server starts and finds references faster, with improvements especially noticeable in large monorepositories. The dart:mirrors library is deprecated and scheduled for removal in a future release. Breaking changes include the removal of experimental isolate APIs accidentally shipped in Dart 3.13, alongside changes to SIMD type behavior.

Original source: habr.com ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Хабр