NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev
Build HTML AST's and render them to HTML. This can be used as an internal DSL, i.e. for a templating engine.
Latest stable
6.0.0
Last release 26 days ago
27 Oct 2026
Ships fairly regularly
a new release about every 7 months
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
12 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Breaking: Text and attribute values are HTML-escaped when rendered, except text inside and . Use raw for HTML that must be written as-is, and stop esc
<script> and <style>. Use raw for HTML that must be written as-is, and stop escaping values yourself, or they will be escaped twice.col, keygen and wbr create self-closing nodes and no longer take children, and iframe creates a node with a closing tag and takes children.Node('br') no longer equals SelfClosingNode('br'), and TextNode equality is symmetric.NodeBuilder.build and rebuild take a nullable selfClosing. When it is omitted, a builder made with NodeBuilder.from keeps whether the node was self-closing, instead of always creating a Node.RawNode and the raw helper, for HTML that is rendered without escaping.data, hgroup, meter, search, slot and template helpers.abbr renders <abbr> instead of <addr>.article takes id, and its className and style accept any attribute value, like the other helpers.addClass no longer adds a class that is already present.rebuild and rebuildRecursive keep text nodes and self-closing nodes, instead of turning them into empty elements.html5 option of StringRenderer is described correctly: true renders <br>, and false renders <br/>.Instance of 'Node'.Your coding agent can read these notes before it upgrades. Set up the MCP server →
* Require Dart >= 3.13
* Require Dart >= 3.8
* Require Dart >= 3.5 * Updated lints to 5.0.0
lints to 5.0.0* Require Dart >= 3.3 * Updated lints to 4.0.0
lints to 4.0.0* Updated lints to 3.0.0
lints to 3.0.0* Require Dart >= 3.0
* Require Dart >= 3.0
* Require Dart >= 2.17 * Added hashCode
* Fixed license link
* Update broken link in pubspec
Upgraded from pendantic to lints linter
pendantic to lints linterbelatuk_html_builder packageOne column per quarter.