Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2025

Bumps dart_style from 3.1.2 to 3.1.3.

Release notes

Sourced from dart_style's releases.

package:dart_style v3.1.3

  • No longer format imports with configurations and a prefix in the wrong order. The parser used to accept this without error even though it violated the language spec. The parser is being fixed, so the formatter will no longer accept or format code like:
    import 'foo.dart' as prefix if (cond) 'bar.dart';
  • Don't force a space between ? and . if a null-aware element contains a dot shorthand.
  • Require analyzer: '>=8.2.0 <10.0.0'.
  • Require args: ^2.5.0.
  • Require sdk: ^3.9.0.

Bug fixes

  • Respect @dart= version comments when determining which >3.7 style to apply. The formatter correctly used those comments to switch between the old short and new tall style, but ignored them for language versioned style rule changes after 3.7. Now the language version of the file is consistently respected for all style rules (#1762).
Changelog

Sourced from dart_style's changelog.

3.1.3

  • No longer format imports with configurations and a prefix in the wrong order. The parser used to accept this without error even though it violated the language spec. The parser is being fixed, so the formatter will no longer accept or format code like:

    import 'foo.dart' as prefix if (cond) 'bar.dart';
  • Don't force a space between ? and . if a null-aware element contains a dot shorthand.

  • Require analyzer: '>=8.2.0 <10.0.0'.

  • Require args: ^2.5.0.

  • Require sdk: ^3.9.0.

Bug fixes

  • Respect @dart= version comments when determining which >3.7 style to apply. The formatter correctly used those comments to switch between the old short and new tall style, but ignored them for language versioned style rule changes after 3.7. Now the language version of the file is consistently respected for all style rules (#1762).
Commits
  • de7e726 Clean up use of pkg:args, bump args dep (#1784)
  • ade6076 Latest analyzer, prepare release (#1783)
  • ec0048b Fix stray backtick in markdown documentation (#1761)
  • 34742d7 Bump actions/checkout from 4.2.2 to 5.0.0 in the github-actions group (#1767)
  • ca019b0 Use "@​dart=" comment when determining which style rules to apply. (#1766)
  • 3499c1e Synchronize the dart_style version in its own help output. (#1759)
  • bacc9bf Remove tests of invalid import syntax. (#1758)
  • b5a166e Remove special case handling of dot shorthands in null aware elements. (#1757)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dart_style](https://github.com/dart-lang/dart_style) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/dart-lang/dart_style/releases)
- [Changelog](https://github.com/dart-lang/dart_style/blob/main/CHANGELOG.md)
- [Commits](dart-lang/dart_style@v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: dart_style
  dependency-version: 3.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant