|
| 1 | +## 3.1.3 |
| 2 | + |
| 3 | +* Require Dart 3.4 |
| 4 | +* Fix UTF-16 surrogate pair handling in plain scaler. |
| 5 | +* Move to `dart-lang/tools` monorepo. |
| 6 | + |
| 7 | +## 3.1.2 |
| 8 | + |
| 9 | +* Require Dart 2.19 |
| 10 | +* Added `topics` in `pubspec.yaml`. |
| 11 | + |
| 12 | +## 3.1.1 |
| 13 | + |
| 14 | +* Switch to using package:lints. |
| 15 | +* Populate the pubspec `repository` field. |
| 16 | + |
| 17 | +## 3.1.0 |
| 18 | + |
| 19 | +* `loadYaml` and related functions now accept a `recover` flag instructing the parser |
| 20 | + to attempt to recover from parse errors and may return invalid or synthetic nodes. |
| 21 | + When recovering, an `ErrorListener` can also be supplied to listen for errors that |
| 22 | + are recovered from. |
| 23 | +* Drop dependency on `package:charcode`. |
| 24 | + |
| 25 | +## 3.0.0 |
| 26 | + |
| 27 | +* Stable null safety release. |
| 28 | + |
| 29 | +## 3.0.0-nullsafety.0 |
| 30 | + |
| 31 | +* Updated to support 2.12.0 and null safety. |
| 32 | +* Allow `YamlNode`s to be wrapped with an optional `style` parameter. |
| 33 | +* **BREAKING** The `sourceUrl` named argument is statically typed as `Uri` |
| 34 | + instead of allowing `String` or `Uri`. |
| 35 | + |
| 36 | +## 2.2.1 |
| 37 | + |
| 38 | +* Update min Dart SDK to `2.4.0`. |
| 39 | +* Fixed span for null nodes in block lists. |
| 40 | + |
| 41 | +## 2.2.0 |
| 42 | + |
| 43 | +* POSSIBLY BREAKING CHANGE: Make `YamlMap` preserve parsed key order. |
| 44 | + This is breaking because some programs may rely on the |
| 45 | + `HashMap` sort order. |
| 46 | + |
| 47 | +## 2.1.16 |
| 48 | + |
| 49 | +* Fixed deprecated API usage in README. |
| 50 | +* Fixed lints that affect package score. |
| 51 | + |
| 52 | +## 2.1.15 |
| 53 | + |
| 54 | +* Set max SDK version to `<3.0.0`, and adjust other dependencies. |
| 55 | + |
| 56 | +## 2.1.14 |
| 57 | + |
| 58 | +* Remove use of deprecated features. |
| 59 | +* Updated SDK version to 2.0.0-dev.17.0 |
| 60 | + |
| 61 | +## 2.1.13 |
| 62 | + |
| 63 | +* Stop using comment-based generic syntax. |
| 64 | + |
| 65 | +## 2.1.12 |
| 66 | + |
| 67 | +* Properly refuse mappings with duplicate keys. |
| 68 | + |
| 69 | +## 2.1.11 |
| 70 | + |
| 71 | +* Fix an infinite loop when parsing some invalid documents. |
| 72 | + |
| 73 | +## 2.1.10 |
| 74 | + |
| 75 | +* Support `string_scanner` 1.0.0. |
| 76 | + |
| 77 | +## 2.1.9 |
| 78 | + |
| 79 | +* Fix all strong-mode warnings. |
| 80 | + |
| 81 | +## 2.1.8 |
| 82 | + |
| 83 | +* Remove the dependency on `path`, since we don't actually import it. |
| 84 | + |
| 85 | +## 2.1.7 |
| 86 | + |
| 87 | +* Fix more strong mode warnings. |
| 88 | + |
| 89 | +## 2.1.6 |
| 90 | + |
| 91 | +* Fix two analysis issues with DDC's strong mode. |
| 92 | + |
| 93 | +## 2.1.5 |
| 94 | + |
| 95 | +* Fix a bug with 2.1.4 where source span information was being discarded for |
| 96 | + scalar values. |
| 97 | + |
| 98 | +## 2.1.4 |
| 99 | + |
| 100 | +* Substantially improve performance. |
| 101 | + |
| 102 | +## 2.1.3 |
| 103 | + |
| 104 | +* Add a hint that a colon might be missing when a mapping value is found in the |
| 105 | + wrong context. |
| 106 | + |
| 107 | +## 2.1.2 |
| 108 | + |
| 109 | +* Fix a crashing bug when parsing block scalars. |
| 110 | + |
| 111 | +## 2.1.1 |
| 112 | + |
| 113 | +* Properly scope `SourceSpan`s for scalar values surrounded by whitespace. |
| 114 | + |
| 115 | +## 2.1.0 |
| 116 | + |
| 117 | +* Rewrite the parser for a 10x speed improvement. |
| 118 | + |
| 119 | +* Support anchors and aliases (`&foo` and `*foo`). |
| 120 | + |
| 121 | +* Support explicit tags (e.g. `!!str`). Note that user-defined tags are still |
| 122 | + not fully supported. |
| 123 | + |
| 124 | +* `%YAML` and `%TAG` directives are now parsed, although again user-defined tags |
| 125 | + are not fully supported. |
| 126 | + |
| 127 | +* `YamlScalar`, `YamlList`, and `YamlMap` now expose the styles in which they |
| 128 | + were written (for example plain vs folded, block vs flow). |
| 129 | + |
| 130 | +* A `yamlWarningCallback` field is exposed. This field can be used to customize |
| 131 | + how YAML warnings are displayed. |
| 132 | + |
| 133 | +## 2.0.1+1 |
| 134 | + |
| 135 | +* Fix an import in a test. |
| 136 | + |
| 137 | +* Widen the version constraint on the `collection` package. |
| 138 | + |
| 139 | +## 2.0.1 |
| 140 | + |
| 141 | +* Fix a few lingering references to the old `Span` class in documentation and |
| 142 | + tests. |
| 143 | + |
| 144 | +## 2.0.0 |
| 145 | + |
| 146 | +* Switch from `source_maps`' `Span` class to `source_span`'s `SourceSpan` class. |
| 147 | + |
| 148 | +* For consistency with `source_span` and `string_scanner`, all `sourceName` |
| 149 | + parameters have been renamed to `sourceUrl`. They now accept Urls as well as |
| 150 | + Strings. |
| 151 | + |
| 152 | +## 1.1.1 |
| 153 | + |
| 154 | +* Fix broken type arguments that caused breakage on dart2js. |
| 155 | + |
| 156 | +* Fix an analyzer warning in `yaml_node_wrapper.dart`. |
| 157 | + |
| 158 | +## 1.1.0 |
| 159 | + |
| 160 | +* Add new publicly-accessible constructors for `YamlNode` subclasses. These |
| 161 | + constructors make it possible to use the same API to access non-YAML data as |
| 162 | + YAML data. |
| 163 | + |
| 164 | +* Make `YamlException` inherit from source_map's `SpanFormatException`. This |
| 165 | + improves the error formatting and allows callers access to source range |
| 166 | + information. |
| 167 | + |
| 168 | +## 1.0.0+1 |
| 169 | + |
| 170 | +* Fix a variable name typo. |
| 171 | + |
| 172 | +## 1.0.0 |
| 173 | + |
| 174 | +* **Backwards incompatibility**: The data structures returned by `loadYaml` and |
| 175 | + `loadYamlStream` are now immutable. |
| 176 | + |
| 177 | +* **Backwards incompatibility**: The interface of the `YamlMap` class has |
| 178 | + changed substantially in numerous ways. External users may no longer construct |
| 179 | + their own instances. |
| 180 | + |
| 181 | +* Maps and lists returned by `loadYaml` and `loadYamlStream` now contain |
| 182 | + information about their source locations. |
| 183 | + |
| 184 | +* A new `loadYamlNode` function returns the source location of top-level scalars |
| 185 | + as well. |
| 186 | + |
| 187 | +## 0.10.0 |
| 188 | + |
| 189 | +* Improve error messages when a file fails to parse. |
| 190 | + |
| 191 | +## 0.9.0+2 |
| 192 | + |
| 193 | +* Ensure that maps are order-independent when used as map keys. |
| 194 | + |
| 195 | +## 0.9.0+1 |
| 196 | + |
| 197 | +* The `YamlMap` class is deprecated. In a future version, maps returned by |
| 198 | + `loadYaml` and `loadYamlStream` will be Dart `HashMap`s with a custom equality |
| 199 | + operation. |
0 commit comments