Update dependency dart to ^3.9.3 #64
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/dart-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^3.8.1
->^3.9.3
Release Notes
dart-lang/sdk (dart)
v3.9.3
Compare Source
v3.9.2
Compare Source
v3.9.1
Compare Source
v3.9.0
Compare Source
Released on: 2025-08-13
Language
Dart 3.9 assumes null safety when computing type promotion, reachability, and
definite assignment. This makes these features produce more accurate results for
modern Dart programs. As a result of this change, more dead_code warnings may be
produced. To take advantage of these improvements, set your package's SDK
constraint lower bound to 3.9 or greater (
sdk: '^3.9.0'
).Tools
Analyzer
The dart command-line tool commands that use the analysis server now run
the AOT-compiled analysis server snapshot. These include
dart analyze
,dart fix
, anddart language-server
.There is no functional difference when using the AOT-compiled analysis server
snapshot. But various tests indicate that there is a significant speedup in
the time to analyze a project.
In case of an incompatibility with the AOT-compiled snapshot, a
--no-use-aot-snapshot
flag may be passed to these commands. (Please file anissue with the appropriate project if you find that you need to use this
flag! It will be removed in the future.) This flag directs the tool to revert
to the old behavior, using the JIT-compiled analysis server snapshot. To
direct the Dart Code plugin for VS Code to pass this flag, use the
dart.analyzerAdditionalArgs
setting. To direct the DartIntelliJ plugin to pass this flag, use the
dart.server.additional.arguments
registry property, similar to these steps.
Add the
switch_on_type
lint rule.Add the
unnecessary_unawaited
lint rule.Support a new annotation,
@awaitNotRequired
, which is used by thediscarded_futures
andunawaited_futures
lint rules.Improve the
avoid_types_as_parameter_names
lint rule to include typeparameters.
The definition of an "obvious type" is expanded for the relevant lint rules,
to include the type of a parameter.
Many small improvements to the
discarded_futures
andunawaited_futures
lint rules.
The code that calculates fixes and assists has numerous performance
improvements.
A new "Remove async" assist is available.
A new "Convert to normal parameter" assist is available for field formal
parameters.
New fixes are available for the following diagnostics:
for_in_of_invalid_type
implicit_this_reference_in_initializer
prefer_foreach
undefined_operator
use_if_null_to_convert_nulls_to_bools
Numerous fixes and improvements are included in the "create method," "create
getter," "create mixin," "add super constructor," and "replace final with
var" fixes.
Dependencies listed in
dependency_overrides
in apubspec.yaml
file nowhave document links to pub.dev.
Improvements to type parameters and type arguments in the LSP type hierarchy.
Folding try/catch/finally blocks is now supported for LSP clients.
Improve code completion suggestions with regards to operators, extension
members, named parameters, doc comments, patterns, collection if-elements and
for-elements, and more.
Improve syntax highlighting of escape sequences in string literals.
Add "library cycle" information to the diagnostic pages.
(Thanks @FMorschel for many of the above
enhancements!)
Dart build
dart build -f exe <target>
is nowdart build cli --target=<target>
. Seedart build cli --help
for more info.Dart Development Compiler (dartdevc)
Outstanding async code now checks and cancels itself after a hot restart if
it was started in a different generation of the application before the
restart. This includes outstanding
Future
s created by callingJSPromise.toDart
from thedart:js_interop
and the underlying thedart:js_util
helperpromiseToFuture
. Dart callbacks will not be run, butcallbacks on the JavaScript side will still be executed.
Fixed a soundness issue that allowed direct invocation of the value returned
from a getter without any runtime checks when the getter's return type was a
generic type argument instantiated as
dynamic
orFunction
.A getter defined as:
Could trigger the issue with a direct invocation:
Dart native compiler
Added cross-compilation support for
target architectures of
arm
(ARM32) andriscv64
(RV64GC)when the target OS is Linux.
Pub
Git dependencies can now be version-solved based on git tags.
Use a
tag_pattern
in the descriptor and a version constraint, and allcommits matching the pattern will be considered during resolution. For
example:
Starting from language version 3.9 the
flutter
constraint upper bound is nowrespected in your root package. For example:
Results in
dart pub get
failing if invoked with a version ofthe Flutter SDK different from
3.33.0
.The upper bound of the flutter constraint is still ignored in
packages used as dependencies.
See flutter/flutter#95472 for details.
v3.8.3
Compare Source
Released on: 2025-07-31
This is a patch release that:
v3.8.2
Compare Source
Released on: 2025-07-16
This is a patch release that:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: moneymgr_mobile/pubspec.lock
16edc19638
tof701ddc465
Update dependency dart to ^3.8.2to Update dependency dart to ^3.8.3f701ddc465
to8ba878781f
8ba878781f
toc5a6bae913
c5a6bae913
to918832721d
918832721d
tob9221266e9
b9221266e9
to4f1981f7ef
Update dependency dart to ^3.8.3to Update dependency dart to ^3.9.04f1981f7ef
to7bbc54f036
7bbc54f036
to9f45699c9f
9f45699c9f
tob0aeeb2936
Update dependency dart to ^3.9.0to Update dependency dart to ^3.9.1b0aeeb2936
to37abedfb2d
37abedfb2d
tob0bd09c7ff
b0bd09c7ff
to97e754509f
97e754509f
tob1baa778c8
b1baa778c8
tof419c23bb4
Update dependency dart to ^3.9.1to Update dependency dart to ^3.9.2f419c23bb4
toaabb753d38
aabb753d38
to422f4a67cf
422f4a67cf
toa3c75f4f3f
a3c75f4f3f
to64620d99c9
64620d99c9
to637beb49d5
637beb49d5
toab5010615f
Update dependency dart to ^3.9.2to Update dependency dart to ^3.9.3ab5010615f
tod2638a31c0
d2638a31c0
tob377a6ecab
b377a6ecab
todbd17b5618
dbd17b5618
tob2215bc77c
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.