debug_kit_riverpod 0.2.2
debug_kit_riverpod: ^0.2.2 copied to clipboard
Riverpod provider observer adapter for DebugKit. Automatically logs provider failures and optionally state updates with sanitization.
Changelog #
0.2.2 #
- fix: widen
flutter_riverpodconstraint to">=2.0.0 <4.0.0"(was^2.0.0) to allow apps using Riverpod 3.x. - chore: update
repositoryandissue_trackerURLs to reflect repository rename. - No runtime behavior changes.
ProviderObserver.providerDidFailanddidUpdateProviderare unchanged in Riverpod 3. - No API changes.
0.2.1 #
- Fix: add
TestWidgetsFlutterBinding.ensureInitialized()to the test suite so trace store event tests pass reliably when the Flutter scheduler binding is required. - Bump minimum
debug_kitconstraint to^0.5.0to align with the Error Digest release. - Update README install snippet to current versions.
0.2.0 #
- Trace correlation: Provider failures that occur inside an active
DebugKit.trace.run()zone now automatically carrytraceIdandtraceNameon the log entry. - State trace events: A
statetrace event is recorded on the active trace when a provider fails inside a trace. - No behavior change when no trace is active — all existing logging behavior is preserved.
0.1.0 #
- Initial release of
debug_kit_riverpod. - Added
DebugKitRiverpodObserverto log provider failures and optional state updates. - Added
DebugKitRiverpodConfigto manage log behavior and verbosity safely. - Included security sanitization to mask obvious secrets in value previews.