Files
rapidyaml/changelog/0.7.1.md
Joao Paulo Magalhaes 5ccf9a2446 v0.7.1
2024-08-15 17:41:17 +01:00

1.5 KiB

New features

  • PR#459: Add version functions and macros:
    #define RYML_VERSION "0.7.1"
    #define RYML_VERSION_MAJOR 0
    #define RYML_VERSION_MINOR 7
    #define RYML_VERSION_PATCH 1
    csubstr version();
    int version_major();
    int version_minor();
    int version_patch();
    

Fixes

  • Fix #455: parsing of trailing val-less nested maps when deindented to maps (PR#460)
  • Fix filtering of double-quoted keys in block maps (PR#452)
  • Fix #440: some tests failing with gcc -O2 (hypothetically due to undefined behavior)
    • This was accomplished by refactoring some internal parser functions; see the comments in #440 for further details.
    • Also, fix all warnings from scan-build.
  • Use malloc.h instead of alloca.h on MinGW (PR#447)
  • Fix #442 (PR#443):
    • Ensure leading + is accepted when deserializing numbers.
    • Ensure numbers are not quoted by fixing the heuristics in scalar_style_query_plain() and scalar_style_choose().
    • Add quickstart sample for overflow detection (only of integral types).
  • Parse engine: cleanup unused macros

Thanks

  • @marcalff
  • @toge
  • @musicinmybrain
  • @buty4649