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.
We have added a new CodeGen setting that allows you to specify a list of words that Code Generation will not split when converting identifiers from API specification to language-specific identifiers. This is useful for declaring brand names such as APIMatic.
E.g. if you provide the words
vmware in your the list,
apimatic_and_vmware, depending on the place of use.
We have added support for adding contact information of the organization maintaining the API in our API editor.
Our Android, .Net, Go, Java, NodeJS, PHP, Python and Ruby SDKs now allow skipping verification of SSL certificates. To do this enable the CodeGen Setting Allow Skipping Certificate Verification and then set the corresponding configuration variable in the respective SDK.