# What changed in @microsoft/api-documenter

> 3 changes in @microsoft/api-documenter 7 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/@microsoft/api-documenter/

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

## @microsoft/api-documenter 7

### New APIs and options

- Markdown and Yaml documenters now support @defaultValue. (7.30.0) — [release notes](https://github.com/microsoft/rushstack/blob/9b27e7ab3c987fdf023e10fa326cba4c1020bf9a/apps/api-documenter/CHANGELOG.md#7300)

### Tooling

- CommonJS, DTS, and ESM files are now under lib-commonjs, lib-dts, and lib-esm; imports to lib still work through the package.json exports field. (7.29.0) — [release notes](https://github.com/microsoft/rushstack/blob/9b27e7ab3c987fdf023e10fa326cba4c1020bf9a/apps/api-documenter/CHANGELOG.md#7290)

### Fixes and other changes

- The exports map checks the node condition before import so Node.js uses the CJS output, which handles extensionless imports, while bundlers continue to use ESM. (7.29.1) — [release notes](https://github.com/microsoft/rushstack/blob/9b27e7ab3c987fdf023e10fa326cba4c1020bf9a/apps/api-documenter/CHANGELOG.md#7291)
