yaml_writer
A library to write YAML documents, supporting Object encoding and 'dart:convert' 'Converter'.
2.1.0
583K downloads/mo
#474 most downloaded on pub.dev
gmpassos/yaml_writer
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 9 months
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
7 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
7 releases · Jul 2021 to Feb 2025Releases
latest 7-
2.1.015 Feb 2025Release notes
Open source →2.1.0
- Refactored string quoting: enhanced the handling of unquoted strings.
- Resolved an issue where empty strings were not supported when using unquoted strings.
- Introduced
YamlWriter.config()as a new constructor, along with theYamlWriterConfigclass.
Release notes
Open source →- Refactored string quoting: enhanced the handling of unquoted strings.
- Resolved an issue where empty strings were not supported when using unquoted strings.
- Introduced
YamlWriter.config()as a new constructor, along with theYamlWriterConfigclass.
-
2.0.124 Oct 2024Release notes
Open source →-
Remove unnecessary trailing spaces from keys with values declared on a new line.
-
test: ^1.25.8
-
coverage: ^1.10.0
Release notes
Open source →-
Remove unnecessary trailing spaces from keys with values declared on a new line.
-
test: ^1.25.8
-
coverage: ^1.10.0
-
-
2.0.022 Jan 2024Release notes
Open source →- Internals are reworked: now package is relying on a tree-like structure to improve maintainability and scalability.
- Fixed
indentSizevalidation (only values >=1 are allowed). - Resolved #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.0to3.0.0 - Update
lints: ^2.0.1tolints: ^3.0.0
BREAKING CHANGES:
YAMLWriterrenamed toYamlWriter(Effective Dart reference).- Deprecated
identSizeproperty is removed. UseindentSizeinstead. toEncodableproperty is removed. Use constructor parameter instead (YamlWriter#toEncodable).
Release notes
Open source →- Internals are reworked: now package is relying on a tree-like structure to improve maintainability and scalability.
- Fixed
indentSizevalidation (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.0to3.0.0 - Update
lints: ^2.0.1tolints: ^3.0.0
BREAKING CHANGES:
YAMLWriterrenamed toYamlWriter(Effective Dart reference).- Deprecated
identSizeproperty is removed. UseindentSizeinstead. toEncodableproperty is removed. Use constructor parameter instead (YamlWriter#toEncodable).
-
1.0.304 Dec 2022Release notes
Open source →v1.0.3
- `YAMLWriter`:
- Added `allowUnquotedStrings`.
- Rename `identSize` to `indentSize`.
- Deprecate `identSize` field.
- lints: ^2.0.1
- test: ^1.22.0
- dependency_validator: ^3.2.2
- coverage: ^1.6.1Release notes
Open source →YAMLWriter:- Added
allowUnquotedStrings. - Rename
identSizetoindentSize. - Deprecate
identSizefield.
- Added
- lints: ^2.0.1
- test: ^1.22.0
- dependency_validator: ^3.2.2
- coverage: ^1.6.1
-
1.0.228 Jul 2022Release notes
Open source →v1.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.0Release notes
Open source →- Fixed serialization of an empty
Listto[] - Updated GitHub CI.
- lints: ^2.0.0
- test: ^1.17.12
- dependency_validator: ^3.2.0
- coverage: ^1.1.0
- Fixed serialization of an empty
-
1.0.130 Jul 2021 -
1.0.030 Jul 2021