1. Sitecore JavaScript Services SDKs (JSS) 22.x

Upgrade JSS 22.11 Angular apps to version 22.12

Version:

This topic covers most of the changes you must make to your existing JSS 22.11 Angular applications to benefit from the latest improvements in version 22.12. However, because of the nature of JavaScript and Angular application development, this topic doesn't account for all the customization you might have in your existing application.

While upgrading, consider the JSS templates and add-ons you used when creating your Angular application. You can find them in your package.json file. For example, a JSS 22.11 application included in the XM Cloud Angular starter foundation uses the following templates and add-ons:

XM Cloud is now SitecoreAI

Some code examples, images, and UI labels may still use XM Cloud while engineering assets are being updated.

  • angular

  • angular-xmcloud

Before you begin
  • If you haven't already done so, upgrade your app to JSS 22.11.

  • Familiarize yourself with the changelog. If your application is heavily customized, the changelog can provide guidance on what additional changes you need that are not covered in this topic.

Update application dependencies in your existing app

For your upgraded application to work correctly, you will need to update dependencies.

To update your dependencies:

  1. In your existing application's package.json file, update every @sitecore-jss package to version ~22.12.0.

  2. Node.js has been updated to version 24. You may need to apply changes not mentioned here to your app based on the Node.js 24 upgrade guide. Update the following dependency to the specified version:

    "@types/node": "^24.10.4",
  3. Install the dependencies with the following command:

    npm install

Next steps

To finalize the upgrade process, make sure you resolve any errors and warnings you encounter. Enable debug logging for JSS specific issues to assist you if necessary.

If you have suggestions for improving this article, let us know!