API changes for v2 API, February 6 to February 13
This week, the mittwald API introduces several changes, including the removal of the required 'name' property from the '409' response, the addition of the 'migrating' enum value to various response properties, and updates to non-success response statuses for address and company verification actions.
Summary
- The required property
namehas been removed from the response schema with the409status for theDELETEoperation on the path/v2/users/self. This is now compliant to the common Error type that was already returned. - The optional property
infohas been removed from the response with the409status for theDELETEoperation on the path/v2/users/self. - The required property
typehas been added to the response with the409status for theDELETEoperation on the path/v2/users/self. - The new
migratingenum value has been added to the/items/statusresponse property for the200status in theGEToperation on the path/v2/servers. - The new
migratingenum value has also been added to thestatusresponse property for the200status in theGEToperation on the path/v2/servers/{serverId}. - A non-success response with the status
400has been added for thePOSToperation on the path/v2/actions/verify-address. - The non-success response with the status
500has been removed for thePOSToperation on the path/v2/actions/verify-address. - The non-success response with the status
500has also been removed for thePOSToperation on the path/v2/actions/verify-company. - The optional property
/items/lastErrorhas been added to the response with the200status for theGEToperation on the path/v2/app-installations. - The optional property
lastErrorhas been added to the response with the200status for theGEToperation on the path/v2/app-installations/{appInstallationId}. - A non-success response with the status
403has been added for theGEToperation on the path/v2/contributors/{contributorId}/dashboard. - The optional property
/items/lastErrorhas been added to the response with the200status for theGEToperation on the path/v2/projects/{projectId}/app-installations.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Delete your account and all your personal data"
-
removed the required property 'name' from the response with the '409' status, which was never actually returned
-
removed the optional property 'info' from the response with the '409' status
-
added the required property 'type' to the response with the '409' status
For details, refer to the DELETE/ endpoint.
Changes in "List Servers belonging to the executing user"
- added the new 'migrating' enum value to the '/items/status' response property for the response status '200'
For details, refer to the GET/ endpoint.
Changes in "Get a Server"
- added the new 'migrating' enum value to the 'status' response property for the response status '200'
For details, refer to the GET/ endpoint.
Changes in "Check if an address exists"
-
added the non-success response with the status '400'
-
removed the non-success response with the status '500'
For details, refer to the POST/ endpoint.
Changes in "Check if a company exists"
- removed the non-success response with the status '500'
For details, refer to the POST/ endpoint.
Changes in "List app installations that a user has access to"
- added the optional property '/items/lastError' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get an app installation"
- added the optional property 'lastError' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get the Stripe Dashboard Link for a contributor"
- added the non-success response with the status '403'
For details, refer to the GET/ endpoint.
Changes in "List app installations belonging to a Project"
- added the optional property '/items/lastError' to the response with the '200' status
For details, refer to the GET/ endpoint.
Client package releases
Release Summary: mittwald PHP SDK v2.1.185
The mittwald PHP SDK has been updated to version v2.1.185. This release introduces several enhancements and schema updates aimed at improving the clarity and functionality of the SDK.
Enhancements
- DatabaseClient Interface and Implementation: The
Create a MySQLDatabase with a MySQLUsermethod now includes detailed descriptions emphasizing its asynchronous nature and guidance on checking the database status post-creation. - New Response Class: A
ContributorGetLoginLinkForbiddenResponseclass has been added to handle 403 Forbidden responses during the login link process.
Schema Updates
- CharacterSettings: Descriptions and examples for
characterSetandcollationproperties have been added to clarify valid values and sources. - CreateMySqlDatabase: The schema now includes descriptions for
descriptionandversionproperties, providing users with contextual information. - CreateMySqlUser: Detailed descriptions and examples for
accessIpMask,accessLevel, andexternalAccesshave been added. - CreateMySqlUserWithDatabase: The schema has been updated with detailed descriptions for
accessLevelandexternalAccess, clarifying user permissions and external connectivity scenarios. - MySqlDatabase: Enhanced descriptions for properties like
description,externalHostname,hostname,name, andversionto provide more context.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.184
The mittwald PHP SDK has been updated to version v2.1.184. This release introduces several enhancements and updates to improve error tracking and management within the AppInstallation class.
Added
- lastError Property: A new
lastErrorproperty has been added to theAppInstallationclass. This property records the last error encountered during an update and resets upon a successful update, aiding in better issue tracking.
Enhanced
- Getter and Setter for lastError: New methods
getLastError(),withLastError(string $lastError), andwithoutLastError()have been introduced to facilitate the management of thelastErrorproperty.
Updated
- Input Processing: The input processing for the
AppInstallationclass now includes thelastErrorproperty, allowing it to be set and retrieved as part of the installation state. - Output Serialization: The output serialization method has been updated to include the
lastError, enabling external clients to view any errors that occurred during the last update.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.183
The latest release of the mittwald PHP SDK, version 2.1.183, introduces significant improvements in response handling, particularly for address verification and user deletion processes.
Key Updates:
-
New Additions:
- A new class,
VerificationVerifyAddressBadRequestResponse, has been added to enhance error handling for invalid address verification requests.
- A new class,
-
Changes:
- The
UnexpectedResponseExceptioninMiscClientImplnow properly handles HTTP status code400for bad requests, utilizing the newVerificationVerifyAddressBadRequestResponse. - The
DeleteUserConflictResponsehas been updated to adopt a more generalized error response structure based on theErrorschema, replacing the previousDeleteUserConflictResponseBody. - The obsolete
DeleteUserConflictResponseBodyand its associated properties, including theDeleteUserConflictResponseBodyNameenumeration, have been removed. - Documentation in the
UserClientandUserClientImplinterfaces has been corrected to fix typos in the authentication method descriptions.
- The
For more details, visit the release page.
mittwald PHP SDK Release v2.1.182
The latest release of the mittwald PHP SDK, version v2.1.182, introduces several changes aimed at simplifying the address verification response structure:
-
Removed Confidence Property: The
confidenceproperty has been removed from theVerificationVerifyAddressOKResponseandVerificationVerifyAddressOKResponseBodyclasses. The response now focuses solely on theexistsboolean value to indicate address existence. -
Updated Constructor: The constructor for
VerificationVerifyAddressOKResponseBodyhas been updated to remove theconfidenceparameter, now only requiring theexistsboolean flag. -
Removed Getter and Setter for Confidence: Methods for accessing and modifying the
confidenceproperty have been eliminated, streamlining the class to focus on theexistsproperty.
These updates are designed to enhance the clarity and usability of the API's address verification response. For more details, visit the release page.
mittwald PHP SDK Release v2.1.181
The mittwald PHP SDK has been updated to version v2.1.181. This release introduces new features and changes aimed at enhancing the functionality of the SDK.
Added Features
-
Verification of Address Response: The
VerificationVerifyAddressOKResponseclass now includes aconfidenceproperty, providing a measure of confidence in the address verification results. -
Server Status Enumeration: The
ServerStatusenum has been expanded with a new case,migrating, to indicate an ongoing migration process.
Changes
-
VerificationVerifyAddressOKResponse: The
confidenceproperty is now a required part of the response body, alongsideexists. -
VerificationVerifyAddressOKResponseBody:
- The constructor now accepts a
confidenceparameter. - A
getConfidence()method has been added to retrieve the confidence level. - A
withConfidence()method is available for validating and setting the confidence level. - JSON serialization now includes the confidence level.
- The constructor now accepts a
-
ServerStatus Enum: A new case
migratinghas been added to reflect an additional server status.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.301.0
The mittwald JavaScript SDK has been updated to version 4.301.0. This release includes an update to the generated client, enhancing its functionality. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.300.0
The mittwald JavaScript SDK has been updated to version 4.300.0. This release includes the following feature:
- Updated generated client (commit 9da879a).
For more details, visit the release page.
mittwald JavaScript SDK Release 4.299.0
The mittwald JavaScript SDK has been updated to version 4.299.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/api-client-js 4.299.0.
mittwald JavaScript SDK Release 4.298.0
The mittwald JavaScript SDK version 4.298.0 has been released. This update includes the following feature:
- Updated the generated client to enhance functionality and performance (commit 07dd179).
For more details, visit the release page.
mittwald JavaScript SDK Release 4.297.0
The mittwald JavaScript SDK has been updated to version 4.297.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.