NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev
Range header parser for Dart. Beyond parsing, a stream transformer is included.
Latest stable
7.0.0
Last release 26 days ago
27 Oct 2026
Ships fairly regularly
a new release about every 6 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: RangeHeader.parse rejects a range that ends before it starts, such as bytes=10-5, and text after the last range, such as bytes=0-10 20, with
RangeHeader.parse rejects a range that ends before it starts, such as bytes=10-5, and text after the last range, such as bytes=0-10 20, with a RangeHeaderParseException.RangeHeaderTransformer writes ranges in order of their position in the input and merges overlapping ones, leaves out ranges that start past the end of the input, and cuts back ranges that end past it.RangeHeaderTransformer constructor throws an ArgumentError when none of the ranges can be satisfied, so the server can respond with 416 Range Not Satisfiable.totalFileSize argument of computeContentLength is optional, and it throws an ArgumentError if it differs from totalLength.toContentRange writes * for the total size when none is given, and throws when the range's start or end is unknown.overlaps no longer reports disjoint ranges as overlapping, so bytes=5-10,0-2 stays two ranges, and a range inside another is merged in either order.bytes=0-600,500-, keeps the open end.RangeHeader.parse honours fold: false.toContentRange gives the last bytes of the total for a suffix range, such as -500, and cuts an end past the last byte back to it.bytes=-500, returns the last bytes of the input, not the first.Content-Range header of each part no longer repeats the total size.computeContentLength matches the number of bytes written.totalLength fails the output stream and closes it, instead of leaving it open forever, and the input is no longer read after the last range.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* Updated file to 7.0.0
file to 7.0.0Updated all dependencies to latest
* Require Dart >= 3.0
* Require Dart >= 2.17
* Fixed license link
Upgraded from pendantic to lints linter
pendantic to lints linterbelatuk_range_header packageOne column per quarter.