NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #23 most downloaded on pub.dev
Simple package for parsing pubspec.yaml files with a type-safe API and rich error reporting.
Latest stable
1.7.0
Last release 1 months ago
21 Oct 2026
Release timing varies
gaps range from 3 weeks to 1.6 years
Nearly every release is documented
notes for 23 of 23 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
23 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Added tagPattern and version fields to GitDependency , to support the tag_pattern key for git dependencies introduced in Dart 3.9.
tagPattern and version fields to GitDependency, to support thetag_pattern key for git dependencies introduced in Dart 3.9.Pubspec.fromJson with lenient: true to preserve the input MapYamlMap) when name is invalid or missing.Map (YamlMap) keys and spans when git or hostedPubspec.fromJson is called withYamlMap Map.Pubspec: falseSecrets, hooks, platforms.version to PathDependency, exposing the constraint from anversion key instead of silently discarding it.Added toJson method to Pubspec to serialize the object back to a Map .
toJson method to Pubspec to serialize the object back to a Map.HostedDetails.url as a non-git URI.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Added fields to Pubspec: executables, resolution, workspace.
Pubspec: executables, resolution, workspace.Remove deprecated package_api_docs rule
Dependency class.Pubspec.environment to non-nullable.dart-lang/tools monorepo.Added support for ignored_advisories field.
ignored_advisories field.Dependency subclasses and HostedDetails.- Added topics to pubspec.yaml.
pubspec.yaml.Required json_annotation: ^4.8.0
json_annotation: ^4.8.0topics field.Added support for funding field.
funding field.Sort the primary package entry point ( package:<pkg>/<pkg>.dart ) first and @experimental public entry points after stable public entry points so shar
package:<pkg>/<pkg>.dart) first and@experimental public entry points after stable public entry points so shared(see above) inpackagePath arguments (such as '.') in apiSummary.screenshots field.HostedDetails to reflect how hosted dependencies are parsed in
Dart 2.15:
HostedDetails.declaredName as the (optional) name property in a
hosted block.HostedDetails.name now falls back to the name of the dependency if no
name is declared in the block.Added expectApiSummaryClean , ApiSummaryFormat , and ApiSummaryVerificationException to support one-liner golden file verification in dart test (e.g.
expectApiSummaryClean, ApiSummaryFormat, andApiSummaryVerificationException to support one-liner golden file verificationdart test (e.g. test('api_summary', expectApiSummaryClean);).--write (-w), --check (-c), and --output (-o) flags to theapi_summary CLI executable.deepCopyLinks argument to copyPath and copyPathSync.@visibleForTesting annotation from SharedStdIn.SharedStdIn.new.
AnsiCode and AnsiCodeType marked final. ThesefinalInitial stable release.
author and authors are both now deprecated.
See https://dart.dev/tools/pub/pubspec#authorauthorsAllow the latest package:pub_semver.
package:pub_semver.- Allow package:yaml v3.x.
package:yaml v3.x.Update SDK requirement to >=2.7.0 <3.0.0.
>=2.7.0 <3.0.0.package:json_annotation v4.x.Update SDK requirement to >=2.2.0 <3.0.0.
>=2.2.0 <3.0.0.package:json_annotation.Added lenient named argument to Pubspec.fromJson to ignore format and type errors.
lenient named argument to Pubspec.fromJson to ignore format and type errors.Added support for flutter, issue_tracker, publish_to, and repository fields.
flutter, issue_tracker, publish_to, and repository
fields.Allow superfluous version keys with git and path dependencies.
version keys with git and path dependencies.sdk dependency values.[user@]host.xz:path/to/repo.git/.Support the Dart 2 stable release.
Support package:json_annotation v1.
package:json_annotation v1.Support the latest version of package:json_annotation.
package:json_annotation.Fixed name collision with error type in latest package:json_annotation.
package:json_annotation.- Initial release.
One column per quarter.