Skip to content

v2.1.24

Choose a tag to compare

@github-actions github-actions released this 26 Sep 07:10
e179a2b

Version 2.1.24

New Features

  • Reports API:
    • Added support for retrieving the character encoding of downloaded report documents. The encoding is available as response.character_code. If a character code is explicitly provided, it is echoed back; otherwise, it is resolved from the document response's Content-Type. For metadata-only calls, response.character_code is None.

Bug Fixes

  • Reports API:
    • Fixed an issue where the character encoding information could be incorrectly set or omitted when handling report documents.

Internal

  • Documentation:
    • Updated sphinx-toolbox dependency to version 4.3.1 in docs/requirements.txt.

Diagram of Character Encoding Handling

graph TD;
    A[Request Report Document] --> B{Download/Decrypt};
    B -->|Yes| C[Resolve Character Encoding];
    B -->|No| D[Set character_code to None];
    C --> E[Return ApiResponse with character_code];
    D --> E;

These changes enhance the usability of the Reports API by providing more detailed information about document encoding, which is crucial for correctly processing and displaying report data.