Releases: stephenberry/glaze
Releases · stephenberry/glaze
1.2.1
- Added
.at()
tojson_t
(from @RozeFound) - Fixed dead constexpr branch of csv code
1.2.0
Breaking changes to binary (Crusher) specification and implementation in Glaze. We looked into implementing CBOR, but the performance would have been much worse. The specification now directly maps to JSON. It fulfills the same role as CBOR, but with much higher performance and in some cases better compression (smaller sizes).
Other changes:
- Faster JSON reading
- Improved compile time maps
- Simplified internal code along with minor improvements and cleaning
1.1.2
See version 1.1.1 notes for more recent updates.
- CSV api changes to be more readable (switching between row-wise and column-wise)
1.1.1
- Added initial CSV reading and writing for standard maps and glaze meta objects (see csv_test.cpp). Supports both row-wise and column-wise format.
- Better performance on clang using
flatten
attribute - Added intermediate checks for better error messages
- Other minor fixes and optimizations
1.1.0
- JSON-RPC 2.0 extension (
glaze/ext/jsonrpc.hpp
). Compile time specification of JSON-RPC methods making it unnecessary to convert JSON to its according params/result/error type. (thanks to @jbbjarnason) - Added
std::string_view
support (thanks to @SlaaneshChosen) - Bug fixes and clang-format action (thanks to @pwqbot)
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