# What changed in @shadcn/react

> 5 changes in @shadcn/react 0.2 to 0.3 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/npm/@shadcn/react/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @shadcn/react 0.3

### New APIs and options

- Adds a primitive for multi-step questions, freeform answers, validation, and keyboard navigation. (0.3.0) — [release notes](https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.3.0)

### Fixes and other changes

- The MessageScroller root and viewport expose data-pending-scroll until defaultScrollPosition is applied, allowing the viewport to be hidden and preventing a server-rendered transcript from flashing the top on reload. (0.3.1) — [release notes](https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.3.1)

## @shadcn/react 0.2

### Fixes and other changes

- ResizeObserver callbacks are coalesced into requestAnimationFrame to prevent loop-completed-with-undelivered-notifications errors during streamed content growth. (0.2.1) — [release notes](https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.2.1)
- Auto-scroll now hands off from anchor hold to follow-output when a streamed reply fills the viewport, retains follow-output during rapid growth, and avoids scroll-button flicker while closing gaps. (0.2.1) — [release notes](https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.2.1)
- With autoScroll enabled, a newly appended scrollAnchor placement is no longer abandoned, keeping the anchored turn at the reading line while the reply streams. (0.2.1) — [release notes](https://github.com/shadcn-ui/ui/releases/tag/%40shadcn/react%400.2.1)
