dio_curl_interceptor 3.3.3
dio_curl_interceptor: ^3.3.3 copied to clipboard
A powerful Dio interceptor that converts HTTP requests to cURL commands, with modern UI for debugging, caching, filtering, and webhook integration.
3.3.3 #
π New Features #
- CurlBubble: Floating bubble overlay for non-intrusive cURL log viewing
- BubbleOverlay: Generic draggable bubble widget for any content
- BubbleOverlayController: Programmatic control of bubble visibility and expansion
β οΈ Breaking Changes #
CachedCurlStorage
βCachedCurlService
(see MIGRATION.md)- REMOVED:
CurlInterceptor.withDiscordInspector()
andCurlInterceptor.withTelegramInspector()
factory methods - REMOVED: File export functionality from CurlViewer
π§ Improvements #
- Enhanced FormData handling with detailed file info in cURL output
- Improved CurlViewer UI and error handling
- Fixed Telegram HTML parsing errors
- Better code organization and maintainability
3.3.2 #
- NEW: Added SenderInfo class for custom sender information in webhook inspectors
- FEATURE: Updated all webhook inspectors to use SenderInfo for consistent API
- ENHANCEMENT: InspectorUtils now supports all webhook types via WebhookInspectorBase
- BREAKING: InspectorUtils uses webhookInspectors instead of discordInspectors
3.3.0 #
- NEW: Added Telegram webhook integration (
TelegramInspector
) - BREAKING: Renamed
discordInspectors
βwebhookInspectors
inCurlInterceptor
- FEATURE: Created extensible webhook system with
WebhookInspectorBase
- FIX: Resolved linter warnings and import conflicts
- ENHANCEMENT: Added comprehensive webhook examples
3.2.6 #
- Added limitResponseField
- Removed intl dependencies
- Change the default behavior from CurlBehavior.chronological to CurlBehavior.simultaneous
3.2.5 #
- Added examples for
includeUrls
andexcludeUrls
inDiscordInspector
configuration. - Bug fixes
3.2.3 #
- Updated
README.md
to includediscordInspector
parameter inCurlInterceptor
example. - Added examples for
includeUrls
andexcludeUrls
inDiscordInspector
configuration. - Enhanced
README.md
with a new section "Integrating InspectorUtils in Custom Interceptors" under "Option 2: Using CurlUtils directly in your own interceptor".
3.2.2 #
- Introduced
InspectorUtils
for centralized inspection methods, currently supporting Discord webhook integration.
3.2.0 #
- Enhanced caching security by encrypting the Hive box with
flutter_secure_storage
. - Updated
CurlInterceptor.discord
factory andDiscordInspector
tests to useincludeUrls
andexcludeUrls
for URI filtering.
3.1.0 #
- Introduced Discord webhook integration for remote logging and team collaboration.
3.0.3 #
- Add
onExport
callback toshowCurlViewer
to allow custom handling of exported file paths.
3.0.2 #
- Add public utility functions in
CurlUtils
for direct caching:cacheResponse
andcacheError
- Refactor interceptor to use these utility functions
- Improve code maintainability and reusability
3.0.0 #
- Introduce cURL cache feature.
- Limit response body length with
limitResponseBody
option. - Update documentation and examples for new features.
2.1.0 #
- Restructure codebase for better maintainability and organization
- Enhance readability with pretty printing capabilities
- Change the default printer from
print
tolog
from [dart:developer] package - Remove
useUnicode
option as it's now handled automatically
1.1.6 #
- Remove
formatter
option fromCurlOptions
. - Bug fixes and improvements
1.1.5 #
- Introduce new CurlUtils class with standalone utility methods for curl generation and logging
- Add new CurlBehavior enum for controlling logging timing (chronological/simultaneous)
- Extend CurlOptions with new configuration parameters (behavior, printer, disabledSuggestions, colored)
- Update documentation and examples
1.0.0 #
- enhance log format
0.0.7 #
- update dependency for support log long text.
0.0.3 #
- more readable log
- add formatter
- update README
0.0.2 #
- Add more configuration
0.0.1 #
- Initial release