APIMatic has introduced core libraries to provide a stable runtime that powers all functionality of our SDKs. In this release, we have revamped our Ruby SDKs to improve the code quality and provide better test coverage.
18 posts tagged with "Ruby"
View All TagsAdding Support for Persistent Connections in Ruby SDK
Previously, our Ruby SDKs were initiating a new connection for each API call. Now, we have made this HTTP connection persistent. Using persistent request allows all server requests to be made through one connection, consequently reducing network latency.
Adding Support to Configure Adapter during Client Initialization of Ruby SDKs
APIMatic CodeGen has now added support to configure the default Faraday connection
with available Faraday adapters
in Ruby SDKs.
Dropping Support for Ruby Version 2.5 in Ruby SDKs
We are now dropping support for Ruby version 2.5
in Ruby SDKs. Ruby 2.5
hit EOL status on 2021-03-31 as per the official source. As a result of dropping Ruby 2.5
, we are now able to relax version constraints on some of the Ruby SDKs dependencies.
Following Redirects in SDKs
We've fixed an issue in SDKs where HTTP redirections were not being handled properly. Please generate new SDKs to receive the fixes.
Token Refresh on Expiry in OAuth 2 Client Credential Flow
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.
Do-Not-Split Words in Code Generation Settings
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 apimatic
and vmware
in your the list, APIMaticandvmWare
becomes ApimaticAndVmware
or apimatic_and_vmware
, depending on the place of use.
Support for Contact Info in API Editor and SDKs
We have added support for adding contact information of the organization maintaining the API in our API editor.
Allow Skipping Verification of SSL Certificates
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.
Disable Linting in SDKs
We have added a new CodeGen setting to allow disabling linting in our SDKs. If you would like to benefit from this feature then please enable the setting and generate your SDKs again.