riverpod_mutation_utils 0.5.2
riverpod_mutation_utils: ^0.5.2 copied to clipboard
Runtime helpers, annotations, and mixins for Riverpod experimental mutations.
0.5.2 #
- Revert the
0.5.1MutationActionMixin<Result>defaultbuild()change. Action providers must declarebuild(...)explicitly so family providers keep their required parameter shape. - Bump the companion generator dependency to
0.5.2.
0.5.1 #
- Bump the companion generator dependency to
0.5.1.
0.5.0 #
- Breaking:
MutationActionMixin<Result>now requiresNotifier<void>so action-only providers cannot useMutationState<Result>as their own state. Watch the separate mutation accessor for pending/success/error instead. - Bump the companion generator dependency to
0.5.0.
0.4.0 #
- Breaking: simplify runtime mixins to require a single
mutationgetter instead ofmutationBaseandmutationKey. - Add a generated convenience base such as
_$ItemUpdateFormMutation, so generated providers can keepStateFormMixin<...>explicit while hiding the wiring mixin. - Bump the companion generator dependency to
0.4.0.
0.3.4 #
- Retry the first automated pub.dev release after fixing release tag pushes to use
RELEASE_TAG_TOKEN. - Bump the companion generator dependency to
0.3.4.
0.3.3 #
- Prepare the first automated pub.dev release after enabling GitHub Actions publishing.
- Bump the companion generator dependency to
0.3.3.
0.3.2 #
- Restored hosted pub.dev release metadata and installation guidance.
- Added pub.dev automated publishing workflow support for tagged releases.
- Bumped the companion generator dependency to
0.3.2.
0.3.1 #
- Added generated usage examples for non-family, single-parameter family, and multi-parameter family providers.
- Stopped committing generated example
.g.dartfiles and updated CI to regenerate them before analysis and tests. - Expanded the package README with installation, quick-start, and design notes.
0.3.0 #
- Added
GenerateMutationfor generator-driven mutation wiring. - Added
generateMutationas a const annotation instance for@generateMutation. - Added a no-codegen example using
MutationRunnerdirectly. - Added a handwritten
riverpod_annotationexample for manual mutation wiring. - Added a handwritten non-family
riverpod_annotationexample. - Switched mixins to derive
mutationfrommutationBaseand optionalmutationKey, which makes family-safe mutation generation possible. - Re-exported Riverpod experimental mutation APIs from the runtime package.
0.2.0 #
- Changed
afterSuccesscallbacks to receive only the mutation result. - Kept submitting providers alive while mutations are pending and skip
afterSuccessif the original ref becomes unmounted. - Removed deprecated
performandperformActionhelpers.
0.1.0 #
- Added
MutationRunner<Result>for reusable mutation execution and listening. - Added
StateFormMixin,AsyncStateFormMixin, andMutationActionMixin. - Replaced scaffold placeholders with working package docs, example, and tests.