html-to-text breaking changes
html-to-text 9.0.0 (December 2, 2022) is its newest release with breaking changes, 14 of them. The first: Removed DecodeOptions. Every breaking API change we have recorded in html-to-text on npm: 16 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
On this page
Latest version 10.0.1, released August 19, 2026.
Packages on npm run on Node.js. Node.js end of life dates.
html-to-text 9.0.0 breaking changes
- Removed
DecodeOptions
DecodeOptions was removed in html-to-text 9.0.0 npmjs.com - Removed
fromString
fromString was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.decodeOptions
HtmlToTextOptions.decodeOptions was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.hideLinkHrefIfSameAsText
HtmlToTextOptions.hideLinkHrefIfSameAsText was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.ignoreHref
HtmlToTextOptions.ignoreHref was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.ignoreImage
HtmlToTextOptions.ignoreImage was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.linkHrefBaseUrl
HtmlToTextOptions.linkHrefBaseUrl was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.noLinkBrackets
HtmlToTextOptions.noLinkBrackets was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.singleNewLineParagraphs
HtmlToTextOptions.singleNewLineParagraphs was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.unorderedListItemPrefix
HtmlToTextOptions.unorderedListItemPrefix was removed in html-to-text 9.0.0 npmjs.com - Removed
HtmlToTextOptions.uppercaseHeadings
HtmlToTextOptions.uppercaseHeadings was removed in html-to-text 9.0.0 npmjs.com - Signature changed
convert
Was function htmlToText(html: string, options?: HtmlToTextOptions): string; now function htmlToText(html: string, options?: HtmlToTextOptions, metadata?: metaData): string. npmjs.com - Signature changed
htmlToText
Was function htmlToText(html: string, options?: HtmlToTextOptions): string; now function htmlToText(html: string, options?: HtmlToTextOptions, metadata?: metaData): string. npmjs.com - Signature changed
HtmlToTextOptions.wordwrap
Was wordwrap?: number | boolean | null | undefined; now wordwrap?: number | false | null | undefined. npmjs.com
html-to-text 8.0.0 breaking changes
- Behavior changed
Id selectors now follow the spec and no longer match elements with multiple ids the way class selectors did. Documents relying on the old behavior should use an attribute selector such as foo[id~=a] instead. github.com - Behavior changed
Every outermost element matching the provided selectors now appears in the output, not just the first match for each selector. Code that relied on getting only one base element must limit the matches itself, for example with... github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.