# What changed in @radix-ui/react-toggle-group

> 7 changes in @radix-ui/react-toggle-group 1 from its official release notes, upgrade guides and advisories: 1 security. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/@radix-ui/react-toggle-group/

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

## @radix-ui/react-toggle-group 1

### Security

- The package is republished through CI with provenance attestations, allowing developers to verify its publishing provenance. (1.1.17) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#1117)

### Performance

- Improved tree-shaking lets bundlers drop unused components; component parts use pure annotations and named render functions to avoid preventing dead-code elimination. (1.1.16) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#1116)

### Behavior and default changes

- Single-select toggle groups now use the radiogroup role. (1.1.13) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#1113)
- Multi-select toggle groups now use the toolbar role. (1.1.13) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#1113)

### Fixes and other changes

- Fixed a type regression so callback props accept handlers whose parameter is narrower than the prop's. (1.2.1) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#121)
- Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag. (1.2.0) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#120)
- Reverted breaking changes that caused compatibility issues with React Server Components. (1.1.19) — [release notes](https://github.com/radix-ui/primitives/blob/925c88b773bb32aecf1b52a296a1a21ba7a720b9/packages/react/toggle-group/CHANGELOG.md#1119)
