github stephenberry/glaze v5.1.2

latest releases: v8.3.0, v8.2.0, v8.1.0...
16 months ago

Minor Breaking Change

Moved glz::float_precision out of the default glz::opts fields. This change does not remove any functionality from Glaze.

The glz::float_precision enum is not widely used, but had the greatest impact on the length of the template parameter name printed by compilers when compile time errors occur. By moving this out of the default glz::opts we shorten compilation errors.

This change requires a user to add their own option type:

struct float_opts : glz::opts {
   glz::float_precision float_max_write_precision{};
};
  • In #1713
  • Forgive this being in a minor release (I had forgotten I made this change)

Improvements

  • noexcept traits by @stephenberry in #1721
    • Use cases like glz::custom now work with member functions labeled noexcept
  • Relaxed .as<T> conversion for glz::json_t (now supports Enums) in #1712
  • glz::trace better input argument order and fix for async_scope in #1720

Full Changelog: v5.1.1...v5.1.2

Don't miss a new glaze release

NewReleases is sending notifications on new releases.