File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.0
2
+
3
+ - Internals are reworked: now package is relying on a tree-like structure to improve maintainability and scalability.
4
+ - Fixed ` indentSize ` validation (only values >=1 are allowed).
5
+ - Resolved https://github.com/gmpassos/yaml_writer/issues/6 :
6
+ ``` yaml
7
+ # BEFORE:
8
+ field :
9
+ -
10
+ - 5
11
+ - 2
12
+ -
13
+ a : 3
14
+ b : 6
15
+
16
+ # AFTER:
17
+ field :
18
+ - - 5
19
+ - 2
20
+ - a : 3
21
+ b : 6
22
+ ` ` `
23
+ - Update min Dart SDK version constraint from ` 2.12.0` to `3.0.0`
24
+
25
+ BREAKING CHANGES :
26
+ - ` YAMLWriter` renamed to `YamlWriter` ([Effective Dart reference](https://dart.dev/effective-dart/style#do-capitalize-acronyms-and-abbreviations-longer-than-two-letters-like-words)).
27
+ - Deprecated `identSize` property is removed. Use `indentSize` instead.
28
+ - ` toEncodable` property is removed. Use constructor parameter instead (`YamlWriter#toEncodable`).
29
+
30
+
1
31
# # 1.0.3
2
32
3
33
- `YAMLWriter` :
You can’t perform that action at this time.
0 commit comments