unstale

npm / radix-ui

radix-ui

What changed in radix-ui 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

7 breaking1 security1 deprecations27 new APIs and options2 performance7 behavior and defaults72 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

radix-ui 1117 changes

Breaking changes 7

  • Renamed to unstable_CollectionDict; unstable collection APIs are undocumented and may change without a major version bump.

    1.8.0release notes

  • Renamed to unstable_CollectionSlotProps; unstable collection APIs are undocumented and may change without a major version bump.

    1.8.0release notes

  • The viewport now renders active content inside the consumer's element alongside its existing children instead of discarding them.

    1.7.0release notes

  • The trigger now moves focus before the tab state changes, so a focused element inside Tabs.Content fires a blur event before the tab switches.

    1.7.0release notes

  • Removes the global React.CSSProperties augmentation from emitted declaration files.

    1.6.1release notes

  • The misspelled onVisiblityChange prop was renamed to onVisibilityChange.

    1.6.0release notes

  • A zero-sized image now triggers an error status on load instead of remaining in loading status and preventing onLoadingStatusChange from being called.

    1.6.0release notes

Security 1

  • Packages are republished through CI so every package includes a provenance attestation, unlike previous manually published versions.

    1.6.5release notes

Deprecations 1

  • Development now warns when multiple Avatar.Image components are rendered per Avatar.Root, a pattern that is unsupported and can cause unpredictable behavior.

    1.6.0release notes

New APIs and options 27

  • The align prop can now be overridden on ContextMenu.Content.

    1.8.0release notes

  • The side prop can now be overridden on ContextMenu.Content.

    1.8.0release notes

  • The sideOffset prop can now be overridden on ContextMenu.Content.

    1.8.0release notes

  • Added to the functions returned from unstable_createCollection.

    1.8.0release notes

  • Choose automatic activation on hover or focus, or manual activation on click.

    1.7.0release notes

  • Controls whether clicking an already-open submenu trigger keeps it open or toggles it closed; the default preserves existing behavior.

    1.7.0release notes

  • Provides an accessible description for popover content.

    1.7.0release notes

  • Provides an accessible name for popover content.

    1.7.0release notes

  • Lets consumers own the wrapper element previously rendered implicitly by ScrollArea.Viewport.

    1.7.0release notes

  • Disable the viewport's implicit content element so consumers can render ScrollArea.Content themselves.

    1.7.0release notes

  • Prevents thumbs from crossing by constraining each thumb to its neighbors' values instead of swapping positions when dragged past them.

    1.7.0release notes

  • Added per-primitive subpath entry points, allowing primitives to be imported directly.

    1.6.3release notes

  • Added CSS custom properties for Navigation Menu item indicators' translate values.

    1.6.2release notes

  • createSlot now accepts generic type arguments to specify the type of element a slot should render and its props.

    1.6.0release notes

  • SlotProps now accepts generic type arguments to specify the type of element a slot should render and its props.

    1.6.0release notes

  • Added a controlled open prop for reading the open state and closing the menu programmatically.

    1.5.0release notes

  • Added the align prop to Menu.SubContent.

    1.5.0release notes

  • Exposed the data-align attribute on the PopperAnchor element.

    1.5.0release notes

  • Exposed the data-side attribute on the PopperAnchor element.

    1.5.0release notes

  • Exposed unstable radio-item composition parts so consumers can access and recompose the visually hidden input; RadioGroupItem still renders them by default.

    1.5.0release notes

  • Exposed unstable Select composition parts so consumers can access and recompose the visually hidden select; Select continues to render them by default.

    1.5.0release notes

  • Added support for presence-based exit animations.

    1.5.0release notes

  • Added focusVisible for non-keyboard thumb interactions, enabling styles using :focus-visible alongside programmatic focus management.

    1.5.0release notes

  • Exposed unstable Slider thumb composition parts so consumers can decouple the visually hidden input from the thumb; SliderThumb continues to render them by default.

    1.5.0release notes

  • Added support for nested Slottable items via a render prop, allowing a slotted element to be wrapped while Slot props and refs are merged onto it.

    1.5.0release notes

  • Exposed unstable Switch composition parts so consumers can access and recompose the visually hidden input; Switch continues to render them by default.

    1.5.0release notes

  • Toast.Announce now allows specifying a container.

    1.5.0release notes

Performance 2

  • Improved tree-shaking so bundlers can drop unused components.

    1.6.3release notes

  • Opening overlays avoids rescanning the document and reinserting focus guards on every mount; the shared pair is cached and written only when its edge position changes.

    1.5.0release notes

Behavior and default changes 7

  • The content element gets a data-state attribute when using NavigationMenu.Viewport, for consistency.

    1.8.0release notes

  • Choose automatic or manual activation; when omitted, the submenu inherits the root setting and can opt back into automatic activation.

    1.7.0release notes

  • Dev-only warnings are no longer emitted when a dialog title and/or description is not rendered.

    1.6.0release notes

  • Single-select toggle groups now use the radiogroup role.

    1.6.0release notes

  • An item with an empty string value can act as a clear option, resetting selection to the placeholder and restoring native optional-select behavior.

    1.6.0release notes

  • Multi-select toggle groups now use the toolbar role.

    1.6.0release notes

  • The Scroll Area viewport style tag remains stable unless the nonce changes.

    1.6.0release notes

Fixes and other changes 72

  • Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's.

    1.8.1release notes

  • All optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.

    1.8.0release notes

  • FocusScope no longer throws a TypeError in test environments after teardown.

    1.8.0release notes

  • User-driven changes in form-nested controls are no longer incorrectly treated as programmatic, which could prevent bubbled event handlers from being called.

    1.8.0release notes

  • aria-controls is no longer set on Popover.Trigger while the popover is closed.

    1.8.0release notes

  • Content alignment is corrected when all Select items are disabled.

    1.8.0release notes

  • Programmatic value updates inside a form no longer dispatch a click event from the hidden bubble select that propagates to ancestor onClick handlers.

    1.8.0release notes

  • Programmatic value updates inside a form no longer dispatch an input event that propagates to ancestor onInput handlers.

    1.8.0release notes

  • Slot no longer throws when an asChild child is a lazy reference whose resolved value is itself a lazy reference.

    1.8.0release notes

  • A bug caused by incorrect tree-shaking in SWC-minified code is fixed.

    1.8.0release notes

  • Toast.Viewport no longer forces a still-hydrating Suspense boundary to client-render.

    1.8.0release notes

  • Tबbing away from a focusable tooltip trigger in a modal popover moves focus to the next element in the popover instead of its root.

    1.8.0release notes

  • The collection context providers it returns now have corrected display names.

    1.8.0release notes

  • Collections no longer keep a stale item order when React moves items in the DOM without remounting them.

    1.8.0release notes

  • Timing bugs in useCallbackRef are fixed.

    1.8.0release notes

  • Id strings from a component and its child are merged, normalized, and deduplicated instead of one replacing the other.

    1.7.0release notes

  • Nested, portalled layers inside a modal Dialog no longer have interactions broken by the modal layer's focus trap and scroll restrictions.

    1.7.0release notes

  • A submenu's default value is no longer reset when an external element receives focus before the menu opens.

    1.7.0release notes

  • Compatibility issues with React Server Components were fixed.

    1.7.0release notes

  • The asChild prop now merges props onto the consumer's element rather than the implicit content element.

    1.7.0release notes

  • Internal event handlers are no longer called on disabled items.

    1.7.0release notes

  • A paused toast now auto-closes after its duration changes while the timer is paused.

    1.7.0release notes

  • Reverted breaking changes that caused compatibility issues with React Server Components.

    1.6.6release notes

  • Fixed a regression that erased primitive types to any when importing primitives from the root entry point.

    1.6.4release notes

  • Programmatic value updates to Checkbox, Switch, or RadioGroup inside a form no longer dispatch a click event from the hidden bubble input that propagates to ancestor onClick handlers.

    1.6.3release notes

  • Fixed dev-only checks so dev-warnings are dropped from production builds.

    1.6.3release notes

  • Fixed broken ARIA references when title or description elements are not rendered.

    1.6.3release notes

  • Now called when a slider thumb is dragged across another thumb.

    1.6.3release notes

  • Fixed overriding inline animation style.

    1.6.3release notes

  • Pressing Escape no longer removes non-focused toasts.

    1.6.3release notes

  • Children are no longer mounted to the DOM twice.

    1.6.3release notes

  • Popover components now allow RefObject<Measurable | null> as the prop type.

    1.6.3release notes

  • Re-anchors to the latest pointer position when re-triggered while open.

    1.6.2release notes

  • Background nested popovers no longer close all layers when an outside click occurs.

    1.6.2release notes

  • Calling an event handler without an argument no longer throws or prevents successive event handlers from being called.

    1.6.2release notes

  • Can be rendered outside of Form.Field without causing a runtime error.

    1.6.2release notes

  • No longer intercept Space or Enter keys originating from focusable descendants.

    1.6.2release notes

  • Prevents stale handlers on React 19.2.

    1.6.2release notes

  • Values are updated when the associated form is reset.

    1.6.2release notes

  • Resets to 0 when a corner is removed, preventing a permanent gap on the remaining scrollbar.

    1.6.2release notes

  • Items are auto-focused on mount when inside a Focus Scope component.

    1.6.2release notes

  • Keyboard stepping from a value off the step grid now snaps to the next step-aligned value in the direction of travel, matching native range input behavior.

    1.6.2release notes

  • Fixes an infinite re-render loop in React 19 caused by unstable composed ref callback references.

    1.6.1release notes

  • Clears the close timer when Toast components unmount, preventing memory leaks and errors in test environments.

    1.6.1release notes

  • Prop type definitions now include asChild for all Password Toggle Field component parts.

    1.6.0release notes

  • An avatar's fallback is displayed again if its image component unmounts.

    1.6.0release notes

  • Fixed submenu misalignment when using custom portals.

    1.6.0release notes

  • Outside interactions stopped by extension UI overlays no longer dismiss dialogs or popovers.

    1.6.0release notes

  • Fixed Duplicate index signature errors that surfaced when consuming multiple packages together.

    1.6.0release notes

  • Menus and submenus no longer remain open after a window loses focus.

    1.6.0release notes

  • Typeahead search no longer focuses an element that no longer exists.

    1.6.0release notes

  • Fixed triggers referencing non-existent elements with aria-controls after their content is removed from the DOM.

    1.5.0release notes

  • Submenus no longer remain expanded after reopening on long-press touch events.

    1.5.0release notes

  • Fixed iOS text selection and editing on HTML inputs within dialogs.

    1.5.0release notes

  • Fixed disabled pointer events in closed dialogs.

    1.5.0release notes

  • Pasted values are read as text/plain when the legacy Text clipboard format is unsupported.

    1.5.0release notes

  • Fixed focus management issues in React 19.2 and later.

    1.5.0release notes

  • Pasted values longer than the field are truncated to its length.

    1.5.0release notes

  • Fixed a Maximum update depth exceeded error on pages with many popper instances.

    1.5.0release notes

  • Fixed a Maximum update depth exceeded bug in React 19 when a child has an unstable ref.

    1.5.0release notes

  • Fixed the missing data-state attribute on Scroll Area scrollbars.

    1.5.0release notes

  • The bubble hidden input submits an empty string when no value is selected.

    1.5.0release notes

  • Fixed unexpected closing after touch-scrolling content inside an open shadow DOM.

    1.5.0release notes

  • Fixed invalid prop errors when SelectValue is used with both asChild and a placeholder.

    1.5.0release notes

  • Fixed unresponsive thumbs when step values are very small.

    1.5.0release notes

  • Fixed focus bugs for sliders in a scrollable context.

    1.5.0release notes

  • Fixed an infinite React 19 re-render loop caused by creating a new ref callback on every render.

    1.5.0release notes

  • Improved error messages for invalid slot children.

    1.5.0release notes

  • A skipDelayDuration of 0 now works as expected when moving between triggers.

    1.5.0release notes

  • Fixed a runtime error when an event target is not a Node.

    1.5.0release notes

  • Added missing use client directives to modules that caused errors in RSC modules.

    1.5.0release notes

  • Uses React's built-in useSyncExternalStore in React 18 and later, with a fallback for earlier versions, avoiding ESM bundle crashes caused by the shim.

    1.5.0release notes