# What changed in textlint

> 89 changes in textlint 12 to 16 from its official release notes, upgrade guides and advisories: 46 breaking, 5 deprecations, 3 security, 15 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/textlint/

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

## textlint 16

### Breaking changes

- Built-in plugins have migrated to ESM. (16.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- Column widths of some emoji now follow newer Unicode data. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The node type is renamed to footnoteReference. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The node type is renamed to json. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- textlint counts LF, CR, and CRLF as line endings in every format; U+2028 and U+2029 are no longer line endings in messages. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- Line counts for loc now account for LF, CR, and CRLF in every format. (16.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- Edge cases now follow CommonMark and GitHub more closely; nesting deeper than 100 levels is not parsed as syntax. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The parser has been rewritten as a self-contained CommonMark + GFM parser. (16.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- Message line counts now account for LF, CR, and CRLF. (16.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- Node.js 22.12.0 or later is required to run textlint v16. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- The hidden unist compatibility property is removed from Markdown AST nodes; use range and loc. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- test() throws and isTxtAST() returns false when raw, range, and loc disagree, so rule or plugin tests can expose invalid ASTs. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- Deprecated type re-exports are removed; import the listed rule and plugin types from @textlint/types instead. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- The plain text parser keeps one Paragraph per line; trailing line endings become Break nodes, BOM is excluded from the first Str, and Break loc.end is column 0 of the next line. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- The built-in Markdown plugin is now ESM-only; direct CommonJS require callers should use the default export or import it as ESM. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The built-in text plugin is now ESM-only; direct CommonJS require callers should use the default export or import it as ESM. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The node type is renamed to toml. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The front matter node type is renamed to yaml; configurations that list Yaml should use yaml instead. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)

### Security

- The formatter now escapes workflow command values. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)

### New APIs and options

- Adds the --profile option to textlint. (16.1.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.1.0)
- The content strategy detects changed files by content hash instead of mtime and size; the default remains metadata. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- The Markdown plugin can parse emphasis, strong emphasis, and strikethrough using CommonMark CJK-friendly Amendments; the option is disabled by default. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- Formatters receive source text through getSource(filePath), allowing API users to pass in-memory text to loadFormatter(). (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)

### Performance

- The MCP server is loaded only when --mcp is used, avoiding unnecessary loading otherwise. (16.1.1) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.1.1)
- Rule handlers do less work per node through reduced allocations; visited-node order and handler arguments do not change. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- The package now uses an in-house CommonMark 0.31.2 + GFM parser instead of remark, with substantially faster parsing and fewer third-party dependencies. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)

### Behavior and default changes

- The pretty-error formatter displays a code frame for stdin text, and diff displays the diff of stdin text. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)

### Fixes and other changes

- Definition and reference nodes have been added to the children types. (16.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- The server now marks its tools as read-only. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- A message in an empty file no longer prints undefined. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- A relative rules base directory is now resolved from the current directory. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)
- The formatter no longer throws when a message contains a control character such as a tab, and removes escape sequences from table cells. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16)
- TIMING=1 now reports each rule's own time instead of including other rules' time. (16.0.0) — [upgrade guide](https://textlint.org/blog/2026/11/15/textlint-16), [release notes](https://github.com/textlint/textlint/releases/tag/v16.0.0)

## textlint 15

### Breaking changes

- TxtNode properties are now readonly, preventing their reassignment in TypeScript. (15.7.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.7.0)
- Removed createFormatter; use the asynchronous loadFormatter() API, whose result exposes a format() method. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15), [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)
- File search errors now return exit status 2 instead of 1; lint errors remain 1 and success remains 0. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)
- Legacy textlint APIs were removed, so integrations using them may need to migrate. (15.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)
- Removed the module field from 15 @textlint packages with type: "commonjs", resolving Webpack module-resolution issues without custom mainFields. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)
- textlint v15 requires Node.js 20.0.0 or later, so developers need to update local, CI/CD, and deployment environments. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15), [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)
- Removed TextFixEngine; use createLinter() and fixFiles() instead. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)
- Removed the textlint singleton instance; use createLinter() instead. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)
- Removed TextLintCore; use createLinter() or @textlint/kernel instead. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)
- Removed TextLintEngine; use createLinter() with lintFiles() and loadLinterFormatter() instead. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)

### Security

- Upgraded glob to v11 to fix a minimatch ReDoS vulnerability. (15.5.2) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.5.2)

### New APIs and options

- markdown-to-ast adds support for JSON frontmatter. (15.6.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.6.0)
- markdown-to-ast adds support for TOML frontmatter. (15.6.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.6.0)
- Adds a GitHub lint formatter. (15.5.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.5.0)
- textlint-tester adds suggestions API support for testing suggestions. (15.4.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.4.0)
- Adds a suggestions API to the kernel. (15.3.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.3.0)
- Phase 1 MCP improvements include error handling. (15.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)
- Phase 1 MCP improvements add outputSchema. (15.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)
- Phase 1 MCP improvements implement structured output. (15.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)

### Behavior and default changes

- Logs are grouped by file when using the gh formatter. (15.8.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.8.0)
- MCP integration gains structured output, JSON schema validation, and improved error handling for AI assistants and language models. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)

### Tooling

- The textlint MCP server was upgraded to SDK v2. (15.8.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.8.0)

### Fixes and other changes

- Stdout output now aligns with --output-file output. (15.7.1) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.7.1)
- lintFiles now respects ignore patterns for absolute file paths. (15.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v15.0.0)
- Absolute file paths now correctly respect ignore patterns in .textlintignore. (15.0.0) — [upgrade guide](https://textlint.org/blog/2025/06/22/textlint-15)

## textlint 14

### Breaking changes

- gulp-textlint moved out of the textlint monorepo and is not maintained by the textlint core team. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14)
- textlint v14 requires Node.js 18.14.0 or later; Node.js 16 support is dropped. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14), [release notes](https://github.com/textlint/textlint/releases/tag/v14.0.0)
- The experimental parallel-linting flag is removed. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14), [release notes](https://github.com/textlint/textlint/releases/tag/v14.0.0)
- The package's CLI is removed because it was not used by many users. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14), [release notes](https://github.com/textlint/textlint/releases/tag/v14.0.0)
- textlint-scripts requires Node.js v18.19.0 or later. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14)
- Its output changes from ES2015-compatible JavaScript to ES2022-compatible JavaScript, targeting Node.js v18.14.0. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14), [release notes](https://github.com/textlint/textlint/releases/tag/v14.0.0)

### Deprecations

- Deprecated APIs now produce a warning. (14.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v14.0.0)
- The old API now emits a deprecation warning; use createLinter and loadTextlintrc instead. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14)
- The old textlint API now emits a deprecation warning; the notes recommend @textlint/legacy-textlint-core or @textlint/kernel instead. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14)
- The old API now emits a deprecation warning; the notes recommend @textlint/legacy-textlint-core or @textlint/kernel instead. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14)
- The old API now emits a deprecation warning; use createLinter and loadTextlintrc instead. (14.0.0) — [upgrade guide](https://textlint.github.io/blog/2024/02/03/textlint-14)

### Fixes and other changes

- Config-loader results were enhanced, changing the results developers receive from the loader. (14.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v14.0.0)

## textlint 13

### Breaking changes

- textlint now requires Node.js 16 or later. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- The undocumented way to override a preset rule option through a separate rule entry is removed; configure the option inside the preset rule instead. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- The New-CLI requires --stdin-filename when used with --stdin. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- The New-CLI replaces the Old-CLI and supports rules and plugins written in ESM. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- The New-CLI reports exit status 0 for no lint error, 1 for lint errors, and 2 for fatal errors. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- The node types package changes the existing type name TxtNodeLineLocation to TxtNodeLocation. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- The node types package changes the existing type name TextNodeRange to TxtNodeRange. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)

### New APIs and options

- Adds the table cell node type to @textlint/ast-node-types. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- Adds the table node type to @textlint/ast-node-types. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)
- Adds the table row node type to @textlint/ast-node-types. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)

### Behavior and default changes

- textlint --init now outputs .textlintrc.json instead of .textlintrc. (13.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v13.0.0)

## textlint 12

### Breaking changes

- Footnotes previously represented as LinkReference are now treated as FootnoteReference; some rules may report new errors on them. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)
- Modules now target ES2015, so textlint no longer supports IE. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)
- The built-in markdown parser is updated to remark 13, which improves Markdown parsing and may cause textlint to find newer errors. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)
- Node.js 10.x is no longer supported; textlint 12 requires Node.js ^12.20.0, ^14.13.1, or >=16.0.0. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)
- The package now uses a default export; users should use import or access the default property instead of requiring the package directly. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)

### Security

- The trim package is updated to address CVE-2020-7753. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)

### Fixes and other changes

- The argument type for getSource is fixed. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)
- A workaround prevents markdown-to-ast from generating a broken AST for GFM. (12.0.0) — [release notes](https://github.com/textlint/textlint/releases/tag/v12.0.0)
