Repository navigation
Features
This release introduces improved error handling for file operations and adds status tracking for AI hosting plans, alongside important security updates for API authentication.
- File Upload Payload Limit Handling: Added explicit support for HTTP 413 (Request Entity Too Large) responses during file creation. A new
CreateFileRequestEntityTooLargeResponseclass has been implemented to parse, validate, and manage large payload errors. - Plan Suspension Status: Introduced a
suspendedboolean field to bothCustomerPlanandProjectPlanschemas. This enables tracking whether a customer or project plan is currently suspended, complete with default values, validation, and full JSON serialization/deserialization support.
Deprecations
- AI Hosting API Key Exposure: The
keyfield and its associated methods in theAIHosting/Keyschema have been marked as@deprecated. For security reasons, the secret API key will no longer be exposed in future responses. The field currently still returns the actual key to maintain backward compatibility, but clients should prepare to migrate away from relying on this value.
Updates
- Updated
FileClientImplto properly route 413 status codes to the new error response handler. - Enhanced validation and serialization logic for AI Hosting schema models.