yaml 1.1.0 yaml: ^1.1.0 copied to clipboard
A parser for YAML.
1.1.0 #
-
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.
1.0.0+1 #
- Fix a variable name typo.
1.0.0 #
-
Backwards incompatibility: The data structures returned by
loadYaml
andloadYamlStream
are now immutable. -
Backwards incompatibility: The interface of the
YamlMap
class has changed substantially in numerous ways. External users may no longer construct their own instances. -
Maps and lists returned by
loadYaml
andloadYamlStream
now contain information about their source locations. -
A new
loadYamlNode
function returns the source location of top-level scalars as well.
0.10.0 #
- Improve error messages when a file fails to parse.
0.9.0+2 #
- Ensure that maps are order-independent when used as map keys.
0.9.0+1 #
- The
YamlMap
class is deprecated. In a future version, maps returned byloadYaml
andloadYamlStream
will be DartHashMap
s with a custom equality operation.