Skip to content

Commit 577f1ea

Browse files
[templates/nextjs] Update nextjs to 14.2.7 (#1911)
1 parent 5df1777 commit 577f1ea

File tree

4 files changed

+67
-55
lines changed

4 files changed

+67
-55
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Our versioning strategy is as follows:
1414
### 🐛 Bug Fixes
1515

1616
* `[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))
17+
* `[templates/nextjs]` Fix embedded personalization not rendering correctly after navigation through router links. ([#1911](https://github.com/Sitecore/jss/pull/1911))
1718

1819
### 🎉 New Features & Improvements
1920

packages/create-sitecore-jss/src/templates/nextjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@sitecore-jss/sitecore-jss-nextjs": "~22.2.0-canary",
2929
"graphql": "~15.8.0",
3030
"graphql-tag": "^2.12.6",
31-
"next": "^14.1.0",
31+
"next": "^14.2.7",
3232
"next-localization": "^0.12.0",
3333
"react": "^18.2.0",
3434
"react-dom": "^18.2.0",

packages/sitecore-jss-nextjs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"eslint-plugin-react": "^7.32.1",
5555
"jsdom": "^21.1.0",
5656
"mocha": "^10.2.0",
57-
"next": "^14.1.0",
57+
"next": "^14.2.7",
5858
"nock": "^13.3.0",
5959
"nyc": "^15.1.0",
6060
"react": "^18.2.0",
@@ -67,7 +67,7 @@
6767
"peerDependencies": {
6868
"@sitecore-cloudsdk/events": "^0.3.1",
6969
"@sitecore-cloudsdk/personalize": "^0.3.1",
70-
"next": "^14.1.0",
70+
"next": "^14.2.7",
7171
"react": "^18.2.0",
7272
"react-dom": "^18.2.0"
7373
},

yarn.lock

+63-52
Original file line numberDiff line numberDiff line change
@@ -4829,72 +4829,72 @@ __metadata:
48294829
languageName: node
48304830
linkType: hard
48314831

4832-
"@next/env@npm:14.1.0":
4833-
version: 14.1.0
4834-
resolution: "@next/env@npm:14.1.0"
4835-
checksum: ecec03a3e9745996ed1c7fc218fc9a1a4345a0cf368afb50f38a3b6fbf6f966a36dba174c90b5f90b568188dbd0eba48a2c5448b6742298417df4ff3351c6d40
4832+
"@next/env@npm:14.2.7":
4833+
version: 14.2.7
4834+
resolution: "@next/env@npm:14.2.7"
4835+
checksum: 8d3c4338f1a06683f938492391634ce1dd7a5c4a3dff030f4aeddc06fb0feb05904d292af42d5c87c4bb2521c9186c973d6146410a89d1161966b3f6a8d46c75
48364836
languageName: node
48374837
linkType: hard
48384838

4839-
"@next/swc-darwin-arm64@npm:14.1.0":
4840-
version: 14.1.0
4841-
resolution: "@next/swc-darwin-arm64@npm:14.1.0"
4839+
"@next/swc-darwin-arm64@npm:14.2.7":
4840+
version: 14.2.7
4841+
resolution: "@next/swc-darwin-arm64@npm:14.2.7"
48424842
conditions: os=darwin & cpu=arm64
48434843
languageName: node
48444844
linkType: hard
48454845

4846-
"@next/swc-darwin-x64@npm:14.1.0":
4847-
version: 14.1.0
4848-
resolution: "@next/swc-darwin-x64@npm:14.1.0"
4846+
"@next/swc-darwin-x64@npm:14.2.7":
4847+
version: 14.2.7
4848+
resolution: "@next/swc-darwin-x64@npm:14.2.7"
48494849
conditions: os=darwin & cpu=x64
48504850
languageName: node
48514851
linkType: hard
48524852

4853-
"@next/swc-linux-arm64-gnu@npm:14.1.0":
4854-
version: 14.1.0
4855-
resolution: "@next/swc-linux-arm64-gnu@npm:14.1.0"
4853+
"@next/swc-linux-arm64-gnu@npm:14.2.7":
4854+
version: 14.2.7
4855+
resolution: "@next/swc-linux-arm64-gnu@npm:14.2.7"
48564856
conditions: os=linux & cpu=arm64
48574857
languageName: node
48584858
linkType: hard
48594859

4860-
"@next/swc-linux-arm64-musl@npm:14.1.0":
4861-
version: 14.1.0
4862-
resolution: "@next/swc-linux-arm64-musl@npm:14.1.0"
4860+
"@next/swc-linux-arm64-musl@npm:14.2.7":
4861+
version: 14.2.7
4862+
resolution: "@next/swc-linux-arm64-musl@npm:14.2.7"
48634863
conditions: os=linux & cpu=arm64
48644864
languageName: node
48654865
linkType: hard
48664866

4867-
"@next/swc-linux-x64-gnu@npm:14.1.0":
4868-
version: 14.1.0
4869-
resolution: "@next/swc-linux-x64-gnu@npm:14.1.0"
4867+
"@next/swc-linux-x64-gnu@npm:14.2.7":
4868+
version: 14.2.7
4869+
resolution: "@next/swc-linux-x64-gnu@npm:14.2.7"
48704870
conditions: os=linux & cpu=x64
48714871
languageName: node
48724872
linkType: hard
48734873

4874-
"@next/swc-linux-x64-musl@npm:14.1.0":
4875-
version: 14.1.0
4876-
resolution: "@next/swc-linux-x64-musl@npm:14.1.0"
4874+
"@next/swc-linux-x64-musl@npm:14.2.7":
4875+
version: 14.2.7
4876+
resolution: "@next/swc-linux-x64-musl@npm:14.2.7"
48774877
conditions: os=linux & cpu=x64
48784878
languageName: node
48794879
linkType: hard
48804880

4881-
"@next/swc-win32-arm64-msvc@npm:14.1.0":
4882-
version: 14.1.0
4883-
resolution: "@next/swc-win32-arm64-msvc@npm:14.1.0"
4881+
"@next/swc-win32-arm64-msvc@npm:14.2.7":
4882+
version: 14.2.7
4883+
resolution: "@next/swc-win32-arm64-msvc@npm:14.2.7"
48844884
conditions: os=win32 & cpu=arm64
48854885
languageName: node
48864886
linkType: hard
48874887

4888-
"@next/swc-win32-ia32-msvc@npm:14.1.0":
4889-
version: 14.1.0
4890-
resolution: "@next/swc-win32-ia32-msvc@npm:14.1.0"
4888+
"@next/swc-win32-ia32-msvc@npm:14.2.7":
4889+
version: 14.2.7
4890+
resolution: "@next/swc-win32-ia32-msvc@npm:14.2.7"
48914891
conditions: os=win32 & cpu=ia32
48924892
languageName: node
48934893
linkType: hard
48944894

4895-
"@next/swc-win32-x64-msvc@npm:14.1.0":
4896-
version: 14.1.0
4897-
resolution: "@next/swc-win32-x64-msvc@npm:14.1.0"
4895+
"@next/swc-win32-x64-msvc@npm:14.2.7":
4896+
version: 14.2.7
4897+
resolution: "@next/swc-win32-x64-msvc@npm:14.2.7"
48984898
conditions: os=win32 & cpu=x64
48994899
languageName: node
49004900
linkType: hard
@@ -6242,7 +6242,7 @@ __metadata:
62426242
eslint-plugin-react: ^7.32.1
62436243
jsdom: ^21.1.0
62446244
mocha: ^10.2.0
6245-
next: ^14.1.0
6245+
next: ^14.2.7
62466246
nock: ^13.3.0
62476247
nyc: ^15.1.0
62486248
prop-types: ^15.8.1
@@ -6257,7 +6257,7 @@ __metadata:
62576257
peerDependencies:
62586258
"@sitecore-cloudsdk/events": ^0.3.1
62596259
"@sitecore-cloudsdk/personalize": ^0.3.1
6260-
next: ^14.1.0
6260+
next: ^14.2.7
62616261
react: ^18.2.0
62626262
react-dom: ^18.2.0
62636263
languageName: unknown
@@ -6521,12 +6521,20 @@ __metadata:
65216521
languageName: node
65226522
linkType: hard
65236523

6524-
"@swc/helpers@npm:0.5.2":
6525-
version: 0.5.2
6526-
resolution: "@swc/helpers@npm:0.5.2"
6524+
"@swc/counter@npm:^0.1.3":
6525+
version: 0.1.3
6526+
resolution: "@swc/counter@npm:0.1.3"
6527+
checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598
6528+
languageName: node
6529+
linkType: hard
6530+
6531+
"@swc/helpers@npm:0.5.5":
6532+
version: 0.5.5
6533+
resolution: "@swc/helpers@npm:0.5.5"
65276534
dependencies:
6535+
"@swc/counter": ^0.1.3
65286536
tslib: ^2.4.0
6529-
checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258
6537+
checksum: d4f207b191e54b29460804ddf2984ba6ece1d679a0b2f6a9c765dcf27bba92c5769e7965668a4546fb9f1021eaf0ff9be4bf5c235ce12adcd65acdfe77187d11
65306538
languageName: node
65316539
linkType: hard
65326540

@@ -20631,28 +20639,29 @@ __metadata:
2063120639
languageName: node
2063220640
linkType: hard
2063320641

20634-
"next@npm:^14.1.0":
20635-
version: 14.1.0
20636-
resolution: "next@npm:14.1.0"
20642+
"next@npm:^14.2.7":
20643+
version: 14.2.7
20644+
resolution: "next@npm:14.2.7"
2063720645
dependencies:
20638-
"@next/env": 14.1.0
20639-
"@next/swc-darwin-arm64": 14.1.0
20640-
"@next/swc-darwin-x64": 14.1.0
20641-
"@next/swc-linux-arm64-gnu": 14.1.0
20642-
"@next/swc-linux-arm64-musl": 14.1.0
20643-
"@next/swc-linux-x64-gnu": 14.1.0
20644-
"@next/swc-linux-x64-musl": 14.1.0
20645-
"@next/swc-win32-arm64-msvc": 14.1.0
20646-
"@next/swc-win32-ia32-msvc": 14.1.0
20647-
"@next/swc-win32-x64-msvc": 14.1.0
20648-
"@swc/helpers": 0.5.2
20646+
"@next/env": 14.2.7
20647+
"@next/swc-darwin-arm64": 14.2.7
20648+
"@next/swc-darwin-x64": 14.2.7
20649+
"@next/swc-linux-arm64-gnu": 14.2.7
20650+
"@next/swc-linux-arm64-musl": 14.2.7
20651+
"@next/swc-linux-x64-gnu": 14.2.7
20652+
"@next/swc-linux-x64-musl": 14.2.7
20653+
"@next/swc-win32-arm64-msvc": 14.2.7
20654+
"@next/swc-win32-ia32-msvc": 14.2.7
20655+
"@next/swc-win32-x64-msvc": 14.2.7
20656+
"@swc/helpers": 0.5.5
2064920657
busboy: 1.6.0
2065020658
caniuse-lite: ^1.0.30001579
2065120659
graceful-fs: ^4.2.11
2065220660
postcss: 8.4.31
2065320661
styled-jsx: 5.1.1
2065420662
peerDependencies:
2065520663
"@opentelemetry/api": ^1.1.0
20664+
"@playwright/test": ^1.41.2
2065620665
react: ^18.2.0
2065720666
react-dom: ^18.2.0
2065820667
sass: ^1.3.0
@@ -20678,11 +20687,13 @@ __metadata:
2067820687
peerDependenciesMeta:
2067920688
"@opentelemetry/api":
2068020689
optional: true
20690+
"@playwright/test":
20691+
optional: true
2068120692
sass:
2068220693
optional: true
2068320694
bin:
2068420695
next: dist/bin/next
20685-
checksum: 077fd76a6fe7127a8be3d11035dcefb2c829f304aaa85144e0d1b531a1549b6c9bb99459af1ef0782c1f1110ca08f6f33efd293a2dc51672dd9dc45ede608ecf
20696+
checksum: bc0237acb57c338803e0ef5ecc1b51908583da9d9dd325ece8b5862beba27b0ab556e9f8bdea863fc4fbf8378200946dcb0ad911ea978d166c8741c434461fe7
2068620697
languageName: node
2068720698
linkType: hard
2068820699

0 commit comments

Comments
 (0)