riverpod_generator 2.2.1 riverpod_generator: ^2.2.1 copied to clipboard
A code generator for Riverpod. This both simplifies the syntax empowers it, such as allowing stateful hot-reload.
2.2.1 - 2023-04-24 #
riverpod_annotation
upgraded to2.1.1
2.2.0 - 2023-04-18 #
- Added support for
Raw
typedef in the return value of providers. This can be used to disable the conversion of Futures/Streams into AsyncValues@riverpod Raw<Future<int>> myProvider(...) async => ...; ... // returns a Future<int> instead of AsyncValue<int> Future<int> value = ref.watch(myProvider);
2.1.6 - 2023-04-07 #
- If a provider has an empty list of dependencies, the generated list is now
const
(thanks to @K9i-0)
2.1.5 - 2023-04-06 #
riverpod_annotation
upgraded to2.0.3
2.1.4 - 2023-03-13 #
riverpod_analyzer_utils
upgraded to0.2.0
riverpod_annotation
upgraded to2.0.2
2.1.3 - 2023-03-10 #
- Fixed InconsistentAnalysisException
- Fixed an
Unsupported operation: Unknown type SimpleIdentifierImpl
crash
2.1.2 - 2023-03-09 #
riverpod_analyzer_utils
upgraded to0.1.3
2.1.1 - 2023-03-09 #
riverpod_analyzer_utils
upgraded to0.1.2
2.1.0 - 2023-03-09 #
-
Added support for configuring the name of providers with parameters ("families") (thanks to @K9i-0)
-
Deprecate the (new) shorthand syntax for scoping provider using the
external
keyword. That syntax unfortunately does not work on web and therefore will be removed.
2.0.0 #
- Add support for returning a
Stream
inside providers. This is equivalent to creating aStreamProvider
using the "old" syntax. - Bump minimum riverpod_analyzer_utils version
- Fix exception thrown when the analyzed file has some syntax errors.
1.2.0 #
- It is now possible to specify
@Riverpod(dependencies: [...])
to scope providers - Marked
@Riverpod
as@sealed
1.1.1 #
Upgrade Riverpod to latest
1.1.0 #
- The generated hash function of providers is now correctluy private (thanks to @westito)
- Allow customizing the name of the generated providers (thanks to @trejdych)
- Update dependencies.
1.0.6 #
Upgrade Riverpod to latest
1.0.5 #
- Upgrade Riverpod and annotation package to latest
1.0.4 #
- Update dependencies.
1.0.4 #
- Update dependencies.
1.0.2 #
- Update a dependency to the latest release.
1.0.1 #
Fix version conflict with Riverpod
1.0.0 #
Initial release