Skip to content

fkYAML version 0.2.0

Compare
Choose a tag to compare
@fktn-k fktn-k released this 06 Nov 23:01
· 432 commits to develop since this release

fkYAML version 0.2.0

Summary

This release contains a breaking change in the default type for YAML mapping node: it will no longer preserve insertion order of internal key/value pairs by default.
To preserve the insertion order as it used to, use fkyaml::ordered_map as basic_node's mapping node type.
Furthermore, factory methods for scalar values of basic_node type have been removed and unified into the basic_node constructors.
Along with the above changes, internal operations in the fkYAML have also been improved regarding conversions between YAML nodes and values of native data types.

CAVEAT

The fkYAML library is an alpha quality software, at most.
It would take a while until this library gets stabled version, since implementation and maintenance has been/will be done by a single developer.
If you find a bug or wanted features, please open a discussion/issue to let me know.
Any kind of contribution is very much welcomed.

What's Changed

💥 Breaking Changes

⚡ Improvements

  • #187 support compatible strings as an argument in basic_node ctors #188 (fktn-k)
  • #180 Generalize getter APIs for node value references #184 (fktn-k)
  • #105 Support std::initializer_list in basic_node constructors #173 (fktn-k)

🐛 Bug Fixes

  • #185 fixed missing calls for fclose() in input adapter tests #186 (fktn-k)
  • #175 support detecting indentation in deserialization #176 (fktn-k)

🤖 CI

  • Updated header template and target file for version up script #197 (fktn-k)
  • #177 Add test for input adapters only #178 (fktn-k)

📝 Documentation

Full Changelog: v0.1.3...v0.2.0