npm / @inlang/plugin-m-function-matcher
@inlang/plugin-m-function-matcher
What changed in @inlang/plugin-m-function-matcher 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
13 new APIs and options1 tooling2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@inlang/plugin-m-function-matcher 216 changes
New APIs and options 13
Plugins can implement this API to analyze usage; the m-function matcher supports ESM JavaScript, JSX, TypeScript, TSX, and Svelte, and withholds unused diagnostics and deletion fixes when analysis is unresolved.
Adds a browser-compatible API for applying serializable fixes; deletion fixes rerun usage analysis and verify the bundle revision in an atomic transaction.
Adds a synchronous check for one in-memory bundle, for editors that keep bundles in memory.
Adds a browser-compatible API for checking missing and empty translations, translation issues against a reference locale, unused messages, and usage locations.
Adds translation checks for unsaved input.
Adds a browser-compatible API for finding usage locations, including source references for code previews and find-references workflows.
Exports selector rules behind missing-variant checks for use by editors.
Exports selector rules behind missing-variant checks for use by editors.
Analyzers can return source references, which findUsages exposes for code previews and find-references workflows.
Exports selector rules behind missing-variant checks for use by editors.
Exports selector rules behind missing-variant checks for use by editors.
Adds an optional end position to UsageIssue, using 1-based lines and 0-based columns, and passes it through checkProject and findUsages.
Adds an optional start position to UsageIssue, using 1-based lines and 0-based columns, and passes it through checkProject and findUsages.
Tooling 1
TypeScript declarations and explicit type exports are published for official plugins, making their types available to consumers.
Fixes and other changes 2
The matcher reports one issue per unresolved construct in source order, rather than one issue per reason and file, and issues can locate the incomplete construct.
Matches m() references in Vue templates and before imports, fixing missed references in those locations.