Breaking (!) API changes for v2 API, September 18 to September 25
This week, the mittwald API introduces several changes, including the addition of new optional request parameters and properties, the requirement of request bodies for specific endpoints, and updates to response properties, enhancing the overall functionality and flexibility of the API.
Summary
- The response property
/anyOf[#/components/schemas/de.mittwald.v1.marketplace.UnpublishedExtension]/contextbecame optional for the status200in theGEToperation for the path/v2/extensions/{extensionId}. This is a breaking change. - The request body became required for the
POSToperations for the paths/v2/users/self/spotlights/{spotlightId}and/v2/users/self/spotlights/{spotlightId}/feedback. This is a breaking change. - Added the new optional 'header' request parameter
Accept-Languagefor theGEToperations for the paths/v2/app-installations/{appInstallationId}/error-analysis,/v2/container-image-config, and/v2/stacks/{stackId}/services/{serviceId}/log-analysis. - Added the new optional request property
projectIdfor thePOSToperation for the path/v2/domain-transferable. - Added the required property
reasons/enabledIngressInOtherProjectto the response with the200status for thePOSToperation for the path/v2/domain-transferable. - New endpoints were added for the
GEToperations for the paths/v2/leaked-passwords/{passwordHashPrefix}and/v2/oauth2/clients/{oauthClientId}. - Removed the pattern
|^\+([0-9]{2,3}|1)-[0-9]{2,5}-[0-9]+$from the request propertycontact/phoneNumberfor thePOSToperation for the path/v2/relocation. - Added the new optional request properties
x-descriptionandx-update-schedulefor thePATCHoperation for the path/v2/stacks/{stackId}. - The request property
ownerbecame optional for thePOSToperation for the path/v2/users/self/spotlights/{spotlightId}/feedback.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Get an Extension"
- ⚠️ Breaking: the response property '/anyOf[#/components/schemas/de.mittwald.v1.marketplace.UnpublishedExtension]/context' became optional for the status '200'
For details, refer to the GET/ endpoint.
Changes in "Submit your usage of the spotlight"
- ⚠️ Breaking: request body became required
For details, refer to the POST/ endpoint.
Changes in "Submit your spotlight usage"
-
⚠️ Breaking: request body became required
-
the request property 'owner' became optional
For details, refer to the POST/ endpoint.
Changes in "Get an analysis of the error of an app installation"
- added the new optional 'header' request parameter 'Accept-Language'
For details, refer to the GET/ endpoint.
Changes in "Get a ContainerImageConfig"
- added the new optional 'header' request parameter 'Accept-Language'
For details, refer to the GET/ endpoint.
Changes in "Check if a Domain is available to transfer"
-
added the new optional request property 'projectId'
-
added the required property 'reasons/enabledIngressInOtherProject' to the response with the '200' status
For details, refer to the POST/ endpoint.
Changes in "Check if a password is leaked"
- endpoint added
For details, refer to the GET/ endpoint.
Changes in "Get a specific OAuth2 client"
- endpoint added
For details, refer to the GET/ endpoint.
Changes in "Relocate an external Project to mittwald"
- removed the pattern '|^+([0-9]{2,3}|1)-[0-9]{2,5}-[0-9]+$' from the request property 'contact/phoneNumber'
For details, refer to the POST/ endpoint.
Changes in "Create, update or delete Services or Volumes belonging to a Stack"
-
added the new optional request property 'x-description'
-
added the new optional request property 'x-update-schedule'
For details, refer to the PATCH/ endpoint.
Changes in "Get an analysis of the logs belonging to a Service"
- added the new optional 'header' request parameter 'Accept-Language'
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK v2.2.2 Release Summary
The mittwald PHP SDK has released version 2.2.2, which introduces new features, enhancements, and adjustments to improve user experience and functionality.
New Features
- Leaked Password Verification: A new endpoint has been added to check if a password has been compromised. By submitting a
passwordHashPrefix(up to 5 characters), the API returns all matching password hashes with their prevalence counts, allowing applications to warn users about leaked credentials.
Enhancements
- Domain Transferability Checks: The domain transfer validation API has been enhanced to support project-specific contexts and prevent ingress conflicts. The request body now includes
projectIdto specify the target project, and the response includesenabledIngressInOtherProject, which indicates if an enabled ingress for the domain exists in another project.
Adjustments
- Relocation Phone Number Validation: The validation rules for the
phoneNumberfield in relocation requests have been relaxed by removing a strict regex constraint, allowing more flexible phone number formats.
For more details, visit the release page.
mittwald PHP SDK v2.2.1 Release Summary
The mittwald PHP SDK has been updated to version 2.2.1. This release introduces several new features and enhancements, particularly focusing on Marketplace OAuth2 client management, webhook execution resumption, and User spotlight tracking. Additionally, it includes improvements in extension listing capabilities and updates to request/response schemas for container service declarations.
Key Features and Enhancements:
-
Marketplace Enhancements:
- New endpoint
contributorGetOauthClientfor detailed OAuth2 client information. extensionResumeWebhookExecutionForExtensionInstanceto resume suspended webhook executions.- New filtering option
contract.interactionRequiredfor extension instances.
- New endpoint
-
User Spotlight Management:
getSpotlightInfoto fetch spotlight status and decision details.spotlightFeedbackfor submitting user feedback and decisions.spotlightUsagefor recording usage metrics.
Deprecations:
- Stack properties
descriptionandupdateScheduleare deprecated in favor ofx-descriptionandx-update-schedule. restartPolicyin service declarations is deprecated; userestartinstead.- The
ownerfield in spotlight feedback and usage requests is deprecated.
API Behavior & Compatibility Updates:
- Clarification on declarative stack PUT endpoint behavior.
- The
contextfield inUnpublishedExtensionis now optional.
Documentation Updates:
- Updated docblocks and validation schemas.
- Added comprehensive request builders and response containers for new endpoints.
For more details, please refer to the release page.
mittwald JavaScript SDK Release 4.471.0
The mittwald JavaScript SDK has been updated to version 4.471.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.470.0
The mittwald JavaScript SDK has been updated to version 4.470.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.469.0
The mittwald JavaScript SDK has been updated to version 4.469.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release notes on GitHub.
mittwald JavaScript SDK Release 4.468.0
The mittwald JavaScript SDK has been updated to version 4.468.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.468.0.
mittwald JavaScript SDK Release 4.467.0
The mittwald JavaScript SDK has been updated to version 4.467.0. This release introduces a new feature that allows the acceptance of JavaScript Date objects for date-time request values, addressing issues raised in #209. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.466.0
The mittwald JavaScript SDK has been updated to version 4.466.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.