riverpod_analyzer_utils 0.3.0
riverpod_analyzer_utils: ^0.3.0 copied to clipboard
A project for analyzing Riverpod code. This is internally used by riverpod_lint and riverpod_generator
0.3.0 - 2023-04-18 #
- Added
DartType.isRawextension property for checking if a type is from aRawtypedef. - Added
isFromRiverpodAnnotationtype checker.
0.2.1 - 2023-04-07 #
- Handle cascade operators in ref expressions
- Fix ref.watch/read/... not being decoded inside Notifier methods of generated providers.
0.2.0 - 2023-03-13 #
- 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"
0.1.4 - 2023-03-10 #
- Fixed an
Unsupported operation: Unknown type SimpleIdentifierImplcrash
0.1.3 - 2023-03-09 #
Upgrade dependencies
0.1.2 - 2023-03-09 #
Upgrade dependencies
0.1.1 #
Generated declarations now have a needsOverride and providerELement.isScoped property respecting
the @riverpod external int value() syntax.
0.1.0 #
-
Decode generated StreamProviders.
-
Upcast
StatefulProviderDeclaratation.providerElement&StatelessProviderDeclaratation.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.2 #
- Fix crash when parsing async generated providers
- Add
uncontrolledProviderScopeType
0.0.1 #
- Initial version.