Skip to content

Commit

Permalink
Support latest pkg:analyzer, prepare to release v1.4.0 (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jun 29, 2023
1 parent 0a1f8b5 commit 8e53b9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ environment:
sdk: ^3.0.0

dependencies:
analyzer: '>=4.6.0 <6.0.0'
analyzer: '>=5.2.0 <7.0.0'
build: ^2.0.0
source_gen: any

Expand Down
3 changes: 2 additions & 1 deletion source_gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 1.4.0-wip
## 1.4.0

- Require Dart 3.0
- Support the latest `package:analyzer`.
- Add a `node` argument to `InvalidGenerationSourceError` to allow finding the
source location from an `AstNode` over an `Element`.

Expand Down
4 changes: 2 additions & 2 deletions source_gen/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: source_gen
version: 1.4.0-wip
version: 1.4.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 @@ -8,7 +8,7 @@ environment:
sdk: ^3.0.0

dependencies:
analyzer: ^5.2.0
analyzer: '>=5.2.0 <7.0.0'
async: ^2.5.0
build: ^2.1.0
dart_style: ^2.0.0
Expand Down

0 comments on commit 8e53b9d

Please sign in to comment.