You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
BREAKING CHANGES
Officially drop support for PHP 7.1 and 7.2. PHP 7.3 or higher is now required.
The getCname function now only expects a domain name to be passed, not a username.
If you are extending the message classes yourself, note that the XML parsing was moved out of AbstractResponse into a separate HasXmlPayload trait. Similar traits exist for other types of responses.
DEPRECATIONS
If you are passing a custom MOFH API URL to the client, you should omit the xml-api/ suffix.
The client now also uses some JSON API functions, and will automatically add the right suffix to the URL for the specific API endpoint used.
NEW FEATURES
Add the removeAccount function to remove accounts. You can call this function on accounts which are suspended (except for ADMIN_CLOSE suspensions) to trigger their deletion.
Add the listPackages function to list available hosting packages. Returns the upstream package data as-is for now.
Add the changePackage function to change the hosting plan of a hosting account.
Add the createTicket function to create a support ticket in the control panel on behalf of the user.
Add the replyTicket function to add a response to a support ticket on behalf of the user.