Skip to main content

Upgrading From v3

Upgrading from v3.x to v4 is fairly simple. Below are the major changes that are released as a part of CometChat v4: Please follow the setup instructions to upgrade to latest version of V4 before proceeding further

Dependency Change

Chat SDK

Update Import Statements

Find and replace all import statements across your project:
The API methods, class names, and listener interfaces are unchanged between v3 and v4. Once you update the packages and imports, your existing code should work without further modifications.

Next Steps

Setup SDK

Install and configure the CometChat JavaScript SDK

Changelog

Latest SDK version and release notes

Best Practices

Recommended patterns for building with the SDK

Key Concepts

Learn the core concepts behind CometChat v4