Skip to content

Commit 0e3f013

Browse files
[pigeon] Adds analyzer 6.x compatibility (#5418)
`analyzer` 6.0 just removes deprecated methods, so we can add support for 6.x without changes, as well as keeping 5.13 compatibility for now to minimize incompatibilities. Fixes flutter/flutter#138616
1 parent 179928a commit 0e3f013

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/pigeon/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 13.1.2
2+
3+
* Adds compatibilty with `analyzer` 6.x.
4+
15
## 13.1.1
26

37
* [kotlin] Removes unnecessary `;`s in generated code.

packages/pigeon/lib/generator_tools.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import 'ast.dart';
1313
/// The current version of pigeon.
1414
///
1515
/// This must match the version in pubspec.yaml.
16-
const String pigeonVersion = '13.1.1';
16+
const String pigeonVersion = '13.1.2';
1717

1818
/// Read all the content from [stdin] to a String.
1919
String readStdin() {

packages/pigeon/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: pigeon
22
description: Code generator tool to make communication between Flutter and the host platform type-safe and easier.
33
repository: https://github.com/flutter/packages/tree/main/packages/pigeon
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3Apigeon
5-
version: 13.1.1 # This must match the version in lib/generator_tools.dart
5+
version: 13.1.2 # This must match the version in lib/generator_tools.dart
66

77
environment:
88
sdk: ">=2.19.0 <4.0.0"
99

1010
dependencies:
11-
analyzer: "^5.13.0"
11+
analyzer: ">=5.13.0 <7.0.0"
1212
args: ^2.1.0
1313
collection: ^1.15.0
1414
meta: ^1.7.0

0 commit comments

Comments
 (0)