debug_kit_dio 0.2.2
debug_kit_dio: ^0.2.2 copied to clipboard
Dio network logging adapter for DebugKit. Automatically logs requests, responses, and errors with sanitization.
Changelog #
0.2.2 #
- chore: update
repositoryandissue_trackerURLs to reflect repository rename (username/debug_kit→username/debugkit).
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: Dio requests made inside an active
DebugKit.trace.run()zone now automatically carrytraceIdandtraceNameon the log entry. - Network trace events: A
networktrace event is recorded on the active trace for each request start, response, and error. - The trace ID is captured at request time from the Zone, so it is correctly associated even across async boundaries.
- No behavior change when no trace is active — all existing logging behavior is preserved.
0.1.0 #
- Initial release of the DebugKit Dio Adapter.
- Log network requests, responses, and errors.
- Automatic sanitization of URLs, query parameters, and headers.
- Support for request IDs to track transaction lifecycles.
- Duplicate attach protection, duration metadata, and improved cancelled request handling.
- Zero overhead when DebugKit is disabled.