NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
HTML language support for the CodeMirror code editor
Last release 2 months ago
04 Aug 2026
Ships unpredictably
gaps range from 3 weeks to 1.4 years
Nearly every release is documented
notes for 32 of 32 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
32 releases · first in 2020
One column per quarter.
Don't prevent auto-closing of tags when there's a matching close tag that belongs to a parent node present.
Don't prevent auto-closing of tags when there's a matching close tag that belongs to a parent node present.
Adjust autocompletion to work with @lezer/html's improved handling of < characters without tag name after them.
Adjust autocompletion to work with @lezer/html's improved handling of < characters without tag name after them.
Don't include period characters in the language's word characters.
Don't include period characters in the language's word characters.
Fix a bug in autoCloseTags that made tags not close when typing > after an attribute.
Fix a bug in autoCloseTags that made tags not close when typing > after an attribute.
Complete attribute names after whitespace in a tag even when completion isn't explicitly triggered.
Complete attribute names after whitespace in a tag even when completion isn't explicitly triggered.
Parse script tags with application/json type as JSON syntax.
Parse script tags with application/json type as JSON syntax.
autoCloseTags now generates two separate transactions, so that the completion can be undone separately.
autoCloseTags now generates two separate transactions, so that the completion can be undone separately.
Add highlighting for the content of <script> tags with a type of importmap or speculationrules.
Fix a bug where HTML autocompletion didn't work when the cursor was at the end of a bit of HTML code inside a mixed-language document.
Fix a bug where HTML autocompletion didn't work when the cursor was at the end of a bit of HTML code inside a mixed-language document.
Fix a bug where the completed tag names didn't take into account the parent node's declared children in the schema in some circumstances.
Fix a bug where the completed tag names didn't take into account the parent node's declared children in the schema in some circumstances.
Fix a bug that could cause some nested language regions to be parsed multiple times.
Fix a bug that could cause some nested language regions to be parsed multiple times.
Fix an issue where autoCloseTags would close self-closing tags when typed directly in front of a word.
Fix an issue where autoCloseTags would close self-closing tags when typed directly in front of a word.
Use only the tag name for matching of opening and closing tags.
Use only the tag name for matching of opening and closing tags.
Directly depend on @lang/css 1.1.0, since we're using a new top rule name introduced in that.
Directly depend on @lang/css 1.1.0, since we're using a new top rule name introduced in that.
Add a globalAttrs property to (completion) TagSpec objects that controls whether global attributes are completed in that tag.
Remove incorrect pure annotation that broke the code after tree-shaking.
Remove incorrect pure annotation that broke the code after tree-shaking.
Parse type=text/babel script tags as JSX.
Parse type=text/babel script tags as JSX.
The new nestedLanguages option can be used to configure how the content of script, style, and textarea tags is parsed.
The content of style attributes will now be parsed as CSS, and the content of on[event] attributes as JavaScript. The new nestedAttributes option can be used to configure the parsing of other attribute values.
Add a selfClosingTags option to html that enables /> syntax.
Add a selfClosingTags option to html that enables /> syntax.
Parse the content of text/javascript or lang=ts script tags as TypeScript, use JS for text/jsx, and TSX for text/typescript-jsx.
Parse the content of text/javascript or lang=ts script tags as TypeScript, use JS for text/jsx, and TSX for text/typescript-jsx.
Remove deprecated HTML tags from the completions.
Remove deprecated HTML tags from the completions.
Make tag auto-closing consume > characters after the cursor.
Make tag auto-closing consume > characters after the cursor.
Properly list the dependency on @codemirror/view in package.json.
Properly list the dependency on @codemirror/view in package.json.
It is now possible to pass in options to extend the set of tags and attributes provided by autocompletion.
It is now possible to pass in options to extend the set of tags and attributes provided by autocompletion.
### Breaking changes Update dependencies to 6.0.0
Update dependencies to 6.0.0
Autocompletion now suggests the and elements.
Autocompletion now suggests the <template> and <slot> elements.
Fix an issue where autoclosing a tag directly in front of alphanumeric text would include nonsense text in the completed tag name.
Fix an issue where autoclosing a tag directly in front of alphanumeric text would include nonsense text in the completed tag name.
The package now exports a completion source function, rather than a prebuilt completion extension.
The package now exports a completion source function, rather than a prebuilt completion extension.
Use more specific highlighting tags for attribute names and values.
The new autoCloseTags extension (included by default in html()) finishes closing tags when you type a > or / character.
The new autoCloseTags extension (included by default in html()) finishes closing tags when you type a > or / character.
Fix incorrect versions for @lezer dependencies.
Fix incorrect versions for @lezer dependencies.
Improve autocompletion in/after unclosed opening tags.
Improve autocompletion in/after unclosed opening tags.
html() now takes a matchClosingTags option to turn off closing tag matching.
Fix an issue where the completer would sometimes try to complete an opening tag to its own close tag.
Fix an issue where the completer would sometimes try to complete an opening tag to its own close tag.
Fix a bug that would sometimes produce the wrong indentation in HTML elements.
Fix a bug that broke tag-specific attribute completion in tags like <input> or <script>.
Move a new version of lezer-html which solves some issues with autocompletion.
Improves indentation at end of implicitly closed elements.
Improves indentation at end of implicitly closed elements.
The package now also exports a CommonJS module.
The package now also exports a CommonJS module.
### Breaking changes First numbered release.
First numbered release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →