github getml/reflect-cpp v0.18.0

20 hours ago
  • Allow people to use C++-23 std::expected instead of our custom results. Special thanks to @jowillianto for this contribution!
  • Use toml11 instead of tomlplusplus. The reason for this change is that tomlplusplus is difficult to manage as a dependency in vcpkg.
  • Make the reader stricter: Do not allow floating point values to read integers and vice versa. The JSON reader always used to behave like this, but now all formats do.
  • Redesign rfl::Bytestring to better conform to the C++ standard and also as a workaround for a bug in LLVM 18. Thanks to @Altren for flagging and fixing this issue!
  • Support long integers in rfl::Generic. Thanks to @bjia56!
  • Make sure that the resulting JSON schema does not require any fields when rfl::DefaultIfMissing is used.
  • Make sure all textual formats support reading from std::string_view.
  • Bugfix: Added missing imports. Thanks to @AnsiV01 and @filippobrizz.

Don't miss a new reflect-cpp release

NewReleases is sending notifications on new releases.