---
title: "Upgrade from Cloud SDK version 0.4 to 0.5"
slug: "upgrade-from-cloud-sdk-version-0-4-to-0-5"
abstract: "Upgrade from Cloud SDK v0.3 to v0.4."
---
# Upgrade from Cloud SDK version 0.4 to 0.5

Cloud SDK version 0.5 removes the old SDK initialization logic that was deprecated in version 0.4. To use version 0.5 of the SDK, you have to upgrade to the [new initialization logic](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-concepts/initializing-the-cloud-sdk.html "Initializing the Cloud SDK").

Version 0.5 also introduces the `search` package. This is a non-breaking change.

The majority of your upgrade work involves installing the latest Cloud SDK packages. If you haven't upgraded to the new initialization logic, you also have to replace old `init` function calls with new `CloudSDK` ones.

To upgrade from version 0.4 to 0.5:

1. In your code editor, in the root folder of your application, run the following commands:

    ```bash
    npm install @sitecore-cloudsdk/core@0.5
    npm install @sitecore-cloudsdk/events@0.5
    npm install @sitecore-cloudsdk/personalize@0.5
    npm install @sitecore-cloudsdk/search@0.5
    ```

2. To upgrade to the new initialization logic, complete the following procedures in the upgrade to v0.4 walkthrough:
    - [Import the `CloudSDK` function and other SDK modules](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/upgrading/upgrade-from-cloud-sdk-version-0-3-to-0-4.html#UUID-1129f379-9bc7-acf1-b476-a15a52a93e83_section-idm234510452502175 "Import the CloudSDK function and other SDK modules")
    - [Rework the `init` function into `CloudSDK` code](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/upgrading/upgrade-from-cloud-sdk-version-0-3-to-0-4.html#UUID-1129f379-9bc7-acf1-b476-a15a52a93e83_section-idm234510453669908 "Rework the init function into CloudSDK code")