# What changed in @portabletext/react

> 4 changes in @portabletext/react 7 to 8 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@portabletext/react/

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

## @portabletext/react 8

### Breaking changes

- Node.js 22.12 or later is required; installing on an older release will fail the engines check. (8.0.0) — [release notes](https://github.com/portabletext/react-portabletext/releases/tag/v8.0.0)

### New APIs and options

- Pass `listNestingMode="direct"` when custom list components do not have HTML’s nesting restriction, so deeper lists nest directly inside their parent list. (8.0.0) — [release notes](https://github.com/portabletext/react-portabletext/releases/tag/v8.0.0)

### Fixes and other changes

- Lists now nest to match each block’s level, including when items start at deeper levels or skip levels. (8.0.0) — [release notes](https://github.com/portabletext/react-portabletext/releases/tag/v8.0.0)

## @portabletext/react 7

### Fixes and other changes

- Default Portable Text components now have proper function names for React DevTools and React Compiler coverage. (7.0.1) — [release notes](https://github.com/portabletext/react-portabletext/releases/tag/v7.0.1)
