Skip to content

Release 3.0.0. #766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion source_gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
6 changes: 3 additions & 3 deletions source_gen/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down