Skip to content

Commit 0aa4656

Browse files
kevmooscheglov
authored andcommitted
Support latest analyzer and dart_style, prepare v2 release (dart-lang#736)
1 parent 117ab26 commit 0aa4656

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66
sdk: ^3.6.0
77

88
dependencies:
9-
analyzer: '>=5.2.0 <7.0.0'
9+
analyzer: '>=6.9.0 <8.0.0'
1010
build: ^2.0.0
1111
source_gen: any
1212

source_gen/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 2.0.0-wip
1+
## 2.0.0
22

33
- **Breaking Change**: Change `formatOutput` function to accept a language
44
version parameter.
@@ -8,13 +8,14 @@
88
- Document deduplication behavior for the output of
99
`GeneratorForAnnotation.generateForAnnotatedElement`.
1010
- Support all the glob quotes.
11-
- Require `analyzer: ^6.9.0`
12-
- Require Dart 3.6.0
11+
- Require `analyzer: '>=6.9.0 <8.0.0'`
12+
- Support the latest `package:dart_style`
1313
- `LibraryBuilder`, `PartBuilder`, and `SharedPartBuilder` now take an optional
1414
`writeDescriptions` boolean. When set to `false`, headers and generator
1515
descriptions for the files will not be included in the builder output.
1616
- Include `//dart format width=80` comments in files generated by a
1717
`LibraryBuilder` or `PartBuilder` and formatted with the default callback.
18+
- Require Dart 3.6.0
1819

1920
## 1.5.0
2021

source_gen/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: source_gen
2-
version: 2.0.0-wip
2+
version: 2.0.0
33
description: >-
44
Source code generation builders and utilities for the Dart build system
55
repository: https://github.com/dart-lang/source_gen/tree/master/source_gen
@@ -10,10 +10,10 @@ environment:
1010
sdk: ^3.6.0
1111

1212
dependencies:
13-
analyzer: ^6.9.0
13+
analyzer: '>=6.9.0 <8.0.0'
1414
async: ^2.5.0
1515
build: ^2.1.0
16-
dart_style: ^2.3.7
16+
dart_style: '>=2.3.7 <4.0.0'
1717
glob: ^2.0.0
1818
path: ^1.8.0
1919
pub_semver: ^2.1.4

0 commit comments

Comments
 (0)