Skip to content

fkYAML version 0.4.2

Latest
Compare
Choose a tag to compare
@fktn-k fktn-k released this 25 Jan 15:10
· 1 commit to develop since this release

What's Changed

✨ New Features

  • Add to_node() implementations for STL container types (#465, @fktn-k)
    • fkyaml::basic_node objects can now be constructible with objects with most of the STL container types.
      std::list<int> l {123, -456, 789};
      fkyaml::node seq = l; // internally converted as a sequence with the built-in to_node implementation.
      
      std::unordered_map<std::string, float> um {{"foo", 3.14f}, {"bar", 1.41f}};
      fkyaml::node map = um; // internally converted as a mapping with the built-in to_node implementation.
    • See the API reference page for the fkyaml::basic_node constructor for more details.

⚡ Improvements

  • Improve handling node properties in deserialization (#463, @fktn-k)
  • Allow ':' adjacent to a flow mapping value right after a JSON-like key (#468, @fktn-k)
  • Refactor UTF encode validation & line break normalization (#470, @fktn-k)

🐛 Bug Fixes

🤖 CI

  • Disable the fail-fast option for GitHub Actions workflow jobs (#466, @fktn-k)

📝 Documentation

  • Fix example builds and typos in docs (#464, @fktn-k)
  • Fix example builds with incorrectly indented document markers (#473, @fktn-k)

Full Changelog

v0.4.1...v0.4.2