yaml_writer 2.0.1 yaml_writer: ^2.0.1 copied to clipboard
A library to write YAML documents, supporting Object encoding and 'dart:convert' 'Converter'.
2.0.1 #
-
Remove unnecessary trailing spaces from keys with values declared on a new line.
-
test: ^1.25.8
-
coverage: ^1.10.0
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:
# 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
to3.0.0
- Update
lints: ^2.0.1
tolints: ^3.0.0
BREAKING CHANGES:
YAMLWriter
renamed toYamlWriter
(Effective Dart reference).- Deprecated
identSize
property is removed. UseindentSize
instead. toEncodable
property is removed. Use constructor parameter instead (YamlWriter#toEncodable
).
1.0.3 #
YAMLWriter
:- Added
allowUnquotedStrings
. - Rename
identSize
toindentSize
. - Deprecate
identSize
field.
- Added
- lints: ^2.0.1
- test: ^1.22.0
- dependency_validator: ^3.2.2
- coverage: ^1.6.1
1.0.2 #
- Fixed serialization of an empty
List
to[]
- Updated GitHub CI.
- lints: ^2.0.0
- test: ^1.17.12
- dependency_validator: ^3.2.0
- coverage: ^1.1.0
1.0.1 #
- Improve
pubspec.yaml
description. - Improve README.
1.0.0 #
- Initial version.