Releases: stephenberry/glaze
Releases · stephenberry/glaze
1.0.1
- Fixed a key parsing issue that lead to memory problems
- Removed most warnings from gcc
1.0.0
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'sstd::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
- gcc12 compiler fix
get_view_json
,get_as_json
, andget_sv_json
introspection functions- Added
glz::skip
See README for documentation
0.3.5
std::set
andstd::unordered_set
supportglz::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
- 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
- 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
- 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
- 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
- Removed use of undefined behavior in string comparison and hashing
- Minor cleanup and optimizations
0.2.9
- Small optimizations for hashing
- glz::poly now has compile time errors for mismatching function signatures and names
- glz::poly supports non-owning pointer