|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 1.3.5 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- [#2744](https://github.com/bigcommerce/catalyst/pull/2744) [`720fe17`](https://github.com/bigcommerce/catalyst/commit/720fe1722295841a995277ec514bc8280644b879) Thanks [@chanceaclark](https://github.com/chanceaclark)! - # Next.js 15.5.7 Upgrade |
| 8 | + |
| 9 | + Catalyst has been upgraded to Next.js 15.5.7. This is a patch version upgrade that requires migration steps for existing stores to fix a security vulnerability. |
| 10 | + |
| 11 | + ## 🔒 Critical Security Update |
| 12 | + |
| 13 | + **This upgrade addresses a critical security vulnerability ([CVE-2025-55182](https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components))** that affects React Server Components. The vulnerability allowed unauthenticated remote code execution on servers running React Server Components. This upgrade includes: |
| 14 | + - Next.js 15.5.7 with the security patch |
| 15 | + - React 19.1.2 and React DOM 19.1.2 with the security patch |
| 16 | + |
| 17 | + **All users are strongly encouraged to upgrade immediately.** |
| 18 | + |
| 19 | + ## Key Changes |
| 20 | + - ⚡ **Next.js 15.5.7**: Upgraded from Next.js 15.5.1-canary.4 to 15.5.7 (no more canary) |
| 21 | + - ⚛️ **React 19**: Upgraded to React 19.1.2 and React DOM 19.1.2 |
| 22 | + - 🔄 **Partial Prerendering (PPR) Removed**: Removed partial prerendering as it's unsupported in non-canary versions of Next.js 15. |
| 23 | + |
| 24 | + ### ⚠️ Partial Prerendering (PPR) Removed |
| 25 | + |
| 26 | + **Important**: PPR (Partial Prerendering) has been **removed** in this release as it's unsupported in non-canary versions of Next.js 15. |
| 27 | + - The `ppr` experimental flag has been removed from `next.config.ts` |
| 28 | + - Full support for Next.js 16's and it's new cache component patterns will be added in a future release |
| 29 | + - This may result in different performance characteristics compared to the Next.js 15 + PPR setup |
| 30 | + |
| 31 | + ## Migration Guide |
| 32 | + |
| 33 | + ### Step 1: Update Dependencies |
| 34 | + |
| 35 | + If you're maintaining a custom Catalyst store, update your `package.json`: |
| 36 | + |
| 37 | + ```json |
| 38 | + { |
| 39 | + "dependencies": { |
| 40 | + "next": "15.5.7", |
| 41 | + "react": "^19.1.2", |
| 42 | + "react-dom": "^19.1.2" |
| 43 | + }, |
| 44 | + "devDependencies": { |
| 45 | + "@next/bundle-analyzer": "15.5.7", |
| 46 | + "eslint-config-next": "15.5.7" |
| 47 | + } |
| 48 | + } |
| 49 | + ``` |
| 50 | + |
| 51 | + Then run: |
| 52 | + |
| 53 | + ```bash |
| 54 | + pnpm install |
| 55 | + ``` |
| 56 | + |
| 57 | + ### Step 2: Update next.config.ts |
| 58 | + |
| 59 | + Remove or comment out PPR configuration: |
| 60 | + |
| 61 | + ```typescript |
| 62 | + // Remove or disable: |
| 63 | + // experimental: { |
| 64 | + // ppr: 'incremental', |
| 65 | + // } |
| 66 | + ``` |
| 67 | + |
| 68 | + Remove or comment out eslint config |
| 69 | + |
| 70 | + ```typescript |
| 71 | + // eslint: { |
| 72 | + // ignoreDuringBuilds: !!process.env.CI, |
| 73 | + // dirs: [ |
| 74 | + // 'app', |
| 75 | + // 'auth', |
| 76 | + // 'build-config', |
| 77 | + // 'client', |
| 78 | + // 'components', |
| 79 | + // 'data-transformers', |
| 80 | + // 'i18n', |
| 81 | + // 'lib', |
| 82 | + // 'middlewares', |
| 83 | + // 'scripts', |
| 84 | + // 'tests', |
| 85 | + // 'vibes', |
| 86 | + // ], |
| 87 | + // }, |
| 88 | + ``` |
| 89 | + |
| 90 | + ### Step 3: Remove `export const experimental_ppr` |
| 91 | + |
| 92 | + Remove any references to `export const experimental_ppr` in your codebase as it is not being used anymore. |
| 93 | + |
3 | 94 | ## 1.3.4 |
4 | 95 |
|
5 | 96 | ### Patch Changes |
|
0 commit comments