Packages

@radix-ui/react-slot

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

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

21 releases in betweennotes for 11

Other targets from 0.0.12Newest 0.x0.1.2
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.0.12yours
  2. 0.1.0major
  3. 2 releases
  4. 1.0.0major
  5. 16 releases
  6. 1.5.0target
  7. 8 pre
?
changes to make
0
advisories fixed
5+
new
4+
fixes

Counted from 11 of 21 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. 0.1.0 – 1.2.111 releases, nothing new or fixed; 10 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.