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