API changes for v2 API, October 2 to October 9
This week, the mittwald API introduces a new endpoint for rotating keys, adds optional properties to various invoice responses, and includes non-success status responses for specific operations.
Summary
- A new endpoint has been added for rotating a customer's key with the operation
POSTat the path/v2/customers/{customerId}/ai-hosting-keys/{keyId}/actions/rotate. - A new endpoint has been added for rotating a project's key with the operation
POSTat the path/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/rotate. - The response for the
GEToperationinvoice-list-customer-invoicesat the path/v2/customers/{customerId}/invoicesnow includes two optional properties:/items/cancellation/xRechnungIdand/items/xRechnungId. - The response for the
GEToperationdeprecated-invoice-detail-of-invoiceat the path/v2/customers/{customerId}/invoices/{invoiceId}now includes two optional properties:cancellation/xRechnungIdandxRechnungId. - The response for the
GEToperationinvoice-detailat the path/v2/invoices/{invoiceId}now includes two optional properties:cancellation/xRechnungIdandxRechnungId. - A new optional request parameter
fileTypehas been added to theGEToperationinvoice-get-file-access-tokenat the path/v2/customers/{customerId}/invoices/{invoiceId}/file-access-token. - The
PUToperationnotifications-read-notificationat the path/v2/notifications/{notificationId}/statusnow includes a non-success response with the status403. - The
GEToperationproject-list-project-activitiesat the path/v2/projects/{projectId}/activitieshas had multiple schemas added to the/items/actionresponse propertyanyOflist for the response status200. - The
POSToperationdns-create-dns-zone-file-importat the path/v2/projects/{projectId}/dns-zone-importsnow includes a non-success response with the status409.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Rotates a customer's key"
- endpoint added
For details, refer to the POST/ endpoint.
Changes in "List Invoices of a Customer"
-
added the optional property '/items/cancellation/xRechnungId' to the response with the '200' status
-
added the optional property '/items/xRechnungId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get details of an Invoice"
-
added the optional property 'cancellation/xRechnungId' to the response with the '200' status
-
added the optional property 'xRechnungId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Request an Access Token for a file of the Invoice"
- added the new optional 'query' request parameter 'fileType'
For details, refer to the GET/ endpoint.
Changes in "Get details of an Invoice"
-
added the optional property 'cancellation/xRechnungId' to the response with the '200' status
-
added the optional property 'xRechnungId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Mark notification as read"
- added the non-success response with the status '403'
For details, refer to the PUT/ endpoint.
Changes in "Get the activities of a project"
- added '#/components/schemas/de.mittwald.v1.activitylog.ContainerStackCreated, #/components/schemas/de.mittwald.v1.activitylog.ContainerStackDescriptionUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerStackStorageUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerStackUpdateScheduleUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerStackDeleted, #/components/schemas/de.mittwald.v1.activitylog.ContainerCreated, #/components/schemas/de.mittwald.v1.activitylog.ContainerDescriptionUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerImageUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerEntrypointUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerCommandUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerPortsUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerVolumesUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerEnvsUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerResourcesUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerRestartPolicyUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerLifecycle, #/components/schemas/de.mittwald.v1.activitylog.ContainerDeleted, #/components/schemas/de.mittwald.v1.activitylog.ContainerVolumeCreated, #/components/schemas/de.mittwald.v1.activitylog.ContainerVolumeDeleted, #/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryCreated, #/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryDescriptionUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryUriUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryCredentialsUpdated, #/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryDeleted, #/components/schemas/de.mittwald.v1.activitylog.ProjectCreated, #/components/schemas/de.mittwald.v1.activitylog.ProjectDescriptionUpdated' to the '/items/action' response property 'anyOf' list for the response status '200'
For details, refer to the GET/ endpoint.
Changes in "Rotates a project's key"
- endpoint added
For details, refer to the POST/ endpoint.
Changes in "Import a DNS zone file into a Project, or preview it with dry-run"
- added the non-success response with the status '409'
For details, refer to the POST/ endpoint.
Client package releases
mittwald PHP SDK v2.2.9 Release Summary
The mittwald PHP SDK has been updated to version 2.2.9. This release introduces several new features and enhancements:
- AI Hosting Key Rotation: New endpoints have been added to facilitate secure API key rotation for both customers and projects. This feature allows developers to issue new secrets while managing the transition period effectively.
- Grace Period Support: The key rotation operations now include an optional
gracePeriodparameter, allowing the old secret to remain valid for a specified duration (e.g.,24h,1m) alongside the new one before being revoked. - Enhanced Error Handling: The SDK now generates comprehensive type-safe response classes to handle standard HTTP status codes (
400,403,404,429) with structured error payloads.
API Additions:
AIHostingClient::customerRotateKey(CustomerRotateKeyRequest $request): CustomerRotateKeyOKResponseAIHostingClient::projectRotateKey(ProjectRotateKeyRequest $request): ProjectRotateKeyOKResponse
Generated Types:
- New request and response classes have been added under the
CustomerRotateKeyandProjectRotateKeynamespaces. These include request builders with automatic URL construction, request body models withgracePeriodsupport, and dedicated response containers for success and error states, complete with validation and JSON serialization utilities.
For more details, please visit the release page.
mittwald PHP SDK v2.2.8 Release Summary
The mittwald PHP SDK has been updated to version 2.2.8. This release introduces new activity log schemas, enhancing the tracking and handling of container lifecycle and configuration changes. The update includes comprehensive auto-generated PHP schema classes for container activity log events, providing structured data models for both before and after states, along with contextual parameters and strict JSON schema validation.
Key Features:
- Container Lifecycle Events: New events include
container.started,container.stopped,container.restarted, andcontainer.recreated. - Configuration & State Changes: Tracks updates to container commands, descriptions, entrypoints, environment variables, image references, and port mappings.
- Schema Features:
- Immutable builder pattern for safe state mutations.
- Strict JSON schema validation with detailed error reporting.
- Serialization support for JSON conversion.
- Contextual parameters for precise tracing.
- Namespace organization under
Mittwald\\ApiClient\\Generated\\V2\\Schemas\\Activitylog.
For more details, visit the release page.
mittwald PHP SDK v2.2.7 Release Summary
The mittwald PHP SDK has been updated to version 2.2.7. This release introduces several enhancements and new features:
-
Notification API Enhancements:
- Added explicit handling for
403 ForbiddenHTTP responses in theNotificationsReadNotificationendpoint. - Introduced the
NotificationsReadNotificationForbiddenResponseclass to parse, validate, and serialize forbidden error payloads.
- Added explicit handling for
-
Activity Log: Project Event Tracking:
- Extended the activity log schema to track project-level lifecycle events, enabling detailed auditing of project creation and description modifications.
- Added
ProjectCreatedandProjectDescriptionUpdatedschema classes to capture project lifecycle events. - Implemented change tracking models with dedicated
AfterandBeforestate classes for comparing pre- and post-modification data. - Added
ParameterPropertyandNameenum models for structured metadata representation. - Updated
LogEntrytype unions, match statements, and JSON serialization logic to support the new action types.
For more details, visit the release page.
mittwald PHP SDK Release v2.2.6
The mittwald PHP SDK has been updated to version 2.2.6. This release focuses on enhancing the database client schema, particularly for MySQL user password requirements. Key updates include:
-
Database Client Updates: The V2 Database client schema now explicitly documents MySQL user password requirements for both creation and update operations. This ensures developers are aware of complexity rules, character restrictions, and minimum length requirements when using the MySQL user API.
-
Schema & Documentation Improvements:
- Creation Schemas: Added detailed
descriptionfields for thepasswordparameter inCreateMySqlUserandCreateMySqlUserWithDatabaseschemas. - Update Schemas: Consistent password requirement documentation has been applied to
UpdateMysqlUserRequestandUpdateMysqlUserRequestBody. - Deprecated Classes: Password constraint descriptions have been migrated to match the active schema for consistency.
- PHPDoc Updates: Inline documentation has been added to the private
$passwordproperties across all affected request and schema classes.
- Creation Schemas: Added detailed
For more details, visit the release page.
mittwald PHP SDK v2.2.5 Release Summary
The mittwald PHP SDK version 2.2.5 has been released, introducing several enhancements and new features. You can view the full release details here.
Key Updates:
-
Invoice File Access Token Enhancement:
- Introduced a
fileTypeenum (PDF,XRECHNUNG) forInvoiceGetFileAccessTokenRequest, defaulting toPDF. - Added
InvoiceGetFileAccessTokenRequestFileTypeenum with updated request builders, getters, and setters.
- Introduced a
-
DNS Zone Import Conflict Handling:
- Implemented
DnsCreateDnsZoneFileImportConflictResponseto manage409 ConflictHTTP status codes during DNS zone imports. - Enhanced
DomainClientImplto map409responses to the new conflict response class.
- Implemented
-
XRechnung ID Support:
- Added
xRechnungId(UUID) field toInvoiceandCancellationschema objects for tracking XRechnung XML files. - Provided full support through getters, setters, and serialization/deserialization methods.
- Added
-
Documentation & Code Quality:
- Improved docblock comments for invoice file access token retrieval.
- Clarified DNS zone import conflict rejection behavior and preview details.
These updates aim to enhance functionality and improve the handling of specific scenarios within the SDK.
mittwald JavaScript SDK Release 4.491.0
The mittwald JavaScript SDK has been updated to version 4.491.0. This release includes the following feature:
- Updated the generated client to enhance functionality (commit 76fa6f1).
For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.491.0.
mittwald JavaScript SDK Release 4.490.0
The mittwald JavaScript SDK has been updated to version 4.490.0. This release includes an update to the generated client, enhancing the functionality and performance of the SDK. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.489.0
The mittwald JavaScript SDK has been updated to version 4.489.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.488.0
The mittwald JavaScript SDK has been updated to version 4.488.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.487.0
The mittwald JavaScript SDK has been updated to version 4.487.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.486.0
The mittwald JavaScript SDK has been updated to version 4.486.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.485.0
The mittwald JavaScript SDK has been updated to version 4.485.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.484.0
The mittwald JavaScript SDK has been updated to version 4.484.0. This release includes the following feature:
- Updated generated client (commit 9d3be5e).
For more details, please visit the release page.
mittwald JavaScript SDK Release 4.483.1
The mittwald JavaScript SDK version 4.483.1 has been released. This update includes performance improvements specifically in the models, where all resources of an invalidated URL are refreshed in one pass. This enhancement is aimed at optimizing resource handling and improving overall efficiency.
For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.483.1.
mittwald JavaScript SDK Release 4.483.0
The mittwald JavaScript SDK has been updated to version 4.483.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the full release notes on GitHub.
mittwald JavaScript SDK Release 4.482.0
The mittwald JavaScript SDK has been updated to version 4.482.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.482.0.
mittwald JavaScript SDK Release 4.481.0
The mittwald JavaScript SDK has been updated to version 4.481.0. This release includes the following feature:
- Updated generated client (commit 06c2790).
For more details, you can view the release on GitHub.