dio_smart_logger 0.2.0
dio_smart_logger: ^0.2.0 copied to clipboard
Structured and secure Dio logging interceptor with cURL output, performance metrics, and deep error diagnostics.
Changelog #
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project follows Semantic Versioning.
0.2.0 - 2026-03-01 #
Added #
- Inlined
consts.dartandextension.dartto replacedart_helper_utilsdependency. - Visual width calculation for box-drawing alignment with emoji/wide characters.
Fixed #
- JWT-detection heuristic now requires base64url characters, reducing false positives on package names, bundle IDs, and version strings.
- Box-drawing alignment no longer breaks when titles contain emoji or wide characters.
- Error-path data-size estimation avoids expensive
jsonEncode; uses fast estimation with graceful fallback.
Changed #
- Removed
dart_helper_utilsdependency; all needed utilities are now internal. - Removed unused
httpStatusMessagesmap and dead string extension members. - Renamed internal context key to match package name.
- Redirect chain entries now use consistent
_kvformatting helper.
0.1.1 - 2026-02-28 #
- Updated
dart_helper_utilsto^6.0.0to keep dependencies current. - No API changes.
0.1.0 - 2026-02-28 #
- First stable release.
- Promoted features from
0.1.0-dev.1without API changes.
0.1.0-dev.1 - 2026-02-28 #
- Initial pre-release.
- Added
DioLoggerInterceptor,DioLoggerConfig, andDioLogLevel. - Added structured request, response, and error logging with masking.
- Added cURL generation, performance metrics, and status code guidance.
- Added request filtering and configurable output controls.
- Added package tests, example app, and CI/publishing workflows.