Skip to content

Releases: stephenberry/glaze

1.0.1

03 Mar 14:14
Compare
Choose a tag to compare
  • Fixed a key parsing issue that lead to memory problems
  • Removed most warnings from gcc

1.0.0

01 Mar 17:21
Compare
Choose a tag to compare

Version 1 release with significant changes, some of them breaking.

  • Glaze now builds with -fno-exceptions and -fno-rtti, making it better for validation and for embedded development
  • Errors are handled with a glz::expected type, which has the same API as C++23's std::expected
  • Inlining is used more aggressively for the sake of performance with the new error handling approach
  • Variant support has been improved, allowing automatic variant deduction based on key differences
  • glz:: validate_json funtion and a force_conformance option for reading
  • Other bug fixes and performance improvements

0.3.6

02 Feb 14:51
Compare
Choose a tag to compare
  • gcc12 compiler fix
  • get_view_json, get_as_json, and get_sv_json introspection functions
  • Added glz::skip
    See README for documentation

0.3.5

30 Jan 22:35
Compare
Choose a tag to compare
  • std::set and std::unordered_set support
  • glz::flags type for an array of booleans
  • std::functions can be accessed via the api get_fn (previously just member functions)
  • Compile time option (use_cx_tags) to prevent output of compile time known flags in binary
  • Minor fixes

0.3.4

23 Jan 21:50
f0b2047
Compare
Choose a tag to compare
  • Added support for buffers of uint8_t, char8_t, and std::byte
  • Added value type handling, e.g. static constexpr auto value{ &T::x }
  • Added custom null type support with construct

0.3.3

23 Jan 14:36
Compare
Choose a tag to compare
  • Generic JSON type glz::json_t added
  • Better performance for objects with keys of similar lengths
  • Better performance from unnecessary end check removal
  • Fix for variant read on correct type

0.3.2

19 Jan 22:04
Compare
Choose a tag to compare
  • Faster object reading when compile time known keys do not contain escapes
  • Optionally static assert when calling glz::name_v with a type that is not fully named

0.3.1

19 Jan 17:16
Compare
Choose a tag to compare
  • Removed undefined behavior (using std::memcpy rather than reinterpret cast)
  • Passes address sanitizer checks
  • Requires null terminated contiguous buffers when reading, allowing further optimizations removing end checks
  • Removed CPM from CMake setup
  • Fixed issues with calling functions across the API

0.3.0

17 Jan 18:33
Compare
Choose a tag to compare
  • Removed use of undefined behavior in string comparison and hashing
  • Minor cleanup and optimizations

0.2.9

13 Jan 16:07
Compare
Choose a tag to compare
  • Small optimizations for hashing
  • glz::poly now has compile time errors for mismatching function signatures and names
  • glz::poly supports non-owning pointer