debug_kit_riverpod 0.2.3
debug_kit_riverpod: ^0.2.3 copied to clipboard
Riverpod provider observer adapter for DebugKit. Automatically logs provider failures and optionally state updates with sanitization.
Changelog #
0.2.3 #
Changed #
- Updated the Riverpod 2 adapter line to support
debug_kit ^0.9.0. - Kept compatibility with Riverpod 2
ProviderObserverAPIs. - Kept Riverpod logs flowing through DebugKit core so in-app logs and sanitized console mirroring share the same pipeline.
Notes #
- Riverpod 2 users should use
debug_kit_riverpod ^0.2.3. - Riverpod 3 support will be introduced separately in
debug_kit_riverpod 0.3.0.
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.