Update dependency dart to ^3.9.3 #64

Open
renovate wants to merge 1 commits from renovate/dart-3.x into main
Collaborator

This PR contains the following updates:

Package Update Change
dart (source) minor ^3.8.1 -> ^3.9.3

⚠️ Warning

Some dependencies could not be looked up. Check the warning logs for more information.


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, and dart 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 an
    issue 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 Dart
    IntelliJ 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 the
    discarded_futures and unawaited_futures lint rules.

  • Improve the avoid_types_as_parameter_names lint rule to include type
    parameters.

  • 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 and unawaited_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 a pubspec.yaml file now
    have 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
  • Breaking change of feature in preview: dart build -f exe <target> is now
    dart build cli --target=<target>. See dart 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 Futures created by calling
    JSPromise.toDart from thedart:js_interop and the underlying the
    dart:js_util helper promiseToFuture. Dart callbacks will not be run, but
    callbacks 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 or Function.

    A getter defined as:

    class Container<T> {
      T get value => _value;
      ...
    }
    

    Could trigger the issue with a direct invocation:

    Container<dynamic>().value('Invocation with missing runtime checks!');
    
Dart native compiler

Added cross-compilation support for
target architectures of arm (ARM32) and riscv64 (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 all
    commits matching the pattern will be considered during resolution. For
    example:

    dependencies:
      my_dependency:
        git:
          url: https://github.com/example/my_dependency
          tag_pattern: v{{version}}
        version: ^2.0.1
    
  • Starting from language version 3.9 the flutter constraint upper bound is now
    respected in your root package. For example:

    name: my_app
    environment:
      sdk: ^3.9.0
      flutter: 3.33.0
    

    Results in dart pub get failing if invoked with a version of
    the 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:

  • Fixes an issue with the DevTools Network screen and Hot Restart (issue flutter/devtools#9203)
  • Fixes an issue when clearing the DevTools network screen (issue #​61187)

v3.8.2

Compare Source

Released on: 2025-07-16

This is a patch release that:

  • Fixes an issue with the size of cross-compiled binaries (issue #​61097)

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dart](https://dart.dev/) ([source](https://github.com/dart-lang/sdk)) | minor | `^3.8.1` -> `^3.9.3` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the warning logs for more information. --- ### Release Notes <details> <summary>dart-lang/sdk (dart)</summary> ### [`v3.9.3`](https://github.com/dart-lang/sdk/compare/3.9.2...3.9.3) [Compare Source](https://github.com/dart-lang/sdk/compare/3.9.2...3.9.3) ### [`v3.9.2`](https://github.com/dart-lang/sdk/compare/3.9.1...3.9.2) [Compare Source](https://github.com/dart-lang/sdk/compare/3.9.1...3.9.2) ### [`v3.9.1`](https://github.com/dart-lang/sdk/compare/3.9.0...3.9.1) [Compare Source](https://github.com/dart-lang/sdk/compare/3.9.0...3.9.1) ### [`v3.9.0`](https://github.com/dart-lang/sdk/blob/HEAD/CHANGELOG.md#390) [Compare Source](https://github.com/dart-lang/sdk/compare/3.8.3...3.9.0) **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][language version] lower bound to 3.9 or greater (`sdk: '^3.9.0'`). [language version]: https://dart.dev/to/language-version ##### 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`, and `dart 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 an issue 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`][vs-code-args] setting. To direct the Dart IntelliJ plugin to pass this flag, use the `dart.server.additional.arguments` registry property, similar to [these steps][intellij-args]. - Add the [`switch_on_type`][] lint rule. - Add the [`unnecessary_unawaited`][] lint rule. - Support a new annotation, `@awaitNotRequired`, which is used by the `discarded_futures` and `unawaited_futures` lint rules. - Improve the `avoid_types_as_parameter_names` lint rule to include type parameters. - 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` and `unawaited_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 a `pubspec.yaml` file now have 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 [@&#8203;FMorschel](https://github.com/FMorschel) for many of the above enhancements!) [dart command-line tool]: https://dart.dev/tools/dart-tool [vs-code-args]: https://dartcode.org/docs/settings/#dartanalyzeradditionalargs [intellij-args]: https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/doc/tutorial/instrumentation.md#intellij-idea-and-android-studio [`switch_on_type`]: http://dart.dev/lints/switch_on_type [`unnecessary_unawaited`]: http://dart.dev/lints/unnecessary_unawaited ##### Dart build - Breaking change of feature in preview: `dart build -f exe <target>` is now `dart build cli --target=<target>`. See `dart 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 calling `JSPromise.toDart` from the`dart:js_interop` and the underlying the `dart:js_util` helper `promiseToFuture`. Dart callbacks will not be run, but callbacks 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` or `Function`. A getter defined as: ```dart class Container<T> { T get value => _value; ... } ``` Could trigger the issue with a direct invocation: ```dart Container<dynamic>().value('Invocation with missing runtime checks!'); ``` ##### Dart native compiler Added [cross-compilation][] support for target architectures of `arm` (ARM32) and `riscv64` (RV64GC) when the target OS is Linux. [cross-compilation]: https://dart.dev/tools/dart-compile#cross-compilation-exe ##### Pub - [Git dependencies][] can now be version-solved based on git tags. Use a `tag_pattern` in the descriptor and a version constraint, and all commits matching the pattern will be considered during resolution. For example: ```yaml dependencies: my_dependency: git: url: https://github.com/example/my_dependency tag_pattern: v{{version}} version: ^2.0.1 ``` - Starting from language version 3.9 the `flutter` constraint upper bound is now respected in your root package. For example: ```yaml name: my_app environment: sdk: ^3.9.0 flutter: 3.33.0 ``` Results in `dart pub get` failing if invoked with a version of the 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](https://github.com/flutter/flutter/issues/95472) for details. [Git dependencies]: https://dart.dev/tools/pub/dependencies#git-packages ### [`v3.8.3`](https://github.com/dart-lang/sdk/blob/HEAD/CHANGELOG.md#383) [Compare Source](https://github.com/dart-lang/sdk/compare/3.8.2...3.8.3) **Released on:** 2025-07-31 This is a patch release that: - Fixes an issue with the DevTools Network screen and Hot Restart (issue [flutter/devtools#9203]) - Fixes an issue when clearing the DevTools network screen (issue [#&#8203;61187]) [flutter/devtools#9203]: https://github.com/flutter/devtools/issues/9203 [#&#8203;61187]: https://github.com/dart-lang/sdk/issues/61187 ### [`v3.8.2`](https://github.com/dart-lang/sdk/blob/HEAD/CHANGELOG.md#382) [Compare Source](https://github.com/dart-lang/sdk/compare/3.8.1...3.8.2) **Released on:** 2025-07-16 This is a patch release that: - Fixes an issue with the size of cross-compiled binaries (issue [#&#8203;61097]) [#&#8203;61097]: https://github.com/dart-lang/sdk/issues/61097 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuOTkuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate added 1 commit 2025-07-21 00:17:55 +00:00
Update dependency dart to ^3.8.2
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
16edc19638
Author
Collaborator

⚠️ 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: moneymgr_mobile/pubspec.lock
Command failed: flutter pub get --no-precompile
The current Dart SDK version is 3.9.2.

Because moneymgr_mobile requires SDK version ^3.9.3, version solving failed.
Failed to update packages.

### ⚠️ 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: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: moneymgr_mobile/pubspec.lock ``` Command failed: flutter pub get --no-precompile The current Dart SDK version is 3.9.2. Because moneymgr_mobile requires SDK version ^3.9.3, version solving failed. Failed to update packages. ```
renovate force-pushed renovate/dart-3.x from 16edc19638 to f701ddc465 2025-08-05 00:15:12 +00:00 Compare
renovate changed title from Update dependency dart to ^3.8.2 to Update dependency dart to ^3.8.3 2025-08-05 00:16:12 +00:00
renovate force-pushed renovate/dart-3.x from f701ddc465 to 8ba878781f 2025-08-07 00:16:02 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 8ba878781f to c5a6bae913 2025-08-09 00:27:41 +00:00 Compare
renovate force-pushed renovate/dart-3.x from c5a6bae913 to 918832721d 2025-08-10 00:27:23 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 918832721d to b9221266e9 2025-08-12 00:27:56 +00:00 Compare
renovate force-pushed renovate/dart-3.x from b9221266e9 to 4f1981f7ef 2025-08-14 00:28:20 +00:00 Compare
renovate changed title from Update dependency dart to ^3.8.3 to Update dependency dart to ^3.9.0 2025-08-14 00:29:21 +00:00
renovate force-pushed renovate/dart-3.x from 4f1981f7ef to 7bbc54f036 2025-08-16 00:27:21 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 7bbc54f036 to 9f45699c9f 2025-08-18 00:27:25 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 9f45699c9f to b0aeeb2936 2025-08-21 00:28:42 +00:00 Compare
renovate changed title from Update dependency dart to ^3.9.0 to Update dependency dart to ^3.9.1 2025-08-21 00:29:42 +00:00
renovate force-pushed renovate/dart-3.x from b0aeeb2936 to 37abedfb2d 2025-08-23 00:28:50 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 37abedfb2d to b0bd09c7ff 2025-08-25 00:27:51 +00:00 Compare
renovate force-pushed renovate/dart-3.x from b0bd09c7ff to 97e754509f 2025-08-26 00:27:21 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 97e754509f to b1baa778c8 2025-08-27 00:28:35 +00:00 Compare
renovate force-pushed renovate/dart-3.x from b1baa778c8 to f419c23bb4 2025-08-28 00:28:58 +00:00 Compare
renovate changed title from Update dependency dart to ^3.9.1 to Update dependency dart to ^3.9.2 2025-08-28 00:30:00 +00:00
renovate force-pushed renovate/dart-3.x from f419c23bb4 to aabb753d38 2025-08-31 00:27:43 +00:00 Compare
renovate force-pushed renovate/dart-3.x from aabb753d38 to 422f4a67cf 2025-09-02 00:29:00 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 422f4a67cf to a3c75f4f3f 2025-09-04 00:29:43 +00:00 Compare
renovate force-pushed renovate/dart-3.x from a3c75f4f3f to 64620d99c9 2025-09-06 00:36:36 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 64620d99c9 to 637beb49d5 2025-09-08 00:36:49 +00:00 Compare
renovate force-pushed renovate/dart-3.x from 637beb49d5 to ab5010615f 2025-09-10 00:35:53 +00:00 Compare
renovate changed title from Update dependency dart to ^3.9.2 to Update dependency dart to ^3.9.3 2025-09-10 00:36:55 +00:00
renovate force-pushed renovate/dart-3.x from ab5010615f to d2638a31c0 2025-09-12 00:36:43 +00:00 Compare
renovate force-pushed renovate/dart-3.x from d2638a31c0 to b377a6ecab 2025-09-14 00:37:16 +00:00 Compare
renovate force-pushed renovate/dart-3.x from b377a6ecab to dbd17b5618 2025-09-16 00:36:40 +00:00 Compare
renovate force-pushed renovate/dart-3.x from dbd17b5618 to b2215bc77c 2025-09-18 00:37:21 +00:00 Compare
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/dart-3.x:renovate/dart-3.x
git checkout renovate/dart-3.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/MoneyMgr#64
No description provided.