We are introducing the special oneOf and anyOf types in our PHP SDKs.
The generated PHP code samples are now idiomatic with no errors. This improves the developer experience by allowing developers to run the code samples without any error in their applications and to get started quickly.
We have introduced builder pattern in PHP SDKs that can be used to set all model properties at once and then build the object at the end.
APIMatic has introduced core libraries to provide a stable runtime that powers all functionality of our SDKs. In this release, we have revamped our PHP SDKs to improve the code quality and provide better test coverage.
Previously, our PHP SDKs were initiating a new connection for each API call. Now, we have made HTTP connections persistent in Unirest for PHP SDK. Using persistent request allows all server requests to be made through one connection.
PHP SDKs now support complex query parameters with which you can send a complex type as well as arrays/maps of complex types in query strings.
APIMatic CodeGen has made improvements by updating type hints of dictionaries in PHP SDKs to better capture the type information.
The APIMatic Code Generator now supports SDK compatibility with the runtime version of PHP 8.1.
APIMatic's PHP SDKs have been refactored to immutable clients and now support PHP 8.0 with updated dependencies. All static analysis and linting issues have been resolved, support for optional and nullable has been added along with a new restructured authorization flow, and much more.
We've updated our SDKs that use OAuth 2 Client Credential Flow to enable automatic re-authorization of the client when the OAuth token is expired.