# What changed in typescript-plugin-css-modules

> 10 changes in typescript-plugin-css-modules 4 to 5 from its official release notes, upgrade guides and advisories: 2 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-29. HTML: https://unstale.sh/npm/typescript-plugin-css-modules/

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

## typescript-plugin-css-modules 5

### Breaking changes

- TypeScript 4.x is now the minimum supported version. (5.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v5.0.0)

### New APIs and options

- Adds an engines field to package.json. (5.3.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v5.3.0)
- Adds support for opt-in caching. (5.3.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v5.3.0)

### Tooling

- The plugin now supports TypeScript 5.x. (5.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v5.0.0)

### Fixes and other changes

- Fixes the effect of resolveModuleNameLiterals on TypeScript services. (5.3.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v5.3.0)

## typescript-plugin-css-modules 4

### Breaking changes

- TypeScript 3.9.0 is now the minimum supported version. (4.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v4.0.0)

### New APIs and options

- Adds an option to enable compatibility with noUncheckedIndexedAccess. (4.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v4.0.0)

### Behavior and default changes

- Adds support for extension-less Sass imports. (4.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v4.0.0)

### Tooling

- Adds support for “go to definition” for Sass. (4.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v4.0.0)

### Fixes and other changes

- Fixes cases where the root directory wasn't used in Sass and Less imports. (4.0.0) — [release notes](https://github.com/mrmckeb/typescript-plugin-css-modules/releases/tag/v4.0.0)
