github Sitecore/jss v22.0.0
22.0.0

latest releases: v22.10.0-canary.5, v22.10.0-canary.4, v22.10.0-canary.3...
16 months ago

22.0.0

๐Ÿ›  Breaking Changes

  • [sitecore-jss] Switch to edge site query for XP and gets config sites + sxa sites (ignoring website) (#1772)

    • Previously introduced Boolean useSiteQuery switch for XMCloud users has been removed.
    • Search query usage has been removed.
    • If you have any non-nextjs sites they should filter them out in multisite config plugin
  • [sitecore-jss-nextjs] [templates/nextjs-xmcloud] CloudSDK dependencies are updated to version ^0.3.0 (#1779)

    • Please ensure @sitecore-cloudsdk/events dependency is updated
  • [sitecore-jss-nextjs] Deprecated exports have been removed (#1780):

    • sitecore-jss-nextjs no longer exports isEditorActive, resetEditorChormes, resolveUrl, handleEditorFastRefresh, getPublicUrl functions. Use sitecore-jss-nextjs/utils instead.
    • getFEAASLibraryStylesheetLinks function has been removed in favor of getComponentLibraryStylesheetLinks
  • [sitecore-jss-react] [templates/react] Deprecated media prop is removed from Image component. Use field prop instead (#1780)(#1785).

  • [templates/react] [templates/angular] [templates/vue] [templates/node-headless-ssr-experience-edge] [sitecore-jss-react] [sitecore-jss-nextjs] (#1783):

    • GraphQL-based services can now only be initialized with clientFactory parameter. Previously deprecated option of providing endpoint and apiKey has been removed
    • Removed deprecated defaultProps react component property
  • [templates/nextjs] GraphQL-based services can now only be initialized with clientFactory parameter. Previously deprecated option of providing endpoint and apiKey has been removed (#1780).

  • [templates/nextjs] [templates/react] [templates/vue] [templates/angular] Deprecated JSS_APP_NAME environment variable has been removed (#1780).

๐Ÿงน Chores

  • Security vulnerabilities audit (1778)

Don't miss a new jss release

NewReleases is sending notifications on new releases.