Breaking (!) API changes for v2 API, February 28 to March 7
This week, the mittwald API introduces several updates including changes to response property types, the addition of new endpoints, optional request parameters, and modifications to existing response properties.
Summary
- The property type of 'terminationTargetDate' in the response for the POST operation to terminate a contract has changed from 'string'/'date' to 'string'/'date-time'. This is a breaking change.
- The response property '/items/statistics/amountOfInstances' has become optional for the status '200' in both the GET operations to list own extensions and to list extensions.
- The response property 'statistics/amountOfInstances' has also become optional for the status '200' in the GET operation to get an extension.
- The media type 'application/json' has been removed from the response with the status '204' for the PATCH operation to consent to extension scopes. This is a breaking change.
- A required property '/items/secrets' has been added to the response with the status '200' for the GET operation to list own extensions.
- Three new endpoints have been added:
- A POST operation to register an extension.
- A GET operation to get an extension of the own contributor.
- A PATCH operation to patch an extension.
- Two new optional query request parameters, 'sortOrder' and 'triggeredByUser', have been added to the GET operation to list cronjob executions.
- Non-success responses with the statuses '404' and '412' have been added for the POST operation to create an extension instance.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Schedule the Termination of a Contract"
- ⚠️ Breaking: the 'terminationTargetDate' response's property type/format changed from 'string'/'date' to 'string'/'date-time' for status '201'
For details, refer to the POST/ endpoint.
Changes in "List Extensions of own contributor"
-
⚠️ Breaking: the response property '/items/statistics/amountOfInstances' became optional for the status '200'
-
added the required property '/items/secrets' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Consent to extension scopes"
- ⚠️ Breaking: removed the media type 'application/json' for the response with the status '204'
For details, refer to the PATCH/ endpoint.
Changes in "List Extensions"
- ⚠️ Breaking: the response property '/items/statistics/amountOfInstances' became optional for the status '200'
For details, refer to the GET/ endpoint.
Changes in "Get an Extension"
- ⚠️ Breaking: the response property 'statistics/amountOfInstances' became optional for the status '200'
For details, refer to the GET/ endpoint.
Changes in "Register an Extension"
- endpoint added
For details, refer to the POST/ endpoint.
Changes in "Get Extension of own contributor"
- endpoint added
For details, refer to the GET/ endpoint.
Changes in "Patch Extension"
- endpoint added
For details, refer to the PATCH/ endpoint.
Changes in "List cronjob executions belonging to a cronjob"
-
added the new optional 'query' request parameter 'sortOrder'
-
added the new optional 'query' request parameter 'triggeredByUser'
For details, refer to the GET/ endpoint.
Changes in "Create an extension instance"
-
added the non-success response with the status '404'
-
added the non-success response with the status '412'
For details, refer to the POST/ endpoint.
Client package releases
mittwald PHP SDK v2.1.112 Release
The mittwald PHP SDK has been updated to version v2.1.112. This release introduces new functionality to enhance the handling of marketplace extensions.
Key Updates:
-
Extension Get Own Extension:
- New functionality allows users to retrieve their own extensions, improving the API client's capabilities.
- Introduced new classes to support this feature:
- ExtensionGetOwnExtensionRequest: For requests to fetch a user's own extension, requiring
contributorIdandextensionId. - ExtensionGetOwnExtensionOKResponse: Manages successful responses with extension data.
- ExtensionGetOwnExtensionNotFoundResponse: Handles cases where the extension is not found.
- ExtensionGetOwnExtensionTooManyRequestsResponse: Manages rate limit errors with appropriate messages.
- ExtensionGetOwnExtensionDefaultResponse: Provides a generic response for other request failures.
- ExtensionGetOwnExtensionRequest: For requests to fetch a user's own extension, requiring
-
Marketplace Client Updates:
- The
MarketplaceClientinterface and its implementation (MarketplaceClientImpl) have been updated to include the newextensionGetOwnExtensionmethod, utilizing the newly introduced request and response classes for effective API communication.
- The
For more details, visit the release page.
Release Summary: mittwald PHP SDK v2.1.111
The latest release of the mittwald PHP SDK, version v2.1.111, introduces several updates and changes aimed at improving the handling of contract termination dates and schema definitions.
Features
- Updated Termination Target Date Format: The
terminationTargetDatefield now uses thedate-timeformat instead of the previousdateformat. - Type Change for Termination Target Date: The
terminationTargetDateis now a nullableDateTimeobject instead of a nullable string in theTerminateContractCreatedResponseBodyclass.
Changes
-
TerminateContractCreatedResponse: The
terminationTargetDateformat has been updated todate-time. -
TerminateContractCreatedResponseBody:
- The
terminationTargetDateis now aDateTimeobject. - The
getTerminationTargetDatemethod returns aDateTimeobject. - The
withTerminationTargetDatemethod now accepts aDateTimeobject, with string validation removed. - Parsing and serialization of
terminationTargetDatehave been adjusted to useDateTimeobjects and output inDateTime::ATOMformat. - Cloning capabilities for
terminationTargetDatehave been added.
- The
-
ExtensionStatistics Schema: The
requiredarray has been removed from the schema definition, indicating a change in field requirements within theExtensionStatisticsclass.
For more details, visit the release page.
Release Summary: mittwald PHP SDK v2.1.110
The mittwald PHP SDK has been updated to version v2.1.110. This release introduces several new features and notable changes aimed at enhancing functionality and improving error handling.
Added Features
- ListExecutionsRequest Enhancements: New fields for filtering and sorting cronjob executions have been added, including
triggeredByUserandsortOrderusing theCronjobExecutionSortOrderenumerator. - New Error Responses: Two new response classes have been introduced to handle specific error conditions during extension creation:
ExtensionCreateExtensionInstanceNotFoundResponsefor 404 errors.ExtensionCreateExtensionInstancePreconditionFailedResponsefor 412 errors.
- Marketplace Client Modifications: The
MarketplaceClientnow returns anEmptyResponsetype for theextensionConsentToExtensionScopesmethod.
Notable Changes
- CronjobExecutionSortOrder Enum: A new enum has been introduced to define sorting options for cronjob executions.
- AuthenticateWithAccessTokenRetrievalKey Changes: The
refreshTokenis no longer a required field in the request model. - ExtensionStatistics Schema: Adjustments have been made to the
ExtensionStatisticsclass, including makingamountOfInstancesnullable and adding a description.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.114.0
The mittwald JavaScript SDK has been updated to version 4.114.0. This release includes a feature update with an updated generated client. For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.114.0.
mittwald JavaScript SDK Release 4.113.0
The mittwald JavaScript SDK has been updated to version 4.113.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.113.0.
mittwald JavaScript SDK Release 4.112.0
The mittwald JavaScript SDK has been updated to version 4.112.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.111.0
The mittwald JavaScript SDK has been updated to version 4.111.0. This release includes a feature update with an updated generated client. For more details, you can view the release on GitHub here.