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

# mdsvex breaking changes

mdsvex 1.0.0 (November 19, 2026) is its newest release with breaking changes, 11 of them. The first: Removed '\*.svelte.md'. Every breaking API change we have recorded in mdsvex on npm: 31 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.0`, released December 1, 2026. [Source repository](https://github.com/pngwn/MDsveX)

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

- From [1.0.0-next.1](#v-1-0-0-next-1) to [1.0.0](#v-1-0-0): 27 breaking changes in 4 versions.

## mdsvex 1.0.0 breaking changes

mdsvex 1.0.0, released November 19, 2026: 11 breaking changes.

- **Removed** `'*.svelte.md'`  

'\*.svelte.md' was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Removed** `'*.svx'`  

'\*.svx' was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Removed** `code_highlighter`  

code_highlighter was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Removed** `defineMDSveXConfig`  

defineMDSveXConfig was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Removed** `escapeSvelte`  

escapeSvelte was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Removed** `MdsvexCompileOptions`  

MdsvexCompileOptions was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Removed** `MdsvexLanguage`  

MdsvexLanguage was removed in mdsvex 1.0.0 [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Signature changed** `compile`  

Was const \_compile: (source: string, opts?: MdsvexCompileOptions) => Promise\<PreprocessorReturn>; now function render(source: string, options?: CompileOptions): CompileResult. [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Signature changed** `mdsvex`  

Was const mdsvex: (options?: MdsvexOptions) => Preprocessor; now function mdsvex(options?: MdsvexOptions): Plugin\[\]. [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Signature changed** `MdsvexOptions`  

Was interface MdsvexOptions; now interface MdsvexOptions extends SyntaxOptions, HeadingOptions, SmartOptions. [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)
- **Signature changed** `MdsvexOptions.highlight`  

Was highlight?: HighlightOptions | false; now highlight?: PluginHighlightOptions | Highlighter | false. [npmjs.com](https://www.npmjs.com/package/mdsvex/v/1.0.0)

## mdsvex 1.0.0-next.6 breaking changes

mdsvex 1.0.0-next.6, released November 19, 2026: 1 breaking change.

- **Signature changed** `select_template`  

The select_template callback gets the file path as its first argument, followed by metadata, matching the Vite plugin. The path comes from the filename option and is undefined without one; update callbacks that expected the old order. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.6)

## mdsvex 1.0.0-next.3 breaking changes

mdsvex 1.0.0-next.3, released November 19, 2026: 3 breaking changes.

- **Behavior changed**  

A directive has one owner. Plugins that bind the same directive name now throw a DirectiveOwnerError at setup instead of the later plugin silently taking the name; rename one of them. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.3)
- **Behavior changed** `import_images`  

With enhancedImages() in the Vite plugins and @sveltejs/enhanced-img installed, images are imported with ?enhanced and rendered inside a picture element. Selectors such as p > img stop matching; set import_images: { enhanced: false } to... [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.3)
- **Behavior changed** `meta.attributes`  

The attributes of an HTML node's metadata are now built on first read, so spreading the metadata, Object.keys and Object.entries no longer include them. Read meta.attributes directly. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.3)

## mdsvex 1.0.0-next.2 breaking changes

mdsvex 1.0.0-next.2, released November 19, 2026: 12 breaking changes.

- **Removed** `load`  

The load meta prop of a fence is gone. Use run=client to receive the load function instead. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Removed** `module`  

The module meta prop of a fence is gone. Code that reads it from a fence must change. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Removed** `run`  

The run flag is no longer read as a meta prop of a fence. Use the run word in the fence info string as the document describes. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed**  

A code span wrapped in dollars is rendered as math instead of shown as code. Use math: false to keep the previous output. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed**  

A fence marked math is rendered as math rather than shown as a code block. Use the latex fence if you need the code shown. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed**  

A line that is exactly ::word or :::word is now a directive and fails the compile without a matching component or plugin. Escape the first colon to keep such a line as text. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed**  

A bracketed caret label in prose is now a footnote reference and fails the build if it has no definition. Escape the bracket or place the text in code to keep it as text. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed**  

A directive handler of a parse plugin in mdsvex now runs at the open of the directive instead of waiting for its close. Plugins that read the name at close must read it at open. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed** `ctx.data`  

Assigning to ctx.data now throws a TypeError. Use ctx.set(key, value) or ctx.add(key, value) to write plugin data. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)
- **Behavior changed** `heading_ids`  

A fixed id that an earlier element already has now raises a HeadingIdError. Rename the clashing id in the document. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.2)

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

## mdsvex 1.0.0-next.1 breaking changes

mdsvex 1.0.0-next.1, released November 19, 2026: 4 breaking changes.

- **Renamed** `parsePlugins`  

The parsePlugins option is now parse_plugins, so update option names in your config. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.1)
- **Behavior changed** `mdsvex`  

A directive with no component and no plugin handler now fails the compile with a DirectiveError instead of rendering its children. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.1)
- **Behavior changed** `pre`  

A replaced pre now gets the whole pre element as children and code is the visible text, so components relying on the old props may change. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.1)
- **Behavior changed** `sourceOffsets`  

Read sourceOffsets, generatedOffsets, lengths and data directly; spreading a mapping no longer copies them. [github.com](https://github.com/pngwn/MDsveX/releases/tag/mdsvex%401.0.0-next.1)

## 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.
