NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
lezer-based HTML grammar
Last release 9 months ago
22 Dec 2025
Ships unpredictably
gaps range from 8 days to 1.3 years
Nearly every release is documented
notes for 23 of 23 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
23 releases · first in 2021
One column per quarter.
Set the bracketed flag for nested parses inside quotes or tags.
Set the bracketed flag for nested parses inside quotes or tags.
Emit tokens for < characters without tag name, so that autocompletion can work with them.
Emit tokens for < characters without tag name, so that autocompletion can work with them.
Emit tokens for < characters without tag name, so that autocompletion can work with them.
Don't parse < followed by whitespace as the start of a tag.
Don't parse < followed by whitespace as the start of a tag.
Fix an issue that broke attribute reading when defining a nested language on a tag that isn't a style , textearea , or script tag.
Fix an issue that broke attribute reading when defining a nested language on a tag that isn't a style, textearea, or script tag.
When using the "selfClosing" dialect, fix parse errors for <br/> (tags that implicitly self-close) and <script/> (special tags).
When using the "selfClosing" dialect, fix parse errors for <br/> (tags that implicitly self-close) and <script/> (special tags).
When using the "selfClosing" dialect, fix parse errors for <br/> (tags that implicitly self-close) and <script/> (special tags).
Add bidiIsolate node props for tags, comments, and attributes.
Add bidiIsolate node props for tags, comments, and attributes.
Mark tags, attributes, and comments as isolating for bidirectional text.
Fix a bug that caused the parser to not properly recognize empty HTML comments. Don't emit nested parses for empty elements in configureNesting
Fix a bug that caused the parser to not properly recognize empty HTML comments. Don't emit nested parses for empty elements in configureNesting
Fix an issue where configureNesting could emit empty overlay ranges for empty elements.
Improve parsing of multiple unfinished opening tags by disallowing less-than characters in attribute names.
Improve parsing of multiple unfinished opening tags by disallowing less-than characters in attribute names.
Make the package work with new TS resolution styles.
Make the package work with new TS resolution styles.
Fix a bug that caused mixed parsing of non-style/script elements to attach the nested parse tree to the incorrect node.
Fix a bug that caused mixed parsing of non-style/script elements to attach the nested parse tree to the incorrect node.
Make sure build output is strictly ES6 again.
Make sure build output is strictly ES6 again.
Fix a crash caused by nexted parsing of attributes returning invalid ranges for attributes missing their closing quote.
Fix a crash caused by nexted parsing of attributes returning invalid ranges for attributes missing their closing quote.
Always allow self-closing tags in and tags.
Always allow self-closing tags in <svg> and <math> tags.
configureNesting now supports targeting tags other than style, script, and textarea.
configureNesting now supports targeting tags other than style, script, and textarea.
configureNesting now takes a second argument that can be used to specify that the value of some attributes should be parsed with an external parser.
configureNesting now takes a second argument that can be used to specify that the value of some attributes should be parsed with an external parser.
Align allowed characters in unquoted attribute values with the spec. Replace another unicode escape with a character
Align allowed characters in unquoted attribute values with the spec. Replace another unicode escape with a character
Allow more characters in attribute names, following HTML spec.
Allow more characters in attribute names, following HTML spec.
The new "selfClosing" dialect allows /> syntax to be used to create self-closing tags.
Continue parsing when an invalid entity reference appears in an attribute value.
Continue parsing when an invalid entity reference appears in an attribute value.
### New features First stable version.
First stable version.
Fix a bug where comment end tokens preceded by dashes were sometimes not recognized.
Fix a bug where comment end tokens preceded by dashes were sometimes not recognized.
Move to 0.16 serialized parser format.
Move to 0.16 serialized parser format.
The parser now includes syntax highlighting information in its node types.
Make sure the tree for unfinished self-closing tags shows them as self-closing.
Make sure the tree for unfinished self-closing tags shows them as self-closing.
The module's name changed from lezer-html to @lezer/html.
The module's name changed from lezer-html to @lezer/html.
Upgrade to the 0.15.0 lezer interfaces.
Your coding agent can read these notes before it upgrades. Set up the MCP server →