markdown-to-jsx breaking changes
Updated December 4, 2026
On this page
Latest version 9.11.0, released November 23, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 8.0.0 to 9.10.6: 272 breaking changes in 26 versions.
- From 7.4.1 to 9.10.6: 410 breaking changes in 43 versions.
markdown-to-jsx 9.10.6 breaking changes
- Behavior changed
Markdown-written ref, innerHTML, outerHTML, dangerouslySetInnerHTML and event handlers on hyphenated tags are stripped from output. Check any markup that relied on them. github.com - Behavior changed
A footnote reference such as [^1] without a matching definition renders as plain text instead of a superscript link. github.com - Behavior changed
evalUnserializableExpressions
This option now affects only capitalized tags that are listed in overrides. github.com - Behavior changed
overrides
A capitalized tag with no matching overrides key renders as a plain element with its attributes as written and loses event handlers. List the tag in overrides to keep parsed values. github.com
markdown-to-jsx 9.10.5 breaking changes
- Behavior changed
Spaces just inside inline HTML tags are now kept as written, so words no longer run together and an element holding only a space keeps it. This applies to every output format, with or without optimizeForStreaming. github.com
markdown-to-jsx 9.10.4 breaking changes
- Behavior changed
optimizeForStreaming
With optimizeForStreaming, finished text such as underscores, asterisks, inline code and raw HTML now renders as it does without the option. Unfinished markup is held back only in the last paragraph, list item or quote, so code relying on... github.com - Signature changed
MarkdownToJSX.State._pendingInline
Was _pendingInline?: {dest: ASTNode[]; text: string; breaks: boolean; inline?: boolean; inAnchor?: boolean; inHTML?: boolean; htmlDepth?: number; inList?: boolean; inBlockQuote?: boolean; noSetext?: boolean; depth?: number;}[]; now... npmjs.com
markdown-to-jsx 9.10.2 breaking changes
- Removed
MarkdownToJSX.State._inlineUrlFailFrom
MarkdownToJSX.State._inlineUrlFailFrom was removed in markdown-to-jsx 9.10.2 npmjs.com
markdown-to-jsx 9.10.0 breaking changes
- Removed
MarkdownToJSX.HTMLNode._rawText
MarkdownToJSX.HTMLNode._rawText was removed in markdown-to-jsx 9.10.0 npmjs.com - Removed
MarkdownToJSX.HTMLSelfClosingNode._rawText
MarkdownToJSX.HTMLSelfClosingNode._rawText was removed in markdown-to-jsx 9.10.0 npmjs.com - Behavior changed
Headings with the same text now get suffixes such as -1 and -2; a custom slugify still sets the base string. github.com - Behavior changed
The HTML and Markdown string outputs now remove dangerous url(javascript:...) payloads from style attributes. github.com - Behavior changed
Links and images whose destinations hide javascript: behind HTML entities are now dropped, the same as a literal javascript: URL. github.com - Behavior changed
Anchors on headings that contained links, images, or autolinks may change, so update any links that point at the old ids. github.com - Behavior changed
astToJSX
Calls to astToJSX follow the new default and escape dangerous tags instead of rendering them. github.com - Behavior changed
ImageNode.target
Code that expects a string on ImageNode.target must now handle null for rejected images. github.com - Behavior changed
optimizeForStreaming
Incomplete tag-like text stays hidden until it completes in Solid and Vue too, so output in those compilers can differ. github.com - Default changed
tagfilter
Tags such as script, iframe and style are escaped by default in all outputs, including Solid, Vue and React Native, so pass tagfilter explicitly to keep the old behavior. github.com
And 7 more in this version. Sign up to see every change
markdown-to-jsx 9.9.0 breaking changes
- Behavior changed
The Markdown output compiler changes how special characters, tables, lists, code fences and link titles are written, so generated Markdown text will differ from before. github.com - Behavior changed
Footnote references in React Native output now appear as superscript rather than bold, so existing styling of footnotes may look different. github.com - Behavior changed
Dangerous attributes such as on* event handlers, javascript: and non-image data: URLs, and srcdoc are removed from raw HTML in every renderer, so markup relying on them will output differently. github.com - Behavior changed
optimizeForStreaming
Previously the option was ignored on React Native; it now suppresses partial markdown structures there, so streamed output will render differently. github.com - Default changed
styles
React Native output now ships with built-in default styles for headings, code, tables, task items and blockquotes, so apps relying on the previous unstyled output will look different unless they override styles. github.com - Signature changed
MarkdownToJSX.ReferenceCollectionNode.refs
Was refs: {[key: string]: {target: string; title: string;};}; now refs: {[key: string]: {target: string; title: string | undefined;};}. npmjs.com - Signature changed
MarkdownToJSX.State
Was type State = {inAnchor?: boolean; inBlockQuote?: boolean; inHTML?: boolean; inList?: boolean; inline?: boolean; key?: string | number; refs?: {[key: string]: {target: string; title: string;};}; renderDepth?: number; _depth?: number... npmjs.com - Signature changed
MarkdownToJSX.State.refs
Was refs?: {[key: string]: {target: string; title: string;};}; now refs?: {[key: string]: {target: string; title: string | undefined;};}. npmjs.com - Signature changed
vue:VueOptions
Was type VueOptions = Omit<MarkdownToJSX.Options, "createElement" | "wrapperProps" | "renderRule" | "overrides"> & {createElement?: typeof h; wrapperProps?: Record<string, unknown>; renderRule?: (next: () => VueChild | null, node... npmjs.com - Signature changed
vue:VueOptions.renderRule
Was renderRule?: (next: () => VueChild | null, node: MarkdownToJSX.ASTNode, renderChildren: (children: MarkdownToJSX.ASTNode[]) => VueChild[] | VNode, state: MarkdownToJSX.State) => VueChild | null; now renderRule?: (next: () => VueChild[]... npmjs.com
Older versions
38 older versions, each with its first changes. Sign up to see every change
Show 38 older versions
markdown-to-jsx 9.8.2 breaking changes
- Signature changed
MarkdownToJSX.State
Was type State = {inAnchor?: boolean; inBlockQuote?: boolean; inHTML?: boolean; inList?: boolean; inline?: boolean; key?: string | number; refs?: {[key: string]: {target: string; title: string;};}; renderDepth?: number; _depth?: number... npmjs.com
markdown-to-jsx 9.8.1 breaking changes
- Signature changed
MarkdownToJSX.State
Was type State = {inAnchor?: boolean; inBlockQuote?: boolean; inHTML?: boolean; inList?: boolean; inline?: boolean; key?: string | number; refs?: {[key: string]: {target: string; title: string;};}; renderDepth?: number; _depth?: number... npmjs.com
markdown-to-jsx 9.8.0 breaking changes
- Behavior changed
overrides
Overrides for code, pre, headings, lists, emphasis and task checkboxes now fire on React Native instead of being ignored, so existing overrides will change rendered output. github.com - Behavior changed
styles.listItem
Task list items now lay out as a centered row by default, so the checkbox and label sit on one line. Pass your own styles.listItem to keep the previous layout. github.com
And 29 more in this version.
markdown-to-jsx 9.7.14 breaking changes
- Behavior changed
Markdown inside an HTML block with no surrounding blank lines is no longer parsed as markdown and is kept as literal text. Add blank lines around the content to keep markdown parsing. github.com - Behavior changed
Frontmatter is detected only when content is valid YAML key-value pairs, not any line with a colon. Use the new disableFrontmatter option to skip detection entirely. github.com
And 1 more in this version.
markdown-to-jsx 9.7.10 breaking changes
- Removed
compiler
compiler was removed in markdown-to-jsx 9.7.10 npmjs.com - Removed
default
default was removed in markdown-to-jsx 9.7.10 npmjs.com
And 49 more in this version.
markdown-to-jsx 9.7.8 breaking changes
- Removed
compiler
compiler was removed in markdown-to-jsx 9.7.8 npmjs.com - Removed
default
default was removed in markdown-to-jsx 9.7.8 npmjs.com
And 47 more in this version.
markdown-to-jsx 9.7.7 breaking changes
- Signature changed
MarkdownToJSX.State
Was type State = {inAnchor?: boolean; inBlockQuote?: boolean; inHTML?: boolean; inList?: boolean; inline?: boolean; key?: string | number; refs?: {[key: string]: {target: string; title: string;};}; renderDepth?: number; _depth?: number... npmjs.com
markdown-to-jsx 9.7.2 breaking changes
- Behavior changed
GFM alert markers such as [!Tip] and [!tip] are now matched case-insensitively, matching GitHub. Code relying on the previous matching may render differently. github.com
markdown-to-jsx 9.7.0 breaking changes
- Removed
MarkdownToJSX.HTMLNode.rawAttrs
MarkdownToJSX.HTMLNode.rawAttrs was removed in markdown-to-jsx 9.7.0 npmjs.com - Removed
MarkdownToJSX.HTMLNode.rawText
MarkdownToJSX.HTMLNode.rawText was removed in markdown-to-jsx 9.7.0 npmjs.com
And 10 more in this version.
markdown-to-jsx 9.6.0 breaking changes
- Signature changed
MarkdownToJSX.Options
Was type Options = Partial<{createElement: (tag: Parameters<CreateElement>[0], props: React.JSX.IntrinsicAttributes, ...children: React.ReactNode[]) => React.ReactNode; disableAutoLink: boolean; disableParsingRawHTML: boolean; tagfilter?... npmjs.com
markdown-to-jsx 9.5.6 breaking changes
- Behavior changed
text
The text field of HTML AST nodes no longer includes the opening and closing tags. Use rawText for the full raw HTML, and update custom renderRule implementations that read text. github.com
markdown-to-jsx 9.5.3 breaking changes
- Behavior changed
Null bytes (U+0000) in input are replaced with the replacement character (U+FFFD) rather than kept unchanged. Code that relies on null bytes surviving the conversion must handle the replacement character instead. github.com - Behavior changed
A Byte Order Mark (U+FEFF) at the start of a document is removed before conversion. Code that expects the BOM to appear in the output must account for its removal. github.com
markdown-to-jsx 9.5.1 breaking changes
- Behavior changed
Browser builds now decode HTML entities through the DOM (textarea.innerHTML) instead of the bundled lookup table, selected automatically via the package imports field with no configuration. Code relying on the exact entity decoding in... github.com
markdown-to-jsx 9.5.0 breaking changes
- Behavior changed
Markdown
The Markdown component detects the environment and adapts automatically in RSC and client React, and MarkdownProvider and MarkdownContext become no-ops in RSC environments. The release states zero breaking changes for existing users. github.com - Signature changed
react:MarkdownContext
Was const MarkdownContext: React2.Context<MarkdownToJSX.Options | undefined>; now const MarkdownContext: React2.Context<MarkdownToJSX.Options | undefined> | undefined. npmjs.com
markdown-to-jsx 9.4.1 breaking changes
- Removed
MarkdownToJSX.HTMLNode.noInnerParse
The noInnerParse property has been replaced with verbatim. Code that sets or reads noInnerParse must switch to verbatim. npmjs.com - Behavior changed
children
Verbatim HTML blocks now have their children fully parsed into the AST. Default renderers still use rawText for verbatim blocks, but custom renderers reading children will now see parsed content. github.com
And 2 more in this version.
markdown-to-jsx 9.4.0 breaking changes
- Behavior changed
Array, object and boolean JSX attribute values are now parsed rather than always passed as strings, so code that treats them as strings must check the type or use the new rawAttrs field. github.com - Signature changed
MarkdownToJSX.Options
Was type Options = Partial<{createElement: (tag: Parameters<CreateElement>[0], props: React.JSX.IntrinsicAttributes, ...children: React.ReactNode[]) => React.ReactNode; disableAutoLink: boolean; disableParsingRawHTML: boolean; tagfilter?... npmjs.com
markdown-to-jsx 9.3.3 breaking changes
- Behavior changed
Autolink parsing now applies stricter angle-bracket controls and rejects domains containing underscores, so text that was linked before may no longer render as a link. Check any content that relied on the looser matching. github.com
markdown-to-jsx 9.3.0 breaking changes
- Removed
react:htmlAttrsToJSXProps
htmlAttrsToJSXProps was removed in markdown-to-jsx 9.3.0 npmjs.com - Behavior changed
The compiler no longer mutates the AST or options objects, which fixes unexpected side effects when reusing objects. Code that relied on the mutated state may need review. github.com
And 7 more in this version.
markdown-to-jsx 9.1.0 breaking changes
- Signature changed
MarkdownToJSX.Options
Was type Options = Partial<{createElement: (tag: Parameters<CreateElement>[0], props: React.JSX.IntrinsicAttributes, ...children: React.ReactNode[]) => React.ReactNode; disableAutoLink: boolean; disableParsingRawHTML: boolean; tagfilter?... npmjs.com
markdown-to-jsx 9.0.0 breaking changes
- Removed
The peer dependency is now React 16 or later, and single children and null are returned without wrapper elements. github.com - Removed
MarkdownToJSX.CodeFencedNode
MarkdownToJSX.CodeFencedNode was removed in markdown-to-jsx 9.0.0 npmjs.com
And 61 more in this version.
markdown-to-jsx 8.0.0 breaking changes
- Removed
MarkdownToJSX.BoldTextNode
MarkdownToJSX.BoldTextNode was removed in markdown-to-jsx 8.0.0 npmjs.com - Removed
MarkdownToJSX.ItalicTextNode
MarkdownToJSX.ItalicTextNode was removed in markdown-to-jsx 8.0.0 npmjs.com
And 26 more in this version.
markdown-to-jsx 7.7.14 breaking changes
- Signature changed
compiler
Was function compiler(markdown?: string, options?: MarkdownToJSX.Options): React.JSX.Element; now function compiler(markdown: string, options: MarkdownToJSX.Options & {wrapper: null;}): React.ReactNode[] function compiler(markdown: string... npmjs.com - Signature changed
MarkdownToJSX.RuleOutput
Was type RuleOutput = (ast: MarkdownToJSX.ParserResult | MarkdownToJSX.ParserResult[], state: MarkdownToJSX.State) => React.JSX.Element; now type RuleOutput = (ast: MarkdownToJSX.ParserResult | MarkdownToJSX.ParserResult[], state... npmjs.com
markdown-to-jsx 7.7.12 breaking changes
- Behavior changed
Text containing double spaces is no longer split into separate chunks unless a newline follows them, so rendered output may differ for existing content. github.com
markdown-to-jsx 7.7.9 breaking changes
- Signature changed
MarkdownToJSX.State
Was type State = {inAnchor?: boolean; inline?: boolean; inTable?: boolean; key?: React.Key; list?: boolean; prevCapture?: string; simple?: boolean;}; now type State = {inAnchor?: boolean; inHTML?: boolean; inline?: boolean; inTable?... npmjs.com
markdown-to-jsx 7.7.8 breaking changes
- Removed
MarkdownToJSX.Rule.match
MarkdownToJSX.Rule.match was removed in markdown-to-jsx 7.7.8 npmjs.com - Removed
MarkdownToJSX.Rule.order
MarkdownToJSX.Rule.order was removed in markdown-to-jsx 7.7.8 npmjs.com
And 3 more in this version.
markdown-to-jsx 7.7.7 breaking changes
- Behavior changed
Text spaces are now a stop token, and paragraph detection excludes non-ATX-compliant headings when the relevant option is enabled. Code relying on the previous parsing of such input may render differently. github.com
markdown-to-jsx 7.7.6 breaking changes
- Behavior changed
More attributes are now sanitized by default to address XSS vectors, so markup that previously passed through unchanged may now be altered. Review any code that relies on raw attribute output. github.com - Signature changed
sanitizer
Was function sanitizer(url: string): string; now function sanitizer(input: string): string. npmjs.com
markdown-to-jsx 7.7.5 breaking changes
- Behavior changed
Backslash escapes inside fenced code blocks are now kept as written instead of being unescaped. Check rendered code blocks that relied on the old unescaping. github.com - Signature changed
compiler
Was function compiler(markdown?: string, options?: MarkdownToJSX.Options): JSX.Element; now function compiler(markdown?: string, options?: MarkdownToJSX.Options): React.JSX.Element. npmjs.com
markdown-to-jsx 7.7.2 breaking changes
- Behavior changed
The package now uses ReactNode instead of ReactChild in its types for React 19 compatibility; code relying on the old ReactChild type may need adjustment. github.com - Signature changed
MarkdownToJSX.Options
Was type Options = Partial<{createElement: (tag: Parameters<CreateElement>[0], props: React.JSX.IntrinsicAttributes, ...children: React.ReactChild[]) => React.ReactChild; disableAutoLink: boolean; disableParsingRawHTML: boolean... npmjs.com
And 4 more in this version.
markdown-to-jsx 7.7.1 breaking changes
- Signature changed
MarkdownToJSX.RuleOutput
Was type RuleOutput = (ast: MarkdownToJSX.ParserResult | MarkdownToJSX.ParserResult[], state: MarkdownToJSX.State) => JSX.Element; now type RuleOutput = (ast: MarkdownToJSX.ParserResult | MarkdownToJSX.ParserResult[], state... npmjs.com
markdown-to-jsx 7.7.0 breaking changes
- Behavior changed
Pipe characters inside arbitrary HTML in table rows are no longer treated as table separators. If you need a literal pipe that is not a separator, escape it or wrap it in backticks. github.com - Behavior changed
When processing inline HTML, ref attributes are now dropped instead of being passed through. Code that relied on refs from inline HTML will no longer receive them. github.com
And 7 more in this version.
markdown-to-jsx 7.6.2 breaking changes
- Behavior changed
A fenced code block with no closing fence is now parsed as a code block rather than as plain text. Check rendered output that relied on the old handling of unclosed fences. github.com
markdown-to-jsx 7.6.0 breaking changes
- Behavior changed
options.disableAutoLink
Bare URLs are still converted to anchor tags by default; set disableAutoLink to true to render them as plain text. github.com - Signature changed
MarkdownToJSX.Options
Was type Options = Partial<{createElement: (tag: Parameters<CreateElement>[0], props: JSX.IntrinsicAttributes, ...children: React.ReactChild[]) => React.ReactChild; disableParsingRawHTML: boolean; enforceAtxHeadings: boolean; forceBlock... npmjs.com
And 1 more in this version.
markdown-to-jsx 7.5.1 breaking changes
- Signature changed
MarkdownToJSX.State
Was type State = {inAnchor?: boolean; inline?: boolean; inTable?: boolean; key?: React.Key; list?: boolean; simple?: boolean;}; now type State = {inAnchor?: boolean; inline?: boolean; inTable?: boolean; key?: React.Key; list?: boolean... npmjs.com
markdown-to-jsx 7.5.0 breaking changes
- Removed
RuleType.blockQuote
RuleType.blockQuote was removed in markdown-to-jsx 7.5.0 npmjs.com - Removed
RuleType.breakLine
RuleType.breakLine was removed in markdown-to-jsx 7.5.0 npmjs.com
And 70 more in this version.
markdown-to-jsx 7.4.7 breaking changes
- Signature changed
MarkdownToJSX.Rules
Was type Rules = {[K in ParserResult['type']]: Rule<Extract<ParserResult, {type: K;}>>;}; now type Rules = {[K in ParserResult['type']]: K extends RuleType.table ? Rule<Extract<ParserResult, {type: K | RuleType.paragraph;}>>... npmjs.com
markdown-to-jsx 7.4.4 breaking changes
- Default changed
children
If no content is passed, children now defaults to an empty string instead of being left unset. Code that checks for undefined children may need to change. github.com - Signature changed
compiler
Was function compiler(markdown: string, options?: MarkdownToJSX.Options): JSX.Element; now function compiler(markdown?: string, options?: MarkdownToJSX.Options): JSX.Element. npmjs.com
markdown-to-jsx 7.4.1 breaking changes
- Signature changed
MarkdownToJSX.Options
Was type Options = Partial<{createElement: (tag: Parameters<CreateElement>[0], props: JSX.IntrinsicAttributes, ...children: React.ReactChild[]) => React.ReactChild; disableParsingRawHTML: boolean; enforceAtxHeadings: boolean; forceBlock... npmjs.com - Signature changed
MarkdownToJSX.Options.renderRule
Was renderRule: (next: () => React.ReactChild, node: ParserResult, renderAST: RuleOutput, state: State) => React.ReactChild; now renderRule: (next: () => React.ReactChild, node: ParserResult, renderChildren: RuleOutput, state: State) =>... npmjs.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.