Version 2.1.6
New Features
- Enhanced Character Encoding Resolution:
- Improved the
resolve_character_codefunction to better handle character encoding by consideringresponse_charset_encoding. This ensures more accurate encoding detection, especially for responses with implicit UTF-8 encoding.
- Improved the
Changes
- Reports Module:
- Updated the
Reportsclass to utilize the enhancedresolve_character_codefunction. This change improves the handling of character encoding in both synchronous and asynchronous report downloads.
- Updated the
Bug Fixes
- No specific bug fixes were documented in this release.
Internal
- Added comprehensive tests for the
resolve_character_codefunction to ensure correct behavior across various encoding scenarios.
Diagram of Character Encoding Resolution Update
graph TD;
A[Previous Encoding Handling] --> B[Enhanced Encoding Handling];
B --> C[Considers response_charset_encoding];
B --> D[Improved Fallback Logic];
This update enhances the robustness of character encoding detection, particularly in scenarios where the response charset is not explicitly set, ensuring more reliable data processing for users.