Releases: Wacom-Developer/personal-knowledge-library
Releases · Wacom-Developer/personal-knowledge-library
v4.3.0
v4.2.2
v4.2.1
v4.2.0
2026/02/20 - RELEASE 4.2.0
- Refactoring, move the functions for queue management to dedicated QueueClient
- Adding QueueManagementClient for managing the queues, e.g., listing queues, getting queue details, etc.
- Adding IndexManagementClient for managing the indexes of the Vector Search service
- Adding InkServicseClient for using the conversion services or ink to text, ink to math, services
- Adding additional samples
v4.1.0
2026/02/06 - RELEASE 4.1.0
- Added type annotations and return types - Added -> None, -> str, -> Dict[str, Any], etc. to functions missing return type annotations, and added proper type parameters to generic types like Dict, List, and Tuple
- Fixed response.content type casting - Wrapped all response.content assignments with cast(Dict[str, Any], ...) or appropriate type since the async response content is a union type (str | bytes | bool | dict | list)
- Fixed variable redefinitions in try/except blocks - Changed patterns like var: Type = value in both try and except branches to declare the type first (var: Type) then assign in each branch to avoid mypy "already defined" errors
- Added Optional types and logger guards - Changed function parameters from List[T] = None to Optional[List[T]] = None, and wrapped logger calls with if logger: guards since the logger can be None
- Fixed imports and type compatibility issues - Corrected import paths for symbols like DEFAULT_TIMEOUT, changed setter parameter types to accept Optional[str] where needed, and used cast() with Literal types for enum-like values
- Refactored response handling - Moved response handling code out of the client classes into a separate structure ResponseData
v4.0.4
v4.0.3
v4.0.1
2025/11/27 - RELEASE 4.0.1
- Major refactoring of the session management and reusing of the same requests and asyncio session for multiple requests
- Adding queue API support for async client
- Changing the constructor parameters of all clients and make it more consistent
- Minor fixes