unstale

npm / @microsoft/api-extractor

@microsoft/api-extractor

What changed in @microsoft/api-extractor 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

4 breaking2 new APIs and options1 tooling5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.2 on npm

@microsoft/api-extractor 712 changes

Breaking changes 4

  • Reports an unresolved relative path in an inline import() type instead of silently emitting an unusable path into the .d.ts rollup.

    7.59.0release notes

  • CommonJS output is now under lib-commonjs instead of lib.

    7.57.0release notes

  • DTS output is now under lib-dts instead of lib.

    7.57.0release notes

  • ESM output is now under lib-esm instead of lib.

    7.57.0release notes

New APIs and options 2

  • Adds a setting that prints a diff of changes to API report files (*.api.md) in build logs.

    7.54.0release notes

  • Adds a CLI flag that prints a diff of changes to API report files (*.api.md).

    7.54.0release notes

Tooling 1

  • Support was added for the new d.ts extension format when using TypeScript moduleResolution bundler or nodenext.

    7.58.8release notes

Fixes and other changes 5

  • Fixes empty lines appearing in DTS rollups in place of API items that were trimmed.

    7.58.6release notes

  • The package exports this subpath, making it importable.

    7.57.3release notes

  • Adds the node condition before import so Node.js uses the CJS output, which handles extensionless imports, while bundlers continue to use ESM via import.

    7.57.1release notes

  • Fixes incorrect parameter names for destructured parameters.

    7.56.0release notes

  • Fixes missing export keywords for namespace re-exports that produced invalid TypeScript output.

    7.55.5release notes