yaml
A parser for YAML, a human-friendly data serialization standard
3.1.3
9.3M downloads/mo
#39 most downloaded on pub.dev
dart-lang/tools
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.6 years
Some releases are documented
notes for 31 of 99 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
100 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
100 releases · Feb 2013 to Dec 2024Releases
latest 60 of 100-
3.1.320 Dec 2024Release notes
Open source →- Require Dart 3.4
- Fix UTF-16 surrogate pair handling in plain scaler.
- Move to
dart-lang/toolsmonorepo.
-
3.1.204 May 2023 -
3.1.112 May 2022 -
3.1.025 Feb 2021Release notes
Open source →loadYamland related functions now accept arecoverflag instructing the parser to attempt to recover from parse errors and may return invalid or synthetic nodes. When recovering, anErrorListenercan also be supplied to listen for errors that are recovered from.- Drop dependency on
package:charcode.
-
3.0.005 Feb 2021Release notes
Open source →- Adds discovery API to find both a configuration and its location:
findPackageConfigAndFileandfindPackageConfigAndUri. - Removes support for the
.packagesfile.
The Dart SDK no longer supports that file, and no new.packagesfiles
will be generated.
Since the SDK requirement for this package is above 3.0.0,
no supporting SDK can use or generate.packages. - Simplifies API that no longer needs to support two separate files.
- Renamed
readAnyConfigFiletoreadConfigFile, and removed
thepreferNewestparameter. - Same for
readAnyConfigFileUriwhich becomesreadConfigFileUri. - Old functions still exists as deprecated, forwarding to the new
functions without thepreferNewestargument.
MakesPackageConfig,PackageandLanguageVersion@sealedclasses,
in preparation for making themfinalin a future update.
- Renamed
- Adds
PackageConfig.minVersionto complement.maxVersion.
Currently both are2.
- Adds discovery API to find both a configuration and its location:
-
3.0.0-nullsafety.017 Nov 2020 pre-releaseRelease notes
Open source →- Updated to support 2.12.0 and null safety.
- Allow
YamlNodes to be wrapped with an optionalstyleparameter. - BREAKING The
sourceUrlnamed argument is statically typed asUriinstead of allowingStringorUri.
-
2.2.127 Apr 2020 -
2.2.019 Sep 2019Release notes
Open source →- POSSIBLY BREAKING CHANGE: Make
YamlMappreserve parsed key order. This is breaking because some programs may rely on theHashMapsort order.
- POSSIBLY BREAKING CHANGE: Make
-
2.1.1617 Jun 2019Release notes
Open source →- Fixed deprecated API usage in README.
- Fixed lints that affect package score.
-
2.1.1517 Jul 2018 -
2.1.1422 May 2018Release notes
Open source →- Remove use of deprecated features.
- Updated SDK version to 2.0.0-dev.17.0
-
2.1.1327 Sep 2017 -
2.1.1213 Oct 2016 -
2.1.1106 Oct 2016 -
2.1.1023 Jun 2016 -
2.1.904 May 2016 -
2.1.819 Jan 2016 -
2.1.702 Oct 2015 -
2.1.628 Sep 2015 -
2.1.509 Sep 2015Release notes
Open source →- Fix a bug with 2.1.4 where source span information was being discarded for scalar values.
-
2.1.403 Sep 2015 -
2.1.309 Jun 2015Release notes
Open source →- Add a hint that a colon might be missing when a mapping value is found in the wrong context.
-
2.1.212 Dec 2014 -
2.1.112 Dec 2014 -
2.1.010 Nov 2014Release notes
Open source →-
Rewrite the parser for a 10x speed improvement.
-
Support anchors and aliases (
&fooand*foo). -
Support explicit tags (e.g.
!!str). Note that user-defined tags are still not fully supported. -
%YAMLand%TAGdirectives are now parsed, although again user-defined tags are not fully supported. -
YamlScalar,YamlList, andYamlMapnow expose the styles in which they were written (for example plain vs folded, block vs flow). -
A
yamlWarningCallbackfield is exposed. This field can be used to customize how YAML warnings are displayed.
-
-
2.0.1+129 Aug 2014Release notes
Open source →-
Fix an import in a test.
-
Widen the version constraint on the
collectionpackage.
-
-
2.0.024 Jul 2014Release notes
Open source →-
Switch from
source_maps'Spanclass tosource_span'sSourceSpanclass. -
For consistency with
source_spanandstring_scanner, allsourceNameparameters have been renamed tosourceUrl. They now accept Urls as well as Strings.
-
-
1.1.124 Jun 2014Release notes
Open source →-
Fix broken type arguments that caused breakage on dart2js.
-
Fix an analyzer warning in
yaml_node_wrapper.dart.
-
-
1.1.024 Jun 2014Release notes
Open source →-
Add new publicly-accessible constructors for
YamlNodesubclasses. These constructors make it possible to use the same API to access non-YAML data as YAML data. -
Make
YamlExceptioninherit from source_map'sSpanFormatException. This improves the error formatting and allows callers access to source range information.
-
-
1.0.0+205 Jun 2014Nothing published for this version
-
0.10.002 Jun 2014 -
0.9.006 Nov 2013Nothing published for this version
-
0.9.0+220 May 2014 -
0.8.1001 Nov 2013Nothing published for this version
-
0.8.10+304 Nov 2013Nothing published for this version
-
0.8.10+405 Nov 2013Nothing published for this version
-
0.8.931 Oct 2013Nothing published for this version
-
0.8.830 Oct 2013Nothing published for this version
-
0.8.728 Oct 2013Nothing published for this version
-
0.8.624 Oct 2013Nothing published for this version
-
0.8.521 Oct 2013Nothing published for this version
-
0.8.419 Oct 2013Nothing published for this version
-
0.8.317 Oct 2013Nothing published for this version
-
0.8.214 Oct 2013Nothing published for this version
-
0.8.104 Oct 2013Nothing published for this version
-
0.8.003 Oct 2013Nothing published for this version
-
0.7.627 Sep 2013Nothing published for this version
-
0.7.6+401 Oct 2013Nothing published for this version
-
0.7.521 Sep 2013Nothing published for this version
-
0.7.418 Sep 2013Nothing published for this version
-
0.7.3+116 Sep 2013Nothing published for this version
-
0.7.206 Sep 2013Nothing published for this version
-
0.7.2+108 Sep 2013Nothing published for this version
-
0.7.103 Sep 2013Nothing published for this version
-
0.7.028 Aug 2013Nothing published for this version
-
0.6.21+326 Aug 2013Nothing published for this version
-
0.6.20+122 Aug 2013Nothing published for this version
-
0.6.1919 Aug 2013Nothing published for this version
-
0.6.1710 Aug 2013Nothing published for this version
-
0.6.17+212 Aug 2013Nothing published for this version