Payload CMS v4.0.0-beta.3 Drops with Cache Components, React Flight Integration, and Key Bug Fixes
Payload CMS shipped v4.0.0-beta.3 on October 19, 2026, continuing the rapid beta cadence toward the full 4.0 stable release. This third beta build introduces a headline new feature: Cache Components support, alongside significant TanStack Start refactors, Drizzle performance improvements, and a round of UI and localization bug fixes.
New Feature: Cache Components Support
The standout addition in beta.3 is full support for Cache Components in Payload’s Next.js integration. The admin panel now renders at request time when Cache Components are enabled, giving developers fine-grained control over caching behavior within their Next.js app. This aligns Payload’s admin UI with Next.js’s evolving caching model and is a key step toward production-ready 4.0 performance.
TanStack Start: React Flight Replaces Layout Serialization
Two significant refactors landed for the TanStack Start adapter. First, React Flight for RSC responses replaces layout serialization, bringing Payload’s TanStack Start integration in line with how React Server Components are natively transported. Note: this is a breaking change for TanStack Start users upgrading from beta.2. Second, a bug causing unnecessary subtree remounts when the TanStack router refreshed has been fixed, improving navigation stability.
Performance: Drizzle Locale Table Index Optimization
A targeted Drizzle ORM performance improvement leads locale table unique indexes with _parent_id, improving query performance for localized content at scale. Additionally, more server-only packages are now externalized in development mode, speeding up dev server startup times.
Bug Fixes
- Localized fields validation: Each locale is now properly validated when writing localized fields with
locale: all, closing a long-standing data integrity gap. - Live preview UI: Fields are now correctly hidden in expanded live preview mode.
- Bulk upload callback: The bulk upload success callback is now re-registered every time the drawer opens, fixing a regression where callbacks fired only on the first upload.
- Date picker: The date picker calendar has been widened for better usability.
Developer Experience: oxfmt Replaces Prettier
The Payload repository and its templates have migrated from Prettier to oxfmt for code formatting, reflecting a broader trend in the JavaScript ecosystem toward faster, Rust-based tooling.
Breaking Change for TanStack Start Users
If you are using the TanStack Start adapter in beta.2, the switch to React Flight for RSC responses is a breaking change. Review PR #18787 for migration details before upgrading.
How to Upgrade
To upgrade to beta.3, run: npm install payload@4.0.0-beta.3
Key Takeaway: Beta.3 is a meaningful step forward for Payload 4.0, particularly for teams building on Next.js with Cache Components or using TanStack Start. The React Flight integration signals Payload’s commitment to staying aligned with the cutting edge of the React ecosystem.
Hashtags: #PayloadCMS #NextJS #ReactJS #HeadlessCMS #WebDevelopment #TypeScript #TanStack #ReactFlight #OpenSource
Resources: