chore(deps): update dependency stephenberry/glaze to v7.0.2 #204
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.0.1→7.0.2Release Notes
stephenberry/glaze (stephenberry/glaze)
v7.0.2Compare Source
Glaze v7.0.2
Highlights
std::expectedsupport extended to BEVE and CBOR formats, plusstd::expected<void, E>handling in JSONasio::any_io_executorfor shared event loopsYAML Support (#2243)
Glaze now includes a YAML 1.2 Core Schema reader and writer. All types with existing
glz::metaspecializations work automatically with YAML -- no additional boilerplate required.Features:
|) and folded (>) block scalars with chomping modifiers0x), octal (0o), and binary (0b) integer literals.inf,-.inf,.nan,null,~!!str,!!int,!!float,!!bool,!!null,!!seq,!!map)---and...)std::variant,std::optional,std::unique_ptr,std::shared_ptr, enum, tuple, and pair supportglz::read_file_yaml/glz::write_file_yamlindent_width,flow_style,skip_null_members,error_on_unknown_keysYAML is not included in the main
glaze/glaze.hppheader to avoid unnecessary compile-time cost. Includeglaze/yaml.hppexplicitly.std::expectedSupportstd::expected<void, E>in JSON (#2251)std::expected<void, E>is now handled correctly in JSON serialization and deserialization:BEVE and CBOR Support (#2253)
std::expected<T, E>(includingstd::expected<void, E>) is now fully supported in both BEVE and CBOR formats, using the same{"unexpected": error}encoding convention as JSON.Enum Hashing Improvements
Fallback When Hashing Fails (#2263)
Previously, enums with adversarial value distributions could cause a compile error if the perfect hash seed search failed. The library now gracefully falls back:
This also fixes a potential out-of-bounds read when parsing standalone enum strings at the end of input.
HTTP Server/Client Executor Support (#2258)
glz::http_serverandglz::http_clientcan now be constructed with anasio::any_io_executor, allowing integration into an existing ASIO application with a shared event loop.The legacy constructor accepting
std::shared_ptr<asio::io_context>is preserved for backward compatibility.Binary Size Optimization
Simple Float Table Reduction (#2248)
The
simple_floatmodule's power-of-5 lookup tables were reduced by ~76%:int32_ttoint16_tNumbers with exponents outside [-16, +16] fall back to binary exponentiation.
Pull Requests
asio::any_io_executorsupportstd::expectedsupportstd::expected<void, E>JSON supportFull Changelog: stephenberry/glaze@v7.0.1...v7.0.2
Configuration
📅 Schedule: Branch creation - Every minute ( * * * * * ) in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.