Packages

@radix-ui/react-slot

1.5.0 · 12 Oct 2026MIT243.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @radix-ui/react-slot From 1.2.4 to 1.5.0

7 releases in betweenevery note read

0
changes to make
0
advisories fixed
4
new
3
fixes

Release by release

  1. 1.5.0

    12 Oct 20261 new · 1 fix
    • New

      Allow explicit undefined for all optional types for compatibility with TypeScript's exactOptionalPropertyTypes flag.

    • Fixed

      Fixed Slot throwing when an asChild child is a lazy reference whose resolved value is itself a lazy reference.

  2. 1.4.0

    5 Oct 20261 new · 1 fix
    • New

      Added support for multiple aria-describedby attributes.

    • Fixed

      Fixed compatibility issues with React Server Components.

  3. 1.3.0 – 1.3.34 releases, nothing new or fixed in the notes

  4. 1.2.5

    6 Jun 20262 new · 1 fix
    • New

      Added support for nested Slottable via a render prop, so a slotted element can be wrapped while still merging Slot props and refs onto it

    • New

      Added repository.directory to all package.json files

    • Fixed

      Fixed infinite re-render loop in React 19 caused by Slot creating a new ref callback on every render

3 other lines we could not sort, mostly version bumps
  • Reverted breaking changes that caused compatibility issues with React Server Components.

    1.3.3
  • Republish through CI to attach provenance attestations. The previous versions of these packages were published manually outside of CI and therefore shipped without provenance; this patch re-releases the same code through the CI pipeline so every package includes an attestation.

    1.3.1
  • Improved error messages for invalid slot children

    1.2.5

2 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.