Tailwind Logo

Sitecore Next.js 21.4.0 to 21.5.0 diff

XM CloudHeadless SXA

Published: 2023-12-12

In the last issue, we ran the new Next.js project, and you can actually see the differences from 21.4.0 to 21.5.0. Since we are here, let's take a look.

What has changed


The versions of the following modules have been changed

  "dependencies": {
    "@sitecore-feaas/clientside": "^0.3.17",
    "@sitecore-jss/sitecore-jss-nextjs": "~21.4.0",
    "@sitecore/engage": "^0.4.0",
  "devDependencies": {
    "@sitecore-jss/sitecore-jss-cli": "~21.5.0",
    "@sitecore-jss/sitecore-jss-dev-tools": "~21.5.0",

css related

Some files were updated (content is detailed and omitted)


In the previous call, it was host, but it has been changed to hostname.

      cookieDomain: window.location.hostname.replace(/^www\./, ''),


This time there wasn't much difference, but I could see how I could create a new project and check the base code to make sure I understood the changes. since I manage my code in Git, it would be useful to reflect the new version of the code in a way that I could see the differences.