glaze 7.5.0#279856
Merged
BrewTestBot merged 2 commits intomainfrom Apr 28, 2026
Merged
Conversation
chenrui333
approved these changes
Apr 28, 2026
Contributor
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Created by
brew bumpCreated with
brew bump-formula-pr.Details
release notes
Faster Float Writing
glz::to_charsfor floats now uses a header-only port of Victor Zverovich's zmij (Schubfach + xjb) in place of dragonbox.OptSize=true) is ~4–8× faster than the previoussimple_float::to_charsat roughly the same footprint.simple_float::from_charsno longer hits a 1-ULP rounding miss on platforms wherelong doublealiasesdouble(ARM64 macOS, MSVC).Full exhaustive sweep over all 4,278,190,080 finite
floatvalues round-trips exactly.Struct Flattening with
glz::mergeglz::mergenow works insideglz::metawith member pointers, enabling both reading and writing of composite structs as flat JSON objects.Sub-types can be either
glaze_object_t(with custom key names) orreflectable(automatic reflection), and any number of sub-structs can be merged. Implemented entirely at thereflect<T>layer, so JSON, BEVE, YAML, CBOR, and other formats all pick it up automatically.glz::mergesupport for aggregate structs by @stephenberry in glz::merge support for aggregate structs stephenberry/glaze#2503flatten_mapWrapperA new
glz::flatten_mapwrapper serializes map-like containers as flat arrays of the form[key elements..., mapped value, ...], supporting fixed-size keys (std::pair, tuples, Glaze arrays,std::array) for both reading and writing.Usable both inside
glz::metavia member pointer (glz::flatten_map<&T::m>) and as a top-level CTAD wrapper (glz::flatten_map_wrapper{map}).flatten_mapwrapper by @stephenberry in flatten_map wrapper stephenberry/glaze#2412flatten_map_wrappertop-level wrapping via CTAD by @stephenberry in flatten_map_wrapper: support top-level wrapping via CTAD stephenberry/glaze#2526Improvements
skip_null_membershonored by JSONB, CBOR, MsgPack, and BEVE map writers, matching the existing struct-writer behavior by @stephenberry in BSON Support stephenberry/glaze#2518Fixes
std::mapkeyed by an enum declared with thekeys+valuearray form ofglz::metano longer fails withexpected_quoteby @stephenberry in Named enum fix stephenberry/glaze#2523jsonb_to_jsonnow emits9e999/-9e999for±Infinity(matching SQLite'sjson()convention) instead ofnull.NaNcontinues to map tonull. Documentation also clarifies that 64-bit integer /binary64float ranges are a Glaze implementation constraint, not a SQLite spec limit by @stephenberry in jsonb_to_json: match SQLite json() for infinities stephenberry/glaze#2521Full Changelog: stephenberry/glaze@v7.4.0...v7.5.0
View the full release notes at https://github.com/stephenberry/glaze/releases/tag/v7.5.0.