Skip to content

Commit

Permalink
feat: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDark committed Jan 22, 2024
1 parent df5443c commit f0056e9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## 2.0.0

- Internals are reworked: now package is relying on a tree-like structure to improve maintainability and scalability.
- Fixed `indentSize` validation (only values >=1 are allowed).
- Resolved https://github.com/gmpassos/yaml_writer/issues/6:
```yaml
# BEFORE:
field:
-
- 5
- 2
-
a: 3
b: 6

# AFTER:
field:
- - 5
- 2
- a: 3
b: 6
```
- Update min Dart SDK version constraint from `2.12.0` to `3.0.0`

BREAKING CHANGES:
- `YAMLWriter` renamed to `YamlWriter` ([Effective Dart reference](https://dart.dev/effective-dart/style#do-capitalize-acronyms-and-abbreviations-longer-than-two-letters-like-words)).
- Deprecated `identSize` property is removed. Use `indentSize` instead.
- `toEncodable` property is removed. Use constructor parameter instead (`YamlWriter#toEncodable`).


## 1.0.3

- `YAMLWriter`:
Expand Down

0 comments on commit f0056e9

Please sign in to comment.