yaml_writer 2.0.1 copy "yaml_writer: ^2.0.1" to clipboard
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 #

# 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
  • Update lints: ^2.0.1 to lints: ^3.0.0

BREAKING CHANGES:

  • YAMLWriter renamed to YamlWriter (Effective Dart reference).
  • Deprecated identSize property is removed. Use indentSize instead.
  • toEncodable property is removed. Use constructor parameter instead (YamlWriter#toEncodable).

1.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.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.
23
likes
160
points
63.8k
downloads

Publisher

unverified uploader

Weekly Downloads

A library to write YAML documents, supporting Object encoding and 'dart:convert' 'Converter'.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on yaml_writer