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
On this page
Latest version 1.2.0, released December 1, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 1.0.0-next.1 to 1.0.0: 27 breaking changes in 4 versions.
mdsvex 1.0.0 breaking changes
- Removed
'*.svelte.md'
'*.svelte.md' was removed in mdsvex 1.0.0 npmjs.com - Removed
'*.svx'
'*.svx' was removed in mdsvex 1.0.0 npmjs.com - Removed
code_highlighter
code_highlighter was removed in mdsvex 1.0.0 npmjs.com - Removed
defineMDSveXConfig
defineMDSveXConfig was removed in mdsvex 1.0.0 npmjs.com - Removed
escapeSvelte
escapeSvelte was removed in mdsvex 1.0.0 npmjs.com - Removed
MdsvexCompileOptions
MdsvexCompileOptions was removed in mdsvex 1.0.0 npmjs.com - Removed
MdsvexLanguage
MdsvexLanguage was removed in mdsvex 1.0.0 npmjs.com - Signature changed
compile
Was const _compile: (source: string, opts?: MdsvexCompileOptions) => Promise<PreprocessorReturn>; now function render(source: string, options?: CompileOptions): CompileResult. npmjs.com - Signature changed
mdsvex
Was const mdsvex: (options?: MdsvexOptions) => Preprocessor; now function mdsvex(options?: MdsvexOptions): Plugin[]. npmjs.com - Signature changed
MdsvexOptions
Was interface MdsvexOptions; now interface MdsvexOptions extends SyntaxOptions, HeadingOptions, SmartOptions. npmjs.com - Signature changed
MdsvexOptions.highlight
Was highlight?: HighlightOptions | false; now highlight?: PluginHighlightOptions | Highlighter | false. npmjs.com
mdsvex 1.0.0-next.6 breaking changes
- 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
mdsvex 1.0.0-next.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 - 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 - 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
mdsvex 1.0.0-next.2 breaking changes
- Removed
load
The load meta prop of a fence is gone. Use run=client to receive the load function instead. github.com - Removed
module
The module meta prop of a fence is gone. Code that reads it from a fence must change. github.com - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
And 2 more in this version. Sign up to see every change
mdsvex 1.0.0-next.1 breaking changes
- Renamed
parsePlugins
The parsePlugins option is now parse_plugins, so update option names in your config. github.com - 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 - 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 - Behavior changed
sourceOffsets
Read sourceOffsets, generatedOffsets, lengths and data directly; spreading a mapping no longer copies them. 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.