NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev
An advanced StringBuffer geared toward generating code, and source maps.
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: length matches the length of toString(). It now counts indentation, the full newline sequence and the trailing newline, and no longer counts
length matches the length of toString(). It now counts indentation, the full newline sequence and the trailing newline, and no longer counts a line break after the last line. Span offsets follow the same rule, so each one is the position of its text in toString(). With trailingNewline, an empty buffer has a length of newline.length, although isEmpty is true.writeln() with nothing on the current line adds a blank line, without indentation, instead of being dropped from the output. On an empty buffer it adds one, so isEmpty becomes false even though toString() is still empty.copyInto get consecutive line numbers and correct offsets, including when the target buffer is empty or its last line has already been ended.lastSpan of a copied line keeps its position within the line, even when the same text appears earlier in the line.sourceMappings are copied with each line, unchanged, instead of being dropped.writeCharCode counts a character outside the Basic Multilingual Plane, such as an emoji, as two code units.clear() resets lastLine.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
* Fixed license link
* Updated README
Upgraded from pendantic to lints linter
pendantic to lints linterbelatuk_code_buffer packageOne column per quarter.