| OLD | NEW |
| (Empty) |
| 1 ## 2.1.2 | |
| 2 | |
| 3 * Fix a crashing bug when parsing block scalars. | |
| 4 | |
| 5 ## 2.1.1 | |
| 6 | |
| 7 * Properly scope `SourceSpan`s for scalar values surrounded by whitespace. | |
| 8 | |
| 9 ## 2.1.0 | |
| 10 | |
| 11 * Rewrite the parser for a 10x speed improvement. | |
| 12 | |
| 13 * Support anchors and aliases (`&foo` and `*foo`). | |
| 14 | |
| 15 * Support explicit tags (e.g. `!!str`). Note that user-defined tags are still | |
| 16 not fully supported. | |
| 17 | |
| 18 * `%YAML` and `%TAG` directives are now parsed, although again user-defined tags | |
| 19 are not fully supported. | |
| 20 | |
| 21 * `YamlScalar`, `YamlList`, and `YamlMap` now expose the styles in which they | |
| 22 were written (for example plain vs folded, block vs flow). | |
| 23 | |
| 24 * A `yamlWarningCallback` field is exposed. This field can be used to customize | |
| 25 how YAML warnings are displayed. | |
| 26 | |
| 27 ## 2.0.1+1 | |
| 28 | |
| 29 * Fix an import in a test. | |
| 30 | |
| 31 * Widen the version constraint on the `collection` package. | |
| 32 | |
| 33 ## 2.0.1 | |
| 34 | |
| 35 * Fix a few lingering references to the old `Span` class in documentation and | |
| 36 tests. | |
| 37 | |
| 38 ## 2.0.0 | |
| 39 | |
| 40 * Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. | |
| 41 | |
| 42 * For consistency with `source_span` and `string_scanner`, all `sourceName` | |
| 43 parameters have been renamed to `sourceUrl`. They now accept Urls as well as | |
| 44 Strings. | |
| 45 | |
| 46 ## 1.1.1 | |
| 47 | |
| 48 * Fix broken type arguments that caused breakage on dart2js. | |
| 49 | |
| 50 * Fix an analyzer warning in `yaml_node_wrapper.dart`. | |
| 51 | |
| 52 ## 1.1.0 | |
| 53 | |
| 54 * Add new publicly-accessible constructors for `YamlNode` subclasses. These | |
| 55 constructors make it possible to use the same API to access non-YAML data as | |
| 56 YAML data. | |
| 57 | |
| 58 * Make `YamlException` inherit from source_map's [`SpanFormatException`][]. This | |
| 59 improves the error formatting and allows callers access to source range | |
| 60 information. | |
| 61 | |
| 62 [SpanFormatException]: (http://www.dartdocs.org/documentation/source_maps/0.9.2/
index.html#source_maps/source_maps.SpanFormatException) | |
| 63 | |
| 64 ## 1.0.0+1 | |
| 65 | |
| 66 * Fix a variable name typo. | |
| 67 | |
| 68 ## 1.0.0 | |
| 69 | |
| 70 * **Backwards incompatibility**: The data structures returned by `loadYaml` and | |
| 71 `loadYamlStream` are now immutable. | |
| 72 | |
| 73 * **Backwards incompatibility**: The interface of the `YamlMap` class has | |
| 74 changed substantially in numerous ways. External users may no longer construct | |
| 75 their own instances. | |
| 76 | |
| 77 * Maps and lists returned by `loadYaml` and `loadYamlStream` now contain | |
| 78 information about their source locations. | |
| 79 | |
| 80 * A new `loadYamlNode` function returns the source location of top-level scalars | |
| 81 as well. | |
| 82 | |
| 83 ## 0.10.0 | |
| 84 | |
| 85 * Improve error messages when a file fails to parse. | |
| 86 | |
| 87 ## 0.9.0+2 | |
| 88 | |
| 89 * Ensure that maps are order-independent when used as map keys. | |
| 90 | |
| 91 ## 0.9.0+1 | |
| 92 | |
| 93 * The `YamlMap` class is deprecated. In a future version, maps returned by | |
| 94 `loadYaml` and `loadYamlStream` will be Dart `HashMap`s with a custom equality | |
| 95 operation. | |
| OLD | NEW |