Breaking (!) API changes for v2 API, October 24 to October 31
This week, the mittwald API introduces several changes, including modifications to response formats and properties for the user authentication and lead management endpoints, the addition of a new endpoint for cronjob execution analysis, and updates to the response structure for various service-related operations.
Summary
- The response body type for the
POSToperation at/v2/authenticatehas changed from 'object' to an unspecified type for the '400' status. Additionally, the required properties 'message' and 'type' have been removed from the response for the same status. This constitutes a breaking change. - For the
GEToperation at/v2/customers/{customerId}/leadsand/v2/customers/{customerId}/unlocked-leads, the type of the 'technologies' query parameter's '/items/' property has changed from 'string' to an unspecified type. - The
GEToperation at/v2/customers/{customerId}/unlocked-leadshas had several optional properties removed from the response with the '200' status, including 'leads/items/contact/address/address_prefix', 'leads/items/contact/address/country_code', and 'leads/items/contact/address/house_number'. - The
GEToperation at/v2/customers/{customerId}/unlocked-leads/{leadId}has also had optional properties removed from the response with the '200' status, specifically 'contact/address/address_prefix', 'contact/address/country_code', and 'contact/address/house_number'. - The
POSToperation at/v2/authenticatehas added '#/components/schemas/de.mittwald.v1.commons.ValidationErrors' and '#/components/schemas/de.mittwald.v1.commons.Error' to the response body 'anyOf' list for the '400' status. - A new non-success response with the status '412' has been added to the
DELETEoperation at/v2/contributors/{contributorId}/extensions/{extensionId}. - A new endpoint has been added for the
GEToperation at/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis. - The
GEToperation at/v2/customers/{customerId}/unlocked-leadshas added optional properties to the response with the '200' status, including 'leads/items/contact/address/addressPrefix', 'leads/items/contact/address/countryCode', and 'leads/items/contact/address/houseNumber'. - The
GEToperation at/v2/customers/{customerId}/unlocked-leads/{leadId}has added optional properties to the response with the '200' status, including 'contact/address/addressPrefix', 'contact/address/countryCode', and 'contact/address/houseNumber'. - The
GEToperation at/v2/projects/{projectId}/serviceshas added the optional property '/items/deploy' to the response with the '200' status. - The
GEToperation at/v2/projects/{projectId}/stackshas added the optional property '/items/services/items/deploy' to the response with the '200' status. - The
GEToperation at/v2/stacks/{stackId}has added the optional property 'services/items/deploy' to the response with the '200' status. - The
PATCHoperation at/v2/stacks/{stackId}has added the optional property 'services/items/deploy' to the response with the '200' status. - The
PUToperation at/v2/stacks/{stackId}has added the optional property 'services/items/deploy' to the response with the '200' status. - The
GEToperation at/v2/stacks/{stackId}/services/{serviceId}has added the optional property 'deploy' to the response with the '200' status.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Authenticate yourself to get an access token"
-
⚠️ Breaking: the response's body type/format changed from 'object'/'' to ''/'' for status '400'
-
⚠️ Breaking: removed the required property 'message' from the response with the '400' status
-
⚠️ Breaking: removed the required property 'type' from the response with the '400' status
-
added '#/components/schemas/de.mittwald.v1.commons.ValidationErrors, #/components/schemas/de.mittwald.v1.commons.Error' to the response body 'anyOf' list for the response status '400'
For details, refer to the POST/ endpoint.
Changes in "Get all leads. Use the unlocked routes for more lead details"
- for the 'query' request parameter 'technologies', the type/format of property '/items/' was changed from 'string'/'' to ''/''
For details, refer to the GET/ endpoint.
Changes in "Get all unlocked leads. Organisation can unlock leads"
-
for the 'query' request parameter 'technologies', the type/format of property '/items/' was changed from 'string'/'' to ''/''
-
removed the optional property 'leads/items/contact/address/address_prefix' from the response with the '200' status
-
removed the optional property 'leads/items/contact/address/country_code' from the response with the '200' status
-
removed the optional property 'leads/items/contact/address/house_number' from the response with the '200' status
-
added the optional property 'leads/items/contact/address/addressPrefix' to the response with the '200' status
-
added the optional property 'leads/items/contact/address/countryCode' to the response with the '200' status
-
added the optional property 'leads/items/contact/address/houseNumber' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a detail of a unlocked lead. Organisation can unlock leads"
-
removed the optional property 'contact/address/address_prefix' from the response with the '200' status
-
removed the optional property 'contact/address/country_code' from the response with the '200' status
-
removed the optional property 'contact/address/house_number' from the response with the '200' status
-
added the optional property 'contact/address/addressPrefix' to the response with the '200' status
-
added the optional property 'contact/address/countryCode' to the response with the '200' status
-
added the optional property 'contact/address/houseNumber' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Delete an extension"
- added the non-success response with the status '412'
For details, refer to the DELETE/ endpoint.
Changes in "Get a cronjob execution analysis for failed executions"
- endpoint added
For details, refer to the GET/ endpoint.
Changes in "List Services belonging to a Project"
- added the optional property '/items/deploy' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "List Stacks belonging to a Project"
- added the optional property '/items/services/items/deploy' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a Stack"
- added the optional property 'services/items/deploy' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Create, update or delete Services or Volumes belonging to a Stack"
- added the optional property 'services/items/deploy' to the response with the '200' status
For details, refer to the PATCH/ endpoint.
Changes in "Declaratively create, update or delete Services or Volumes belonging to a Stack"
- added the optional property 'services/items/deploy' to the response with the '200' status
For details, refer to the PUT/ endpoint.
Changes in "Get a Service belonging to a Stack"
- added the optional property 'deploy' to the response with the '200' status
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.161
The latest release of the mittwald PHP SDK, version v2.1.161, introduces new features and updates to enhance functionality and documentation clarity.
New Features
- A new class,
ExtensionDeleteExtensionPreconditionFailedResponse, has been introduced to handle specific HTTP responses for delete extension operations when preconditions fail.
Changes
- Documentation updates in
MarketplaceClient.phpandMarketplaceClientImpl.phpto provide clearer guidance on the extension deletion process. - A new case has been added in
MarketplaceClientImplto handle 412 status code responses with theExtensionDeleteExtensionPreconditionFailedResponse.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.160
The latest release of the mittwald PHP SDK, version v2.1.160, introduces several changes and removals to streamline and simplify the codebase.
Removed
- The
AuthenticateBadRequestResponseclass has been removed. This class previously managed responses for bad authentication requests, including its associated methods and validation schema.
Changes
- UserClientImpl Updates: The reference to
AuthenticateBadRequestResponsehas been removed. Handling for status code400now utilizes anUntypedResponse. - CronjobExecutionAnalysis Updates: The class has been simplified by removing properties and methods related to
issuesandrecommendation. It now focuses solely on handling amessage, which reduces its complexity. ThebuildFromInputmethod andtoJsonoutput have been updated accordingly.
For more details, please visit the release page.
mittwald PHP SDK Release v2.1.159
The mittwald PHP SDK has been updated to version v2.1.159. This release introduces several new features and API changes, primarily focusing on cronjob execution analysis.
Features
- Cronjob Execution Analysis: A new feature has been added to retrieve detailed analyses of cronjob executions, particularly for failed executions. This includes messages about possible causes and recommendations for resolution.
API Changes
-
New Methods:
getExecutionAnalysis: This method allows users to obtain an analysis of failed cronjob executions by accepting aGetExecutionAnalysisRequestobject and returning aGetExecutionAnalysisOKResponse.
-
New Responses:
- Various response classes have been introduced for the
getExecutionAnalysismethod, including:GetExecutionAnalysisBadRequestResponseGetExecutionAnalysisDefaultResponseGetExecutionAnalysisForbiddenResponseGetExecutionAnalysisInternalServerErrorResponseGetExecutionAnalysisNotFoundResponseGetExecutionAnalysisTooManyRequestsResponseGetExecutionAnalysisOKResponse
- Various response classes have been introduced for the
-
New Request Class:
GetExecutionAnalysisRequest: This new request class is used to fetch execution analysis, requiring anexecutionIdand acronjobId.
-
New Schema Classes:
CronjobExecutionAnalysis: A schema class that outlines the structure of the cronjob execution analysis response.
-
Updated Existing Schemas:
- Adjustments have been made to existing schema classes under the
Leadfyndrnamespace, changing field names from snake_case to camelCase, such as:address_prefixtoaddressPrefixcountry_codetocountryCodehouse_numbertohouseNumber
- Adjustments have been made to existing schema classes under the
For more details, visit the release page.
mittwald PHP SDK Release v2.1.158
The latest release of the mittwald PHP SDK, version 2.1.158, introduces several enhancements and new features aimed at improving container management and resource allocation capabilities.
Added Features
- New classes for container management, including
Deploy,ResourceSpec, andResources, have been introduced. These classes enhance the API's ability to manage container deployment specifications and resource allocation.
Updated Requests
- ListLeadsRequest and ListUnlockedLeadsRequest have been updated to modify the
technologiesfield. It now supports an array structure that can include a string type or the value 'none'. The type hint fortechnologieshas been updated fromstring[]|nulltomixed[]|null.
New Classes
- Deploy: Defines the deployment schema for containers, including methods for managing resources, input validation, and JSON serialization.
- ResourceSpec: Represents resource specifications for containers, including CPU and memory constraints, with validation and serialization features.
- Resources: Provides a schema to define limits on resources for container deployments, wrapping around
ResourceSpecand including methods for validation and input handling.
Updated Service Management
- ServiceDeclareRequest and ServiceRequest: Both classes now include a
deployfield referencing the newDeployschema, with updated methods and input handling to support deployment specifications. - ServiceResponse: Expanded to include a reference to the
Deployclass for handling deployment information in responses.
These updates collectively enhance the API's flexibility and usability in managing container deployments and associated resources. For more details, visit the release page.
mittwald PHP SDK Release v2.1.157
The mittwald PHP SDK has been updated to version v2.1.157. This release introduces new features and improvements:
Added
- CheckMigrationIsPossibleErrorActiveMailArchiveForAddress Class: A new class designed to handle errors related to active mail archives during migration. It includes methods for validation, input processing, and JSON serialization.
- Array activeMailArchiveForAddress in PossibleCheckErrors: The
PossibleCheckErrorsschema now supports an array ofCheckMigrationIsPossibleErrorActiveMailArchiveForAddress, enabling the reporting of multiple active mail archive errors simultaneously.
Changed
- PossibleCheckErrors Constructor: Updated to accept and initialize the
activeMailArchiveForAddressparameter. - buildFromInput Method: Now creates instances of
CheckMigrationIsPossibleErrorActiveMailArchiveForAddressfrom input data for theactiveMailArchiveForAddressproperty. - toJson Method: Enhanced to include serialization of the new
activeMailArchiveForAddressproperty alongside existing error types. - withActiveMailArchiveForAddress Method: Introduced to allow fluent modification of the
activeMailArchiveForAddressproperty withinPossibleCheckErrors.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.251.0
The mittwald JavaScript SDK has been updated to version 4.251.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.250.0
The mittwald JavaScript SDK has been updated to version 4.250.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.249.0
The mittwald JavaScript SDK has been updated to version 4.249.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.249.0.
mittwald JavaScript SDK Release 4.248.0
The mittwald JavaScript SDK has been updated to version 4.248.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.247.0
The mittwald JavaScript SDK has been updated to version 4.247.0. This release introduces a new feature:
- Models: Added a contributor model to enhance the SDK's functionality (commit ff1d76e).
For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.247.0.
mittwald JavaScript SDK Release 4.246.0
The mittwald JavaScript SDK has been updated to version 4.246.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.246.0.
mittwald JavaScript SDK Release 4.245.0
The mittwald JavaScript SDK has been updated to version 4.245.0. This release includes a feature update to the generated client. For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.245.0.