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.
![](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4SgSN5iBZDWwTs87nf5JfC%2Fccdbfd7cb1ed848019547354c0562fcb%2Felena-mozhvilo-CwIOnANQW-A-unsplash.jpg&w=3840&q=75)
What has changed
package.json
The versions of the following modules have been changed
JSON
"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)
DcpPageView.tsx
In the previous call, it was host, but it has been changed to hostname.
TypeScript
cookieDomain: window.location.hostname.replace(/^www\./, ''),
Summary
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.