✨ Added
- New API exceptions (
TooManyRequestsError,FreeAppLimitedError,DisabledForFreeAppError,WrongFormatStructureError,InvalidFormatError). - Public
Configclass with support for in-memory runtime overrides (update,clear_overrides,get). - Masking of sensitive values (e.g., API tokens) in string representations.
- Exposed
Configat the top-level package for external usage.
🐛 Fixed
- Improved
_ChunkedFileWrapperto rewind file streams before upload, preventingEMPTY_FILEerrors and truncated uploads. Added__len__,__iter__, and__next__methods for better streaming client compatibility and chunk iteration. - Improved JSON response detection in
vertopal.api.interface._Interface.send_request
to correctly handleContent-Typeheaders with parameters (e.g.application/json; charset=utf-8).
Full Changelog: v2.1.0...v2.2.0