Skip to content

package:source_gen v2.0.0

Latest
Compare
Choose a tag to compare
@kevmoo kevmoo released this 17 Dec 17:41
947a0e2
  • Breaking Change: Change formatOutput function 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, and SharedPartBuilder now take an optional
    writeDescriptions boolean. When set to false, headers and generator
    descriptions for the files will not be included in the builder output.
  • Include //dart format width=80 comments in files generated by a
    LibraryBuilder or PartBuilder and formatted with the default callback.
  • Require Dart 3.6.0