diff --git a/source_gen/CHANGELOG.md b/source_gen/CHANGELOG.md index 68d937b0..b63675c8 100644 --- a/source_gen/CHANGELOG.md +++ b/source_gen/CHANGELOG.md @@ -1,5 +1,12 @@ -## 3.0.0-wip +## 3.0.0 +- **Breaking Change**: use the new `element2` APIs in `analyzer`. 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 as `override`, `Deprecated`, and `pragma`. diff --git a/source_gen/pubspec.yaml b/source_gen/pubspec.yaml index 24759774..ae3eb26a 100644 --- a/source_gen/pubspec.yaml +++ b/source_gen/pubspec.yaml @@ -1,5 +1,5 @@ name: source_gen -version: 3.0.0-wip +version: 3.0.0 description: >- Source code generation builders and utilities for the Dart build system repository: https://github.com/dart-lang/source_gen/tree/master/source_gen @@ -11,7 +11,7 @@ environment: dependencies: analyzer: ^7.4.0 async: ^2.10.0 - build: ^3.0.0-dev + build: ^3.0.0 dart_style: ^3.0.0 glob: ^2.0.0 path: ^1.9.0 @@ -22,7 +22,7 @@ dependencies: dev_dependencies: _test_annotations: path: ../_test_annotations - build_test: ^3.3.0-dev + build_test: ^3.3.0 dart_flutter_team_lints: ^3.1.0 logging: ^1.2.0 term_glyph: ^1.2.0