dump_yaml 0.1.0-beta.6
dump_yaml: ^0.1.0-beta.6 copied to clipboard
A configurable library for dumping any Dart object back to YAML.
Changelog #
0.1.0-beta.6 #
BREAKING:
- Ability to set a custom
toFormatcallback forYamlMappinghas been removed.
feat:
- The internal writer used by
YamlBuffercan be swapped/reset to another writer target.
fix:
- Fixes an bug where a
ScalarViewcould reference itself which is impossible in YAML scalars.
0.1.0-beta.5 #
feat:
- Adds support for detecting recursive aliases or object references.
fix:
- Fixes an issue where duplicate keys from a
YamlMappingwere included.
0.1.0-beta.4 #
BREAKING:
- Renames
YamlDumper.stringconstructor toYamlDumper.toStringBuffer. YamlDumpernow accepts aYamlBufferand not a closure to create it.
0.1.0-beta.3 #
BREAKING:
- Renames
YamlStringBuffertoYamlBuffer. - Removes the
dumpedmethod inYamlDumperandBlockDumper.- For one-off dumper runs, prefer calling
dumpAsYaml. - For a reusable dumper, provide a:
StringBufferfor chunked writes via theYamlDumper.stringconstructor.StreamSink<String>to thebufferparam that instantiates the internalYamlBuffer.
- For one-off dumper runs, prefer calling
feat:
- Adds support for custom writer targets.
0.1.0-beta.2 #
- Bump
package:rookie_yamlto the latest prerelease. - Downgrade Dart SDK to
3.9.0.
0.1.0-beta.1 #
Migrates and rewrites the YAML dumper from package:rookie_yaml.
- Adds support for building a YAML Representantion Tree before it is dumped.
- Adds formatting support when dumping objects to YAML.
- Adds support for styling comments.
- Makes the
YamlDumperreusable.