> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-013b37f0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](/sdk/ionic/setup) instructions to upgrade to the latest V3 version.

## Dependency Change

### Chat SDK

<Tabs>
  <Tab title="JavaScript">
    ```bash theme={null}
    npm i @cometchat/chat-sdk-ionic
    ```
  </Tab>
</Tabs>

### Calls SDK

<Tabs>
  <Tab title="JavaScript">
    ```bash theme={null}
    npm i @cometchat/calls-sdk-ionic
    ```
  </Tab>
</Tabs>

## Change The Import Statements

### Chat SDK

<Tabs>
  <Tab title="JavaScript">
    ```javascript theme={null}
    import { CometChat } from "@cometchat/chat-sdk-ionic";
    ```
  </Tab>
</Tabs>

### Calls SDK

<Tabs>
  <Tab title="JavaScript">
    ```javascript theme={null}
    import { CometChatCalls } from "@cometchat/calls-sdk-ionic";
    ```
  </Tab>
</Tabs>
