NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #4549 most downloaded on pub.dev
A library for manipulating pubspec.yaml files. This is a place holder until the pubspec library is updated with PR
Latest stable
4.0.1
Last release 25 days ago
28 Oct 2026
Release timing varies
gaps range from 3 weeks to 3.3 years
Nearly every release is documented
notes for 7 of 7 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
8 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
pubspec2 4.0.1 security release
pubspec2 4.0.1 security release
PubSpec.fromYaml accepts an already loaded map and only guards conversion.Your coding agent can read these notes before it upgrades. Set up the MCP server →
breaking change - load and save now take the directory path as a String rather than a Directory.
breaking change in ExternalHostedReference ctor. bool argument verboseFormat is now a named parameter.
improvements to the type system
removed dependency on package uri as we aren't using it.
changed the barrel file name to pubspec2.dart to confirm with dart conventions. You will need to update your imports to package:pubspec2/pubspec2.dart
CRITICAL: fixed a critical bug in the 'save' method. We were not flushing the ioSink before calling close with the result that we would often end up w
Change the sdk constraint according to the guide lines. renamed pubspec.dart to pubspec.dart
Change the sdk constraint according to the guide lines. renamed pubspec.dart to pubspec.dart
One column per quarter.