package:source_gen v2.0.0
·
27 commits
to master
since this release
- Breaking Change: Change
formatOutputfunction to accept a language
version parameter. - Formatting Change: Generated code will no longer apply any fixes by
default (previously it would apply the single cascades statements fix). The
new formatter does not support applying fixes. - Document deduplication behavior for the output of
GeneratorForAnnotation.generateForAnnotatedElement. - Support all the glob quotes.
- Require
analyzer: '>=6.9.0 <8.0.0' - Support the latest
package:dart_style LibraryBuilder,PartBuilder, andSharedPartBuildernow take an optional
writeDescriptionsboolean. When set tofalse, headers and generator
descriptions for the files will not be included in the builder output.- Include
//dart format width=80comments in files generated by a
LibraryBuilderorPartBuilderand formatted with the default callback. - Require Dart 3.6.0