Skip to content

Commit 46e36cc

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: complete the changelog entries for Dart 3.9
Change-Id: I002962215674b484d3ea26586c8bf581a9ef817f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447080 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 4e21ee9 commit 46e36cc

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

CHANGELOG.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ To learn more about the feature, check out the
4242

4343
### Tools
4444

45+
#### Analyzer
46+
47+
- Lint rules which are incompatible with each other and which are specified in
48+
included analysis options files are now reported.
49+
4550
#### Dart CLI and Dart VM
4651

4752
- The Dart CLI and Dart VM have been split into two seperate executables.
@@ -122,7 +127,40 @@ constraint][language version] lower bound to 3.9 or greater (`sdk: '^3.9.0'`).
122127

123128
- Add the [`switch_on_type`][] lint rule.
124129
- Add the [`unnecessary_unawaited`][] lint rule.
125-
- Add an assist to convert a field formal parameter to a normal parameter.
130+
- Support a new annotation, `@awaitNotRequired`, which is used by the
131+
`discarded_futures` and `unawaited_futures` lint rules.
132+
- Improve the `avoid_types_as_parameter_names` lint rule to include type
133+
parameters.
134+
- The definition of an "obvious type" is expanded for the relevant lint rules,
135+
to include the type of a parameter.
136+
- Many small improvements to the `discarded_futures` and `unawaited_futures`
137+
lint rules.
138+
- The code that calculates fixes and assists has numerous performance
139+
improvements.
140+
- A new "Remove async" assist is available.
141+
- A new "Convert to normal parameter" assist is available for field formal
142+
parameters.
143+
- New fixes are available for the following diagnostics:
144+
- `for_in_of_invalid_type`
145+
- `implicit_this_reference_in_initializer`
146+
- `prefer_foreach`
147+
- `undefined_operator`
148+
- `use_if_null_to_convert_nulls_to_bools`
149+
- Numerous fixes and improvements are included in the "create method," "create
150+
getter," "create mixin," "add super constructor," and "replace final with
151+
var" fixes.
152+
- Dependencies listed in `dependency_overrides` in a `pubspec.yaml` file now
153+
have document links to pub.dev.
154+
- Improvements to type parameters and type arguments in the LSP type hierarchy.
155+
- Folding try/catch/finally blocks is now supported for LSP clients.
156+
- Improve code completion suggestions with regards to operators, extension
157+
members, named parameters, doc comments, patterns, collection if-elements and
158+
for-elements, and more.
159+
- Improve syntax highlighting of escape sequences in string literals.
160+
- Add "library cycle" information to the diagnostic pages.
161+
- (Thanks [@FMorschel](https://github.com/FMorschel) for many of the above
162+
enhancements!)
163+
126164

127165
[dart command-line tool]: https://dart.dev/tools/dart-tool
128166
[vs-code-args]: https://dartcode.org/docs/settings/#dartanalyzeradditionalargs

0 commit comments

Comments
 (0)