- Added
tagPatternandversionfields toGitDependency, to support the
tag_patternkey for git dependencies introduced in Dart 3.9. - Added a usage example.
- Fix
Pubspec.fromJsonwithlenient: trueto preserve the inputMap
(YamlMap) whennameis invalid or missing. - Preserve nested
Map(YamlMap) keys and spans whengitorhosted
dependency shorthands fail to parse or whenPubspec.fromJsonis called with
a non-YamlMapMap. - Added fields to
Pubspec:falseSecrets,hooks,platforms. - Added
versiontoPathDependency, exposing the constraint from an
accompanyingversionkey instead of silently discarding it.