# What changed in clsx

> 1 change in clsx 2 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/clsx/

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

## clsx 2

### New APIs and options

- An exports map adds native ESM support, supports TypeScript node16/nodenext module resolution, and maintains CommonJS support with fixed TypeScript definitions. (2.0.0) — [release notes](https://github.com/lukeed/clsx/releases/tag/v2.0.0)
