log_curl_request 0.1.0
log_curl_request: ^0.1.0 copied to clipboard
A Flutter package to log HTTP requests in cURL format for debugging and testing purposes.
Changelog #
0.1.0 #
New Features #
- Added support for file uploads via multipart form data
- Added cookie handling with the
cookies
parameter - Added additional cURL options via the
CurlOptions
class - Added option to mask sensitive information like auth tokens with
maskSensitiveInfo
- Added formatted output option with line breaks for better readability
- Added integrations with popular HTTP client libraries (Dio, http)
- Added global configuration system with
LogCurlConfig
class - Added custom logging functionality with
loggerFunction
- Added robust input validation and error handling
- Added
copyWith
method toCurlOptions
for easier modification
Improvements #
- Improved code documentation and API reference
- Enhanced test coverage with more test cases
- Updated example app with showcase of all features including error handling
- Added error display in example app
- Relaxed SDK constraints to support more Flutter versions (>=3.0.0)
- Improved formatting of generated cURL commands
- Added parameter validation to prevent runtime errors
- Improved interceptors for real HTTP client integration
0.0.5 #
- Updated minimum Flutter SDK version to 3.6.0.
- Updated Flutter Lints to 5.0.0.
- Added platforms field to pubspec.yaml.
0.0.4 #
- Updated minimum Flutter SDK version to 3.0.0.
- Updated Flutter Lints to 3.0.0.
- Update project to handle newer Flutter requirements.
0.0.3 #
- Support for pubspec.yaml platforms.
0.0.2 #
- Added more comprehensive documentation.
- Added an example project.
- Improved README with usage examples.
0.0.1 #
- Initial release with basic cURL command generation functionality.
- Support for HTTP methods, headers, query parameters, and data.