Breaking (!) API changes for v2 API, March 14 to March 21
This week, the mittwald API introduces several enhancements, including default values for the 'limit' and 'skip' parameters in the cronjob listing endpoint, new optional request properties and parameters for extension and backup management, and the addition of required properties in responses for extensions and customers.
Summary
-
For the
GEToperationcronjob-list-cronjobsat the path/v2/projects/{projectId}/cronjobs, the following changes have been made:- A default value of
1000.00was added for thequeryrequest parameterlimit. - A default value of
0.00was added for thequeryrequest parameterskip. - The minimum value for the
queryrequest parameterlimitwas increased from0.00to1.00. This is a breaking change. - The minimum value for the
queryrequest parameterpagewas increased from0.00to1.00. This is a breaking change.
- A default value of
-
The following endpoints have been added:
POSToperationextension-request-asset-uploadat the path/v2/contributors/{contributorId}/extensions/{extensionId}/assets.DELETEoperationextension-remove-assetat the path/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}.POSToperationextension-request-logo-uploadat the path/v2/contributors/{contributorId}/extensions/{extensionId}/logo.PUToperationextension-set-extension-published-stateat the path/v2/contributors/{contributorId}/extensions/{extensionId}/published.POSToperationextension-request-extension-verificationat the path/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process.
-
For the
GEToperationcustomer-list-customersat the path/v2/customers, the following optional properties have been added to the response with the200status:/items/flags/items/levelOfUndeliverableDunningNotice
-
For the
GEToperationcustomer-get-customerat the path/v2/customers/{customerId}, the following optional properties have been added to the response with the200status:flagslevelOfUndeliverableDunningNotice
-
The response property
/items/logoRefIdfor theGEToperationextension-list-extensionsat the path/v2/extensionshas become required for the200status. -
The response property
logoRefIdfor theGEToperationextension-get-extensionat the path/v2/extensions/{extensionId}has become required for the200status. -
For the
GEToperationbackup-list-project-backupsat the path/v2/projects/{projectId}/backups, the following new optionalqueryrequest parameters have been added:limitpagesearchTermskip
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "List cronjobs belonging to a Project"
-
⚠️ Breaking: for the 'query' request parameter 'limit', default value '1000.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'skip', default value '0.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'limit', the min was increased from '0.00' to '1.00'
-
⚠️ Breaking: for the 'query' request parameter 'page', the min was increased from '0.00' to '1.00'
For details, refer to the GET/ endpoint.
Changes in "Register an Extension"
- added the new optional request property 'externalFrontends'
For details, refer to the POST/ endpoint.
Changes in "Add an asset to an extension"
- endpoint added
For details, refer to the POST/ endpoint.
Changes in "Remove an asset of an extension"
- endpoint added
For details, refer to the DELETE/ endpoint.
Changes in "Add a logo to an extension"
- endpoint added
For details, refer to the POST/ endpoint.
Changes in "Publish or withdraw an Extension"
- endpoint added
For details, refer to the PUT/ endpoint.
Changes in "Start the verification process of an Extension"
- endpoint added
For details, refer to the POST/ endpoint.
Changes in "Get all customer profiles the authenticated user has access to"
-
added the optional property '/items/flags' to the response with the '200' status
-
added the optional property '/items/levelOfUndeliverableDunningNotice' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a customer profile"
-
added the optional property 'flags' to the response with the '200' status
-
added the optional property 'levelOfUndeliverableDunningNotice' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "List Extensions"
- the response property '/items/logoRefId' became required for the status '200'
For details, refer to the GET/ endpoint.
Changes in "Get an Extension"
- the response property 'logoRefId' became required for the status '200'
For details, refer to the GET/ endpoint.
Changes in "List Backups belonging to a Project"
-
added the new optional 'query' request parameter 'limit'
-
added the new optional 'query' request parameter 'page'
-
added the new optional 'query' request parameter 'searchTerm'
-
added the new optional 'query' request parameter 'skip'
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.121
The mittwald PHP SDK has released version v2.1.121 with several new features, breaking changes, and improvements.
Added Features
- ListProjectBackupsRequest Enhancements:
- Introduced a
searchTermparameter for filtering backups. - Added
limit,skip, andpageparameters to support pagination.
- Introduced a
- Customer Schema Updates:
CreateCustomerandUpdateCustomerresponses now limit thenamefield to 80 characters.- New schema elements in the
Customerclass, includingflagsandlevelOfUndeliverableDunningNotice.
Breaking Changes
- The
Customerclass now includes additional properties (flagsandlevelOfUndeliverableDunningNotice), which may affect customer creation and updates.
Bug Fixes and Improvements
- Enhanced validation logic for new properties in
ListProjectBackupsRequest. - Improved backward compatibility while integrating new features.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.120
The mittwald PHP SDK has been updated to version 2.1.120. This release introduces several new features and deprecations aimed at improving asset management for extensions.
Added Features
- Asset Removal: A new method,
extensionRemoveAsset, has been added to theMarketplaceClientto support the removal of assets from extensions. - Asset Upload Request: The
extensionRequestAssetUploadmethod allows users to request the upload of assets associated with an extension. - Logo Upload Request: The
extensionRequestLogoUploadmethod provides functionality to request logo uploads for extensions, enhancing asset management capabilities.
Deprecated
- The
externalFrontendfield inExtensionRegisterExtensionRequestandExtensionRegisterExtensionRequestBodyis now deprecated. Users are encouraged to useexternalFrontendsinstead.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.119
The mittwald PHP SDK has been updated to version v2.1.119. This release introduces several enhancements and changes to improve functionality and usability.
Features Added
- Default Values for Pagination: The
ListCronjobsRequestclass now includes default values for thelimitandskipproperties, set to 1000 and 0, respectively. - Input Validation: Updated constraints ensure that the
limitandpageproperties must be at least 1.
Changes
- The
limitproperty is no longer nullable and now defaults to an integer with a minimum value of 1. - The
skipproperty is also no longer nullable and defaults to an integer initialized to 0. - The
getLimitandgetSkipmethods have been updated to return non-nullable integers. - The
withoutLimitandwithoutSkipmethods have been removed to eliminate unnecessary nullable handling. - Serialization logic in
toArrayhas been simplified to always includelimitandskipwithout nullable checks.
For more details, visit the release page.
Release Summary: mittwald PHP SDK v2.1.118
The mittwald PHP SDK has released version 2.1.118, introducing significant enhancements in handling extension verification and managing the published state of extensions within the Marketplace API.
Key features include:
- Extension Verification: New classes have been added to facilitate requests and manage responses related to the verification process of extensions.
- Published State Management: Methods have been introduced to update the visibility (published state) of extensions, addressing edge cases such as user limits and not found conditions.
New Additions:
-
Extension Verification Handling:
- Classes for managing various response scenarios during the extension verification process, including bad requests, default responses, and too many requests scenarios.
-
Extension Published State Management:
- Classes for handling responses when setting the published state of extensions, including successful, not found, and too many requests scenarios.
Updates:
-
MarketplaceClient and MarketplaceClientImpl:
- New methods added to initiate extension verification and manage published states, with implementations to handle corresponding requests and responses.
-
Extension Asset:
- Documentation updates for the
indexproperty inExtensionAsset.phpto clarify its role in asset ordering.
- Documentation updates for the
For more details, visit the release page.
mittwald JavaScript SDK Release 4.122.0
The mittwald JavaScript SDK has been updated to version 4.122.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.122.0.
mittwald JavaScript SDK Release 4.121.0
The mittwald JavaScript SDK has been updated to version 4.121.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.120.0
The mittwald JavaScript SDK has been updated to version 4.120.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.119.0
The mittwald JavaScript SDK has been updated to version 4.119.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.