yaml_writer 2.0.0 copy "yaml_writer: ^2.0.0" to clipboard
yaml_writer: ^2.0.0 copied to clipboard

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

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.
22
likes
160
pub points
92%
popularity

Publisher

unverified uploader

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