Skip to content

Node.JS SDK Migration Guide

Comparison

This section provides a comparison between different version of SDKs. This overview provides key insights for developers, identifying areas that have significant changes and need careful consideration.

Note

While there are multiple versions of our SDK available, please use the latest version of the SDKs rather than maintenance SDKs. Maintenance versions only provide support and will eventually be deprecated. The latest SDK adopts an aligned architecture, with no extra dependencies, and offers enhanced stability for optimal performance.

Feature
Latest Node SDK Maintenance Node SDK
Package @amplitude/analytics-node @amplitude/node
Configuration Configuration is implemented by Configuration object during initialize amplitude. More configurations. Support explicity setter methods. More configurations.
Logger Provider Amplitude Logger. Fully customizable. Amplitude Logger. Not customizable.
Storage Provider LocalStorage by default. Fully customizable. Local Storage.
Customization Plugins Middleware
Retry Regular retry. Regular retry by default. Also provide offline retry. You are able to customize your retry logic. Fully customizible.
Server Endpoint HTTP V2 API HTTP V2 API
Batch API Supported, with configuration. Not supported.

Was this page helpful?