NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1279 most downloaded on pub.dev
A Dart Circular Buffer container based on List with a fixed capacity.
Last release 6 months ago
12 Apr 2026
Release timing varies
gaps range from 1 weeks to 2.4 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
10 releases · first in 2018
Removed deprecated reset() method (deprecated since 0.12.0, use clear() instead).
addHead to correctly drop the tail element when the buffer is full.reset() method (deprecated since 0.12.0, use clear() instead).insert() now explicitly throws UnsupportedError.CircularBuffer.of([]) and CircularBuffer.of([], 1) now throw AssertionError (capacity must be > 1).clear() releases references for garbage collection.Deprecated reset method in favor of clear.
addHead method.reset method in favor of clear.One column per quarter.
Fixed incorrect buffer state when adding items after calling reset.
Fixed incorrect buffer state when adding items after calling reset.
Made clear be an alias to reset instead of throwing an error.
Fixed to work with nullable element types.
Simplified the implementation.
Added a CircularBuffer.of(List list, [int? capacity]) constructor.
CircularBuffer.of(List<T> list, [int? capacity]) constructor.Added documentation to CircularBuffer class
CircularBuffer classMigrated to null-safety (thanks to @shyndman)
The CircularBuffer minimum capacity is 2
CircularBuffer minimum capacity is 2- Use ListMixin.
ListMixin.- Migration to Dart 2. - Added forEach method.
A circular buffer made in Dart 1.
Your coding agent can read these notes before it upgrades. Set up the MCP server →