Skip to content

Commit f0056e9

Browse files
committed
feat: update changelog
1 parent df5443c commit f0056e9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
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+
131
## 1.0.3
232

333
- `YAMLWriter`:

0 commit comments

Comments
 (0)