Releases: dart-lang/source_gen
Releases · dart-lang/source_gen
package:source_gen v4.2.2
- Require
analyzer: '>=8.1.1 <13.0.0'
package:source_gen v4.2.1
- Fix
UnresolvedAnnotationExceptionto include the name of the annotation in
the message. - Require
build: '>=3.0.2 <5.0.0' - Require
dart_style: ^3.1.2 - Require
sdk: ^3.9.0
package:source_gen v4.2.0
- Add
headerconfiguration toCombiningBuilder.
package:source_gen v4.1.2
- Allow
analyzer: '>=8.1.1 <11.0.0'.
package:source_gen v4.1.1
- Allow
analyzer: '>=8.1.1 <10.0.0'.
package:source_gen v4.1.0
- Add
TypeChecker.typeNamedLiterally. It's likeTypeChecker.typeNamed,
but takes aStringinstead of aType.
package:source_gen v4.0.2
- Bug fix: fix possible null pointer exception in
TypeChecker.typeNamedon
invalid code.
package:source_gen v4.0.1
- Require
analyzer: '>=8.1.1 <9.0.0'. - Allow
build: '>=3.0.0 <5.0.0'.
package:source_gen v4.0.0
- Breaking Change: remove
TypeChecker.fromRuntime, use
TypeChecker.typeNamedinstead. This removes all use ofdart:mirror, so
builders usingsource_gencan be AOT compiled for better performance. - Keep
// GENERATED FILEcomments on the first line.
package:source_gen v3.0.0
- Breaking Change: use the new
element2APIs inanalyzer. Builders that
do resolution need to switch to the new API, see
https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/element_model_migration_guide.md.
For questions please use https://github.com/dart-lang/build/discussions. - Require
build: ^3.0.0 - Updated the minimum package versions for a number of dependencies.
- Require Dart 3.7.0
- Update the GeneratorForAnnotation optimization to skip files with well known
annotation names such asoverride,Deprecated, andpragma.