From aafaa5277a7f2f25067e04993441414040279855 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 19 Nov 2025 10:27:26 +0100 Subject: [PATCH] Allow analyzer 9. --- example/pubspec.yaml | 2 +- source_gen/CHANGELOG.md | 4 ++++ source_gen/pubspec.yaml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 9f104745..2253a234 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -6,7 +6,7 @@ environment: sdk: ^3.7.0 dependencies: - analyzer: ^8.1.1 + analyzer: '>=8.1.1 <10.0.0' build: '>=3.0.0 <5.0.0' source_gen: any diff --git a/source_gen/CHANGELOG.md b/source_gen/CHANGELOG.md index 89786027..553f596c 100644 --- a/source_gen/CHANGELOG.md +++ b/source_gen/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.1.1 + +- Allow `analyzer: '>=8.1.1 <10.0.0'`. + ## 4.1.0 - Add `TypeChecker.typeNamedLiterally`. It's like `TypeChecker.typeNamed`, diff --git a/source_gen/pubspec.yaml b/source_gen/pubspec.yaml index 42e33eac..05251106 100644 --- a/source_gen/pubspec.yaml +++ b/source_gen/pubspec.yaml @@ -1,5 +1,5 @@ name: source_gen -version: 4.1.0 +version: 4.1.1 description: >- Source code generation builders and utilities for the Dart build system repository: https://github.com/dart-lang/source_gen/tree/master/source_gen @@ -9,7 +9,7 @@ environment: sdk: ^3.7.0 dependencies: - analyzer: ^8.1.1 + analyzer: '>=8.1.1 <10.0.0' async: ^2.10.0 build: '>=3.0.0 <5.0.0' dart_style: ^3.0.0