The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

51 lines
1.7 KiB

2 months ago
  1. # The following is a list of breaking changes to yaml-cpp, by version #
  2. # New API #
  3. ## HEAD ##
  4. * Throws an exception when trying to parse a negative number as an unsigned integer.
  5. * Supports the `as<int8_t>`/`as<uint8_t>`, which throws an exception when the value exceeds the range of `int8_t`/`uint8_t`.
  6. ## 0.6.0 ##
  7. * Requires C++11.
  8. ## 0.5.3 ##
  9. _none_
  10. ## 0.5.2 ##
  11. _none_
  12. ## 0.5.1 ##
  13. * `Node::clear` was replaced by `Node::reset`, which takes an optional node, similar to smart pointers.
  14. ## 0.5.0 ##
  15. Initial version of the new API.
  16. # Old API #
  17. ## 0.3.0 ##
  18. _none_
  19. ## 0.2.7 ##
  20. * `YAML::Binary` now takes `const unsigned char *` for the binary data (instead of `const char *`).
  21. ## 0.2.6 ##
  22. * `Node::GetType()` is now `Node::Type()`, and returns an enum `NodeType::value`, where:
  23. > > ` struct NodeType { enum value { Null, Scalar, Sequence, Map }; }; `
  24. * `Node::GetTag()` is now `Node::Tag()`
  25. * `Node::Identity()` is removed, and `Node::IsAlias()` and `Node::IsReferenced()` have been merged into `Node::IsAliased()`. The reason: there's no reason to distinguish an alias node from its anchor - whichever happens to be emitted first will be the anchor, and the rest will be aliases.
  26. * `Node::Read<T>` is now `Node::to<T>`. This wasn't a documented function, so it shouldn't break anything.
  27. * `Node`'s comparison operators (for example, `operator == (const Node&, const T&)`) have all been removed. These weren't documented either (they were just used for the tests), so this shouldn't break anything either.
  28. * The emitter no longer produces the document start by default - if you want it, you can supply it with the manipulator `YAML::BeginDoc`.
  29. ## 0.2.5 ##
  30. This wiki was started with v0.2.5.