Packages

@radix-ui/react-slot

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

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

15 releases in betweennotes for 11

  1. 1.0.2yours
  2. 14 releases
  3. 1.5.0target
  4. 8 pre
?
changes to make
0
advisories fixed
5+
new
4+
fixes

Counted from 11 of 15 release notes. Advisories are counted from the advisory database, in full.

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

  5. 1.2.4

    4 Nov 20251 fix
    • Fixed

      Fixed an issue with how slot components interact with lazy React components. In the case of a lazy component instance, the resulting promise must be consumed to render the desired component.

  6. 1.2.3nothing new or fixed in the note

  7. 1.2.2

    6 May 20251 new
    • New

      Add use client to slot entry to prevent RSC errors

  8. 1.1.0 – 1.2.15 releases, nothing new or fixed; 4 without a note

6 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
  • Replace deprecated 'ElementRef' with 'ComponentRef'

    1.2.3
  • Revert slot changes causing errors in server components

    1.2.3
  • Use stable composed refs in SlotClone

    1.2.1

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.