# What changed in unplugin-dts

> 31 changes in unplugin-dts 1 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/unplugin-dts/

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

## unplugin-dts 1

### Breaking changes

- forceDtsEmit was removed to support declarationMap. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)

### New APIs and options

- You can specify the module format for output. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)

### Performance

- Caches declaration module resolution. (1.1.1) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.1)
- Reduces build overhead. (1.1.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.0)
- Optimizes watch rebuilds. (1.1.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.0)

### Tooling

- The tool automatically falls back to @typescript/typescript6 for TS 7+ compatibility. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)

### Fixes and other changes

- Preserves native declaration extensions in generated declarations. (1.1.2) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.2)
- Preserves the declaration graph across module formats. (1.1.1) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.1)
- Empty bundled entries are preserved. (1.1.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.0)
- Corrects module-resolution precedence in setModuleResolution. (1.1.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.0)
- Preserves typeof in static imports. (1.1.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.0)
- Stabilizes the Vue program lifecycle. (1.1.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.1.0)
- Separated publicRoot and entryRoot for TypeScript 6.0. (1.0.3) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.3)
- Relaxed the vue language core peer range, allowing compatibility with a wider range of versions. (1.0.3) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.3)
- Checks all aliases so a wildcard * does not block @/* resolution. (1.0.2) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.2)
- Fixes a getResolvedModule error when bundling dts files outside src. (1.0.2) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.2)
- Avoids a self-reference when the entry dts path equals the types path. (1.0.2) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.2)
- Adds the .js extension to synthetic entry imports for nodenext. (1.0.2) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.2)
- Declarations are re-emitted when non-type files change in watch mode. (1.0.2) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.2)
- Forwards aliasesExclude to Runtime. (1.0.1) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.1)
- Prevents optional peer types from leaking into declaration files. (1.0.1) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.1)
- Corrects the exported type for the Rolldown plugin. (1.0.1) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.1)
- Includes .vue files when resolving tsconfig include patterns. (1.0.1) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.1)
- Resolves API Extractor failures involving Vue internal types when bundleTypes is enabled. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- Custom resolver files can pass through transform. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- The default output directory is parsed from the scaffold. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- The strategy for skipping insert index is stricter. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- Aliases in namespace imports are handled correctly. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- tsconfig globs are resolved relative to the tsconfig directory. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- tsconfig paths without baseUrl are resolved relative to the config directory. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
- Vue files are auto-detected and the processor is set automatically. (1.0.0) — [release notes](https://github.com/qmhc/unplugin-dts/releases/tag/unplugin-dts%401.0.0)
