Repository navigation
chore(example/deps): update dependency dart to >=3.14.1 <4.0.0 - #1034
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/dart-3.x
branch
from
November 13, 2026 19:57
941c1e6 to
fabe683
Compare
renovate
Bot
force-pushed
the
renovate/dart-3.x
branch
2 times, most recently
from
November 17, 2026 15:39
4c03ceb to
7ef515f
Compare
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/dart-3.x
branch
from
November 18, 2026 19:02
7ef515f to
ce186b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=3.13.7 <4.0.0→>=3.14.1 <4.0.0Release Notes
dart-lang/sdk (dart)
v3.14.1Compare Source
v3.14.0Compare Source
Released on: Unreleased
Libraries
dart:ffiNativeFinalizer.callback, which returns the finalization callback thefinalizer was created with.
For more details, see SDK issue #63811
Abi.iosArm64eandAbi.macosArm64efor thearm64earchitecturewith pointer authentication on iOS and macOS.
For more details, see SDK issue #63420.
dart:iofork-and-exectoposix_spawn.PATHresolution will now happen with the parent'sPATHinstead of thechild's
PATH. Using an absolute path for theexecutableargument toProcess.startetc is recommended to avoid platform-specific differences.dart:isolateevent loop control APIs (
Isolate.runSync,Isolate.create,Isolate.shutdownSync,Isolate.pinToCurrentThread,Isolate.isPinnedToCurrentThread,Isolate.runEventLoopSync,Isolate.onEvent, andIsolate.handleEvent) that were accidentally exposedin Dart 3.13, and gated
NativeCallable.isolateGroupBoundbehind the--experimental-shared-dataVM flag.For more details, see SDK issue #64285.
dart:typed_datatoString()on the SIMD value typesFloat32x4,Int32x4andFloat64x2now returns'V128'instead of a list of the lanevalues. The old per-lane output was inconsistent across platforms and was
never specified. On the VM this also covers
Error.safeToStringand thevalues shown by the debugger and the VM service.
For more details, see SDK issue #63847
Float32x4.min,Float32x4.max,Float64x2.min, andFloat64x2.maxnow follow IEEE 754 semantics across all platforms: if eitherlane is
NaN, the result lane isNaN, and-0.0is ordered below+0.0.For more details, see SDK issue #63962.
rangeEqualsextension methods on all integer typed data lists(
Uint8List,Int8List,Uint8ClampedList,Uint16List,Int16List,Uint32List,Int32List,Uint64List,Int64List) andByteDataforefficient range equality comparisons.
For more details, see SDK issue #64095
~toInt32x4, which inverts every bitof every lane.
Int32x4.splat, which creates anInt32x4with the same 32-bit integervalue in all four lanes, matching
Float32x4.splatandFloat64x2.splat.Int32x4.equal, a lane-wise equality comparison that returns-1ineach lane where the operands are equal and
0elsewhere, and theInt32x4.anyTruegetter, which istruewhen any lane is non-zero.Int32x4.notEqual, a lane-wise inequality comparison that returns-1in each lane where the operands differ and
0elsewhere.Int32x4.allTruegetter, which istrueonly when every lane isnon-zero.
Int32x4.lessThan,Int32x4.lessThanOrEqual,Int32x4.greaterThanandInt32x4.greaterThanOrEqual, each returning-1in lanes where the signedcomparison holds and
0elsewhere.Int32x4.zero()constructor, which creates anInt32x4with allfour lanes set to zero.
-toInt32x4, which arithmeticallynegates each lane using two's complement.
Int32x4.abs, which replaces each lane with its absolute value usingtwo's complement, so the absolute value of the minimum 32-bit integer yields
itself.
<<(left),>>(arithmetic right) and>>>(logical right) toInt32x4.Int32x4.andNot, a lane-wise bit-wise and-not (this & ~other).Int32x4.min, which selects the smaller of each pair of lanes,compared as signed 32-bit integers.
Int32x4.max, which selects the larger of each pair of lanes,compared as signed 32-bit integers.
dart:js_interopThe
isA<JSArray>check now uses bothArray.isArrayandinstanceoftoverify if a value is an array; it is considered an array if either condition
returns true.
For more details, see SDK issue #62699
Converting a
Futureto aJSPromiseusingFutureOfJSAnyToJSPromise.toJSor
FutureOfVoidToJSPromise.toJSnow passes JavaScript errorvalues (
JSAny) through directly to the rejected promise withoutwrapping them. Only Dart errors are wrapped in a JS
Error.For more details, see SDK issue #61353.
Added extension methods
JSArray<JSNumber>.toDartDoubleListandJSArray<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?>.toDartDoubleListandJSArray<JSNumber?>.toDartIntList(
JSArrayOfNullableJSNumberToList);List<num?>.toJS(
ListOfNullableNumberToJSArray);JSArray<JSString?>.toDartStringList(
JSArrayOfNullableJSStringToList);List<String?>.toJS(
ListOfNullableStringToJSArray);JSArray<JSBoolean?>.toDartBoolList(
JSArrayOfNullableJSBooleanToList); andList<bool?>.toJS(
ListOfNullableBoolToJSArray). These make it easier and more efficient toconvert between JS and Dart arrays of primitives.
Added
JSFunction.lengthand.namegetters.Added the
JSArray.fromAsyncstatic method to create an array from anasynchronous generator or a synchronous list of asynchronous values.
Added
JSPromise.resolveandJSPromise.rejectstatic methods.Added extension methods
FutureOr<JSAny>.toJSPromiseOrValue(
FutureOrToJSAny),FutureOr<JSAny?>.toJSPromiseOrValue(
FutureOrToNullableJSAny),JSAny.toDartFutureOr(JSAnyToFutureOr), andJSAny?.toDartFutureOr(NullableJSAnyToFutureOr). These make it easier andmore efficient to convert between possibly-synchronous values at the Dart/JS
boundary.
Added extension methods
R Function(JSArray<E>).toJSVarArgsandR Function(T, JSArray<E>).toJSCaptureThisVarArgswhich capture JS functionarguments as an array rather than as separate arguments to the Dart function.
Added the
JSErrortype to represent the JavaScriptErrorclass.Function.toJSandFunction.toJSCaptureThisnow support functions withoutoptional positional parameters that return
Future<T>(whereTisvoidora subtype of
JSAny?), automatically converting the returnedFutureto aJSPromise.For more details, see SDK issue #63496.
externalextension members can now be declared on generic type parametersbounded by a JS interop type (for example,
extension <T extends JSObject> on T).For more details, see SDK issue #61248.
dart:mirrorsdart:mirrorslibrary is now marked@deprecated, and will be removedin a future release. For details, see issue #44489.
Tools
Analyzer
js_interop_extension_constructor_js_annotation_has_no_effect)when an
@JSannotation is placed on anexternalconstructor or factory of adart:js_interopextension type, matching the CFE. Move the@JSannotation tothe extension type declaration itself to rename non-object literal constructors.
For more details, see SDK issue #54366.
Linter
future_sync_valuelint rule, which recommends usingFuture.syncValueinstead ofFuture.syncwhen the callback returns asynchronous (non-
Future) value.For more details, see SDK issue #61740.
Dart CLI
dart run <package>:<command>anddart testnow cache the precompiledexecutable in
.dart_tool/dartdev/bin/instead of.dart_tool/pub/bin/, andrecompile 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.When
dart run <package>:<command>anddart testrun a precompiledexecutable,
Platform.scriptnow points at the Dart source file instead ofthe kernel snapshot. Resolving paths relative to
Platform.scriptnow worksas it does when running from source.
dart run --enable-experiment=<experiment>anddart test --enable-experiment=<experiment>now run from a snapshot compiledwith 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.
Added a
dart migratecommand, which updates packages to a newer Dart SDKversion. It raises the lower bound of each package's SDK constraint one minor
version at a time. For each version, it applies preparatory fixes and raises
the constraint. Optional cleanup fixes that adopt new language features only
run with
--step=cleanupor--step=all. Migrates the current directory bydefault, or specific package directories if provided. Packages must already
require Dart 3.0 or later.
--dry-runpreviews the proposed changes.--applyapplies the changes.--target-sdkmigrates across multiple versions in one run.--stepruns specific steps:prepare,bump,cleanup, orall.constraints solvable at every version. A package is skipped if a dependency
does not support the new version.
For more details, see SDK issue #63240.
Added
-e/--evaltodart runto evaluate inline Dart code snippetswithout creating a script file. Package imports are resolved from the current
package configuration if present, or ephemerally on demand using
-P/--package-constraint(for example,dart run -P http:^1.0.0 -e '...') and--offline.For more details, see SDK issue #64298.
Formatter
Enable experiments specified by surrounding
analysis_options.yamlfile whenparsing code (#1886).
Fix crash when formatting an enum with a primary constructor when trailing
commas are preserved (#1885).
Fix missing trailing comma on enum values when an enum has a primary
constructor (#1888). Note that this style change is not
language-versioned and also applies when formatting Dart 3.13 code.
Fix crash when attempting to write a line with exactly 128 spaces of
indentation.
Pub
dart pub upgradenow accepts<package>@<constraint>,<package>@latest,and
<package>@resolvabletargets to upgrade specific dependencies within aversion constraint or inspect why a newer version cannot be selected
(issue dart-lang/pub#4569).
dart2js
--[no-]deprecated-js-interopflag (dart compile jsanddart2js). Passing--no-deprecated-js-interopdisallows importing thedeprecated 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 theirdart.library.*environment conditions tofalsein conditional imports andbool.fromEnvironment.For more details, see SDK issue #63919.
Dart Development Compiler (dartdevc)
--[no-]deprecated-js-interopflag. Passing--no-deprecated-js-interopdisallows importing the deprecated JS interoplibraries (
dart:html,dart:html_common,dart:indexed_db,dart:js,dart:js_util,dart:svg,dart:web_audio, anddart:web_gl) and setstheir
dart.library.*environment conditions tofalsein conditionalimports and
bool.fromEnvironment.For more details, see SDK issue #63919.
dart2wasm
dart2wasmnow emits standardized WebAssemblytry_tableexception handlinginstructions by default (#54394).
dart2wasmnow requires nativewasm:js-stringbuilt-in support and worksaround
WebAssembly.compileStreamingbugs in Safari 26.5 and earlier(#63543).
dart.library.isolatenow evaluates tofalsein conditional imports(
if (dart.library.isolate)) when compiling withdart2wasm(#64328).dart compile wasm --standaloneno longer supportsdart:js_interop.Int32x4,Float32x4,Float64x2, and their typed-data list views(
Int32x4List,Float32x4List,Float64x2List) now compile to hardware128-bit WebAssembly SIMD (
v128) instructions (#64170).Configuration
📅 Schedule: (in timezone Australia/Sydney)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.