---
title: "markdownlint 0.42.1 Breaking Changes on npm | Since.dev"
description: "What each markdownlint release removed, renamed or changed: 38 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/markdownlint
last_updated: 2026-12-04
---

# markdownlint breaking changes

markdownlint 0.42.1 (November 7, 2026) is its newest release with breaking changes, 4 of them. The first: Signature changed MarkdownItBaseToken.attrs. Every breaking API change we have recorded in markdownlint on npm: 38 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.42.2`, released November 18, 2026. [Source repository](https://github.com/DavidAnson/markdownlint)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.42.0](#v-0-42-0) to [0.42.1](#v-0-42-1): 4 breaking changes in 1 version.

## markdownlint 0.42.1 breaking changes

markdownlint 0.42.1, released November 7, 2026: 4 breaking changes.

- **Signature changed** `MarkdownItBaseToken.attrs`  

Was attrs: string\[\]\[\] | null; now attrs: \[string, string | number\]\[\] | null. [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.1)
- **Signature changed** `MarkdownItBaseToken.meta`  

Was meta: Object; now meta: Record\<string, unknown> | null. [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.1)
- **Signature changed** `MarkdownItToken.attrs`  

Was attrs: string\[\]\[\] | null; now attrs: \[string, string | number\]\[\] | null. [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.1)
- **Signature changed** `MarkdownItToken.meta`  

Was meta: Object; now meta: Record\<string, unknown> | null. [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.1)

## markdownlint 0.42.0 breaking changes

markdownlint 0.42.0, released October 15, 2026: 34 breaking changes.

- **Signature changed** `Configuration.MD043`  

Was MD043?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; headings?: string\[\]; match_case?: boolean;}; now MD043?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" |... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `Configuration.MD055`  

Was MD055?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";}; now MD055?: | boolean |... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `Configuration.required-headings`  

Was "required-headings"?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; headings?: string\[\]; match_case?: boolean;}; now "required-headings"?: | boolean | ("error" | "warning") | {enabled?... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `Configuration.table-pipe-style`  

Was "table-pipe-style"?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";}; now... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `ConfigurationStrict.MD043`  

Was MD043?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; headings?: string\[\]; match_case?: boolean;}; now MD043?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" |... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `ConfigurationStrict.MD055`  

Was MD055?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";}; now MD055?: | boolean |... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `ConfigurationStrict.required-headings`  

Was "required-headings"?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; headings?: string\[\]; match_case?: boolean;}; now "required-headings"?: | boolean | ("error" | "warning") | {enabled?... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `ConfigurationStrict.table-pipe-style`  

Was "table-pipe-style"?: | boolean | ("error" | "warning") | {enabled?: boolean; severity?: "error" | "warning"; style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";}; now... [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `FixInfo.deleteCount`  

Was deleteCount?: number | undefined; now deleteCount?: number. [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)
- **Signature changed** `FixInfo.editColumn`  

Was editColumn?: number | undefined; now editColumn?: number. [npmjs.com](https://www.npmjs.com/package/markdownlint/v/0.42.0)

And 24 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [markdownlint-cli2](https://since.dev/packages/npm/markdownlint-cli2.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
