Skip to content

v2.2.14

Latest

Choose a tag to compare

@mittwald-machine mittwald-machine released this 16 Oct 19:17

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 CreateFileRequestEntityTooLargeResponse class has been implemented to parse, validate, and manage large payload errors.
  • Plan Suspension Status: Introduced a suspended boolean field to both CustomerPlan and ProjectPlan schemas. 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 key field and its associated methods in the AIHosting/Key schema 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 FileClientImpl to properly route 413 status codes to the new error response handler.
  • Enhanced validation and serialization logic for AI Hosting schema models.