Upgrading from JSS 15.0 to JSS 16.0

  1. Update peer dependencies version.
  2. Update all @sitecore-jss/* packages to the latest 16.x version.
  3. Check usages of any type (and fix any build/lint errors) as we start to migrate from any to unknown or more specific types.
  4. If you are using resolveScJssConfig from @sitecore-jss/sitecore-jss-dev-tools, you should update the calling signature to use:
resolveScJssConfig({
    configPath,
    configName,
    assert
})

instead of the old signature.

  1. If you are using ComponentFactory from @sitecore-jss/sitecore-jss-react, check/fix types related to ComponentFactory, currently it returns ComponentType | null (component definition) instead of Component (instantiated component).

Found a problem? Have something to add? Edit this on GitHub