NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4 most downloaded on pub.dev
A parser for YAML, a human-friendly data serialization standard
Last release 1 months ago
28 Aug 2026
Release timing varies
gaps range from 3 weeks to 1.7 years
Some releases are documented
notes for 31 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
101 releases · first in 2013
Improve recovery for list entries without - prefix. When recovering, provide a more helpful error message suggesting the missing prefix.
- prefix. When recovering, provideEOF were not given an implicit?, :, and -).FormatException when parsing self-referential collections instead ofStackOverflow. Yaml definitions with collections nested within themselvesFix UTF-16 surrogate pair handling in plain scaler.
dart-lang/tools monorepo.One column per quarter.
* Require Dart 2.19 * Added topics in pubspec.yaml.
topics in pubspec.yaml.Populate the pubspec repository field.
repository field.loadYaml and related functions now accept a recover flag instructing the parser to attempt to recover from parse errors and may return invalid or synt
loadYaml and related functions now accept a recover flag instructing the parser
to attempt to recover from parse errors and may return invalid or synthetic nodes.
When recovering, an ErrorListener can also be supplied to listen for errors that
are recovered from.package:charcode.Old functions still exists as deprecated, forwarding to the new functions without the preferNewest argument. Makes PackageConfig , Package and Languag…
findPackageConfigAndFile and findPackageConfigAndUri..packages file..packages files.packages.readAnyConfigFile to readConfigFile, and removedpreferNewest parameter.readAnyConfigFileUri which becomes readConfigFileUri.preferNewest argument.PackageConfig, Package and LanguageVersion @sealed classes,final in a future update.PackageConfig.minVersion to complement .maxVersion.2.Updated to support 2.12.0 and null safety.
YamlNodes to be wrapped with an optional style parameter.sourceUrl named argument is statically typed as Uri
instead of allowing String or Uri.Fix parsing of pre-release and build identifiers to only treat pure-digit base-10 identifiers as integers, treating hexadecimal and signed identifiers
2.4.0.POSSIBLY BREAKING CHANGE: Make YamlMap preserve parsed key order. This is breaking because some programs may rely on the HashMap sort order.
YamlMap preserve parsed key order.
This is breaking because some programs may rely on the
HashMap sort order.Fixed deprecated API usage in README.
Set max SDK version to <3.0.0, and adjust other dependencies.
<3.0.0, and adjust other dependencies.Remove use of deprecated features.
Stop using comment-based generic syntax.
Properly refuse mappings with duplicate keys.
Fix an infinite loop when parsing some invalid documents.
* Support string_scanner 1.0.0.
string_scanner 1.0.0.* Fix all strong-mode warnings.
Remove the dependency on path, since we don't actually import it.
path, since we don't actually import it.* Fix more strong mode warnings.
Fix two analysis issues with DDC's strong mode.
Fix a bug with 2.1.4 where source span information was being discarded for scalar values.
Substantially improve performance.
Add a hint that a colon might be missing when a mapping value is found in the wrong context.
Fix an exception when a subscription to a combineLatest stream is canceled while there is an ongoing asynchronous combine callback.
combineLatest stream is canceledProperly scope SourceSpans for scalar values surrounded by whitespace.
SourceSpans for scalar values surrounded by whitespace.Switched to using the Apache httpd mime.conf table as the source of truth for mime types. Mime type additions:
application/vnd.geogebra.slidesfont/collectionimage/jxlimage/vnd.dvb.subtitlevideo/mp2tapplication/x-font-otf => font/otfapplication/x-font-ttf => font/ttfapplication/x-font-woff => font/woffmodel/vnd.mtsapplication/inkml+xml, inkml => inkapplication/octet-stream, so => binapplication/onenote, onetoc2 => onetocapplication/pgp-signature, sig => ascapplication/tei+xml, teicorpus => teiapplication/vnd.adobe.fxp, fxpl => fxpapplication/vnd.clonk.c4group, c4u => c4gapplication/vnd.dece.data, uvvf => uvfapplication/vnd.dece.ttml+xml, uvvt => uvtapplication/vnd.eszigno3+xml, et3 => es3application/vnd.framemaker, maker => fmapplication/vnd.geometry-explorer, gre => gexapplication/vnd.grafeq, gqs => gqfapplication/vnd.ibm.modcap, listafp => afpapplication/vnd.iccprofile, icm => iccapplication/vnd.intercon.formnet, xpx => xpwapplication/vnd.kde.kpresenter, kpt => kprapplication/vnd.kde.kword, kwt => kwdapplication/vnd.kinar, knp => kneapplication/vnd.koan, skt => skpapplication/vnd.ms-project, mpt => mppapplication/vnd.palm, pqa => pdbapplication/vnd.quark.quarkxpress, qxt => qxdapplication/vnd.simtech-mindmapper, twds => twdapplication/vnd.stardivision.writer, vor => sdwapplication/vnd.sus-calendar, susp => susapplication/vnd.symbian.install, sisx => sisapplication/vnd.ufdl, ufdl => ufdapplication/vnd.visio, vsw => vsdapplication/vnd.zul, zirz => zirapplication/x-authorware-bin, x32 => aabapplication/x-blorb, blorb => blbapplication/x-cbr, cbz => cbrapplication/x-director, w3d => dirapplication/x-font-type1, pfm => pfaapplication/x-msdownload, msi => exeapplication/x-pkcs12, pfx => p12application/x-pkcs7-certificates, spc => p7bapplication/x-zmachine, z8 => z1application/xv+xml, xvml => mxmlaudio/basic, snd => auaudio/mpeg, mpga => mp3audio/vnd.dece.audio, uvva => uvaimage/tiff, tif => tiffimage/vnd.dece.graphic, uvvi => uviimage/x-freehand, fhc => fhmessage/rfc822, mime => emlmodel/mesh, silo => mshmodel/x3d+binary, x3dbz => x3dbmodel/x3d+vrml, x3dvz => x3dvmodel/x3d+xml, x3dz => x3dtext/troff, tr => ttext/uri-list, urls => uritext/x-fortran, for => fvideo/mj2, mjp2 => mj2video/vnd.dece.hd, uvvh => uvhvideo/vnd.dece.mobile, uvvm => uvmvideo/vnd.dece.pd, uvvp => uvpvideo/vnd.dece.sd, uvvs => uvsvideo/vnd.dece.video, uvvv => uvvvideo/vnd.uvvu.mp4, uvvu => uvuvideo/x-ms-asf, asx => asfRewrite the parser for a 10x speed improvement.
Support anchors and aliases (&foo and *foo).
Support explicit tags (e.g. !!str). Note that user-defined tags are still
not fully supported.
%YAML and %TAG directives are now parsed, although again user-defined tags
are not fully supported.
YamlScalar, YamlList, and YamlMap now expose the styles in which they
were written (for example plain vs folded, block vs flow).
A yamlWarningCallback field is exposed. This field can be used to customize
how YAML warnings are displayed.
Widen the version constraint on the collection package.
Fix an import in a test.
Widen the version constraint on the collection package.
Switch from source_maps' Span class to source_span's SourceSpan class.
Switch from source_maps' Span class to source_span's SourceSpan class.
For consistency with source_span and string_scanner, all sourceName
parameters have been renamed to sourceUrl. They now accept Urls as well as
Strings.
Fix broken type arguments that caused breakage on dart2js.
Fix broken type arguments that caused breakage on dart2js.
Fix an analyzer warning in yaml_node_wrapper.dart.
Add a deepCopyLinks argument to copyPath and copyPathSync .
deepCopyLinks argument to copyPath and copyPathSync.@visibleForTesting annotation from SharedStdIn.SharedStdIn.new.
AnsiCode and AnsiCodeType marked final. ThesefinalexpectApiSummaryClean, 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.Add new publicly-accessible constructors for YamlNode subclasses. These
constructors make it possible to use the same API to access non-YAML data as
YAML data.
Make YamlException inherit from source_map's SpanFormatException. This
improves the error formatting and allows callers access to source range
information.
Nothing published for this version
Improve error messages when a file fails to parse.
Nothing published for this version
Ensure that maps are order-independent when used as map keys.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →