Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[templates/nextjs] Update nextjs to 14.2.7 #1911

Merged
merged 2 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Our versioning strategy is as follows:
### 🐛 Bug Fixes

* `[templates/nextjs]` `[templates/react]` `[templates/angular]` `[templates/vue]` Fixed an issue when environment variable is undefined (not present in .env), that produced an "undefined" value in generated config file ([#1875](https://github.com/Sitecore/jss/pull/1875))
* `[templates/nextjs]` Fix embedded personalization not rendering correctly after navigation through router links. ([#1911](https://github.com/Sitecore/jss/pull/1911))

### 🎉 New Features & Improvements

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@sitecore-jss/sitecore-jss-nextjs": "~22.2.0-canary",
"graphql": "~15.8.0",
"graphql-tag": "^2.12.6",
"next": "^14.1.0",
"next": "^14.2.7",
"next-localization": "^0.12.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/sitecore-jss-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"eslint-plugin-react": "^7.32.1",
"jsdom": "^21.1.0",
"mocha": "^10.2.0",
"next": "^14.1.0",
"next": "^14.2.7",
"nock": "^13.3.0",
"nyc": "^15.1.0",
"react": "^18.2.0",
Expand All @@ -67,7 +67,7 @@
"peerDependencies": {
"@sitecore-cloudsdk/events": "^0.3.1",
"@sitecore-cloudsdk/personalize": "^0.3.1",
"next": "^14.1.0",
"next": "^14.2.7",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
115 changes: 63 additions & 52 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4829,72 +4829,72 @@ __metadata:
languageName: node
linkType: hard

"@next/env@npm:14.1.0":
version: 14.1.0
resolution: "@next/env@npm:14.1.0"
checksum: ecec03a3e9745996ed1c7fc218fc9a1a4345a0cf368afb50f38a3b6fbf6f966a36dba174c90b5f90b568188dbd0eba48a2c5448b6742298417df4ff3351c6d40
"@next/env@npm:14.2.7":
version: 14.2.7
resolution: "@next/env@npm:14.2.7"
checksum: 8d3c4338f1a06683f938492391634ce1dd7a5c4a3dff030f4aeddc06fb0feb05904d292af42d5c87c4bb2521c9186c973d6146410a89d1161966b3f6a8d46c75
languageName: node
linkType: hard

"@next/swc-darwin-arm64@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-darwin-arm64@npm:14.1.0"
"@next/swc-darwin-arm64@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-darwin-arm64@npm:14.2.7"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@next/swc-darwin-x64@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-darwin-x64@npm:14.1.0"
"@next/swc-darwin-x64@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-darwin-x64@npm:14.2.7"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@next/swc-linux-arm64-gnu@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-linux-arm64-gnu@npm:14.1.0"
"@next/swc-linux-arm64-gnu@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-linux-arm64-gnu@npm:14.2.7"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard

"@next/swc-linux-arm64-musl@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-linux-arm64-musl@npm:14.1.0"
"@next/swc-linux-arm64-musl@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-linux-arm64-musl@npm:14.2.7"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard

"@next/swc-linux-x64-gnu@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-linux-x64-gnu@npm:14.1.0"
"@next/swc-linux-x64-gnu@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-linux-x64-gnu@npm:14.2.7"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard

"@next/swc-linux-x64-musl@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-linux-x64-musl@npm:14.1.0"
"@next/swc-linux-x64-musl@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-linux-x64-musl@npm:14.2.7"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard

"@next/swc-win32-arm64-msvc@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-win32-arm64-msvc@npm:14.1.0"
"@next/swc-win32-arm64-msvc@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-win32-arm64-msvc@npm:14.2.7"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@next/swc-win32-ia32-msvc@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-win32-ia32-msvc@npm:14.1.0"
"@next/swc-win32-ia32-msvc@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-win32-ia32-msvc@npm:14.2.7"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard

"@next/swc-win32-x64-msvc@npm:14.1.0":
version: 14.1.0
resolution: "@next/swc-win32-x64-msvc@npm:14.1.0"
"@next/swc-win32-x64-msvc@npm:14.2.7":
version: 14.2.7
resolution: "@next/swc-win32-x64-msvc@npm:14.2.7"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -6242,7 +6242,7 @@ __metadata:
eslint-plugin-react: ^7.32.1
jsdom: ^21.1.0
mocha: ^10.2.0
next: ^14.1.0
next: ^14.2.7
nock: ^13.3.0
nyc: ^15.1.0
prop-types: ^15.8.1
Expand All @@ -6257,7 +6257,7 @@ __metadata:
peerDependencies:
"@sitecore-cloudsdk/events": ^0.3.1
"@sitecore-cloudsdk/personalize": ^0.3.1
next: ^14.1.0
next: ^14.2.7
react: ^18.2.0
react-dom: ^18.2.0
languageName: unknown
Expand Down Expand Up @@ -6521,12 +6521,20 @@ __metadata:
languageName: node
linkType: hard

"@swc/helpers@npm:0.5.2":
version: 0.5.2
resolution: "@swc/helpers@npm:0.5.2"
"@swc/counter@npm:^0.1.3":
version: 0.1.3
resolution: "@swc/counter@npm:0.1.3"
checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598
languageName: node
linkType: hard

"@swc/helpers@npm:0.5.5":
version: 0.5.5
resolution: "@swc/helpers@npm:0.5.5"
dependencies:
"@swc/counter": ^0.1.3
tslib: ^2.4.0
checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258
checksum: d4f207b191e54b29460804ddf2984ba6ece1d679a0b2f6a9c765dcf27bba92c5769e7965668a4546fb9f1021eaf0ff9be4bf5c235ce12adcd65acdfe77187d11
languageName: node
linkType: hard

Expand Down Expand Up @@ -20631,28 +20639,29 @@ __metadata:
languageName: node
linkType: hard

"next@npm:^14.1.0":
version: 14.1.0
resolution: "next@npm:14.1.0"
"next@npm:^14.2.7":
version: 14.2.7
resolution: "next@npm:14.2.7"
dependencies:
"@next/env": 14.1.0
"@next/swc-darwin-arm64": 14.1.0
"@next/swc-darwin-x64": 14.1.0
"@next/swc-linux-arm64-gnu": 14.1.0
"@next/swc-linux-arm64-musl": 14.1.0
"@next/swc-linux-x64-gnu": 14.1.0
"@next/swc-linux-x64-musl": 14.1.0
"@next/swc-win32-arm64-msvc": 14.1.0
"@next/swc-win32-ia32-msvc": 14.1.0
"@next/swc-win32-x64-msvc": 14.1.0
"@swc/helpers": 0.5.2
"@next/env": 14.2.7
"@next/swc-darwin-arm64": 14.2.7
"@next/swc-darwin-x64": 14.2.7
"@next/swc-linux-arm64-gnu": 14.2.7
"@next/swc-linux-arm64-musl": 14.2.7
"@next/swc-linux-x64-gnu": 14.2.7
"@next/swc-linux-x64-musl": 14.2.7
"@next/swc-win32-arm64-msvc": 14.2.7
"@next/swc-win32-ia32-msvc": 14.2.7
"@next/swc-win32-x64-msvc": 14.2.7
"@swc/helpers": 0.5.5
busboy: 1.6.0
caniuse-lite: ^1.0.30001579
graceful-fs: ^4.2.11
postcss: 8.4.31
styled-jsx: 5.1.1
peerDependencies:
"@opentelemetry/api": ^1.1.0
"@playwright/test": ^1.41.2
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
Expand All @@ -20678,11 +20687,13 @@ __metadata:
peerDependenciesMeta:
"@opentelemetry/api":
optional: true
"@playwright/test":
optional: true
sass:
optional: true
bin:
next: dist/bin/next
checksum: 077fd76a6fe7127a8be3d11035dcefb2c829f304aaa85144e0d1b531a1549b6c9bb99459af1ef0782c1f1110ca08f6f33efd293a2dc51672dd9dc45ede608ecf
checksum: bc0237acb57c338803e0ef5ecc1b51908583da9d9dd325ece8b5862beba27b0ab556e9f8bdea863fc4fbf8378200946dcb0ad911ea978d166c8741c434461fe7
languageName: node
linkType: hard

Expand Down