npm / @radix-ui/react-primitive
@radix-ui/react-primitive
What changed in @radix-ui/react-primitive 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking1 security3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@radix-ui/react-primitive 25 changes
Breaking changes 1
Removed the global augmentation from emitted declaration files.
Security 1
Packages are re-released through CI with provenance attestations, enabling verification of their publishing provenance.
Fixes and other changes 3
Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.
Reverted breaking changes that caused compatibility issues with React Server Components.
Fixed errors that surfaced when consuming multiple packages together.