riverpod_analyzer_utils
A project for analyzing Riverpod code. This is internally used by riverpod_lint and riverpod_generator
0.5.10
1.1M downloads/mo
#341 most downloaded on pub.dev
rrousselGit/river_pod
What this package is like to depend on
Last release 27 days ago
27 Jul 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 26 of 28 stable releases
2 versions withdrawn
withdrawn after publishing
4 years old
42 releases · first in 2023
7 releases in the last 12 months
see the full history below
Release timeline
42 releases · Feb 2023 to Jul 2026Releases
latest 42-
1.0.0-dev.1127 Jul 2026 pre-release -
1.0.0-dev.1023 Apr 2026 pre-release -
1.0.0-dev.917 Jan 2026 pre-release -
1.0.0-dev.804 Dec 2025 pre-release -
1.0.0-dev.730 Sep 2025 pre-release -
1.0.0-dev.610 Sep 2025 pre-release -
1.0.0-dev.509 Sep 2025 pre-release -
1.0.0-dev.401 Aug 2025 pre-release -
1.0.0-dev.320 Jun 2025 pre-release -
1.0.0-dev.230 Apr 2025 pre-releaseRelease notes
Open source →- Breaking: Rewrote all RiverpodAst nodes to instead be extensions on
AstNodes. Too many changes to detail everything. I'm the only one who uses this package anyway. If you're reading this, have a nice day! - Added support for parsing
@mutation
- Breaking: Rewrote all RiverpodAst nodes to instead be extensions on
-
1.0.0-dev.120 Nov 2023 pre-releaseRelease notes
Open source →- Breaking
LegacyProviderDeclarationElement.providerTypeis now nullable. - Fix crash when parsing classes with a
ProviderBasefield.
- Breaking
-
1.0.0-dev.030 Oct 2023 pre-release -
0.5.1028 Feb 2025 -
0.5.908 Jan 2025 -
0.5.818 Nov 2024Release notes
Open source →- Fixed analyzer to correctly detect nested RefInvocations when used as parameters (e.g., ref.watch(provider(ref.watch(...)))). This improves the accuracy of the analyzer's error detection for complex provider compositions. (thanks to @josh-burton)
-
0.5.727 Oct 2024 -
0.5.622 Oct 2024Release notes
Open source →- Support analyzer >=6.7.0 <7.0.0 This should make it compatible with Flutter's stable channel.
-
0.5.512 Oct 2024 -
0.5.418 Aug 2024 -
0.5.314 May 2024 -
0.5.214 May 2024 withdrawn -
0.5.104 Feb 2024 -
0.5.020 Nov 2023Release notes
Open source →- Breaking
LegacyProviderDeclarationElement.providerTypeis now nullable. - Fix crash when parsing classes with a
ProviderBasefield.
- Breaking
-
0.4.328 Oct 2023 -
0.4.221 Oct 2023Nothing published for this version
-
0.4.105 Oct 2023 -
0.4.002 Oct 2023Release notes
Open source →- Correctly parse import aliases when used inside
ref.watch(<...>) - Fixed
refInvocationsnot getting parsed for generated providers with arguments.
- Correctly parse import aliases when used inside
-
0.3.502 Oct 2023 withdrawnNothing published for this version
-
0.3.427 Sep 2023Nothing published for this version
-
0.3.316 Aug 2023 -
0.3.203 Aug 2023 -
0.3.112 May 2023 -
0.3.018 Apr 2023Release notes
Open source →- Added
DartType.isRawextension property for checking if a type is from aRawtypedef. - Added
isFromRiverpodAnnotationtype checker.
- Added
-
0.2.107 Apr 2023Release notes
Open source →- Handle cascade operators in ref expressions
- Fix ref.watch/read/... not being decoded inside Notifier methods of generated providers.
-
0.2.013 Mar 2023Release notes
Open source →- Added
providerForTypeTypeChecker forProviderForannotation - Generated providers inside
.g.dartno-longer are incorrectly parsed as legacy providers. - Fixed "type 'SimpleIdentifierImpl' is not a subtype of type 'PropertyAccess' in type cast"
- Added
-
0.1.410 Mar 2023 -
0.1.309 Mar 2023 -
0.1.209 Mar 2023 -
0.1.101 Mar 2023Release notes
Open source →Generated declarations now have a
needsOverrideandproviderELement.isScopedproperty respecting the@riverpod external int value()syntax. -
0.1.028 Feb 2023Release notes
Open source →-
Decode generated StreamProviders.
-
Upcast
ClassBasedProviderDeclaration.providerElement&FunctionalProviderDeclaration.providerElementto their respective element type. -
Change error handling mechanism (no more exceptions)
-
Parse
ProviderContainerInstanceCreationExpressionandProviderScopeInstanceCreationExpression. -
Fix exception when riverpod_lint analyzes files before riverpod_generator runs
-
-
0.0.214 Feb 2023Release notes
Open source →- Fix crash when parsing async generated providers
- Add
uncontrolledProviderScopeType
-
0.0.112 Feb 2023