Changelog / NODEJS

This changelog is filtered to show only changes for NODEJS. Go back to full changelog.

Mar 20, 2019

Node.js SuperAgent Vulnerability and Other Fixes

We’ve updated the version of SuperAgent library used in our Node.js SDK to fix a moderate severity vulnerability. We’ve also made some other smaller fixes.

Please generate a new Node.js SDK to receive these fixes.


Mar 19, 2019

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.


Feb 27, 2019

Configurable Logging in NodeJS

We’ve added the ability to programmatically configure the logger used in the NodeJS SDK. You can now disable logging or add a custom log handler during runtime.


Oct 22, 2018

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.


Oct 8, 2018

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.


Sep 24, 2018

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.


Jul 16, 2018

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.


Dec 6, 2017

Default Environment Selection Bug Fix in Node

There was a bug with generating default environment in NodeJS configuration file. The default environment was overridden to be the PRODUCTION environment even if some other environment was chosen in the Server Configuration.

This bug has been fixed now. If you are using an API with multiple environments and encountered a problem with default environment selection before, please generate the SDK again to get the fix.


Jul 24, 2017

Model Serialization (for Form Parameters) Fixed

There was a bug in the Node.js SDK in sending complex types (models) as Form Parameters.

In cases of endpoints which accept model instances as form parameters, models were not being serialized properly before making the endpoint call. This resulted in camel-cased field values being passed, disregarding the correct API names.

This behavior has now been fixed. Please generate your SDK again to get the fix.


Jul 24, 2017

Datetime Fixes in Node.js

There was a problem with the datetime implementation in Node.js. Date/datetime strings were not correctly converted into objects. Instead, strings were being sent and received within the SDK. This problem has now been fixed.

Please generate your SDK again to get this fix.