Update dependency stephenberry/glaze to v7.2.0 #60

Merged
Bluemedia merged 1 commit from renovate/stephenberry-glaze-7.x into main 2026-03-10 21:05:45 +00:00
Collaborator

This PR contains the following updates:

Package Update Change
stephenberry/glaze minor 7.1.17.2.0

Release Notes

stephenberry/glaze (stephenberry/glaze)

v7.2.0

Compare Source

C++26 Reflection Support!

Glaze now supports P2996 "Reflection for C++26". This unlocks capabilities that aren't possible with older compile-time reflection:

  • Non-aggregate types — classes with constructors, virtual functions, and inheritance just work
  • Automatic enum serialization — no glz::meta needed, enums serialize to strings automatically
  • Unlimited struct members — no 128-member cap
  • Private member access — reflect on all members regardless of access specifiers
  • Standardized — no compiler-specific hacks, built on std::meta
// Classes with constructors — just works with P2996
class User {
public:
   std::string name;
   int age;
   User() = default;
   User(std::string n, int a) : name(std::move(n)), age(a) {}
};

User u{"Alice", 30};
auto json = glz::write_json(u).value_or("error");
// {"name":"Alice","age":30}

// Enums serialize as strings — no glz::meta required
enum class Color { Red, Green, Blue };
Color c = Color::Green;

struct reflect_enums_opts : glz::opts {
   bool reflect_enums = true;
};
auto color_json = glz::write<reflect_enums_opts{}>(c).value_or("error");
// "Green"

Note that the reflect_enums option has been added to avoid a breaking change for how Glaze default serializes enums as their numerical equivalent.

Supported compilers: GCC 16+ (-std=c++26 -freflection) and Bloomberg clang-p2996. See the C++26 reflection documentation for setup and details.

Improvements

Fixes

New Contributors

Full Changelog: https://github.com/stephenberry/glaze/compare/v7.1.1...v7.2.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [stephenberry/glaze](https://github.com/stephenberry/glaze) | minor | `7.1.1` → `7.2.0` | --- ### Release Notes <details> <summary>stephenberry/glaze (stephenberry/glaze)</summary> ### [`v7.2.0`](https://github.com/stephenberry/glaze/releases/tag/v7.2.0) [Compare Source](https://github.com/stephenberry/glaze/compare/v7.1.1...v7.2.0) ### C++26 Reflection Support! Glaze now supports [P2996 "Reflection for C++26"](https://wg21.link/P2996). This unlocks capabilities that aren't possible with older compile-time reflection: - **Non-aggregate types** — classes with constructors, virtual functions, and inheritance just work - **Automatic enum serialization** — no `glz::meta` needed, enums serialize to strings automatically - **Unlimited struct members** — no 128-member cap - **Private member access** — reflect on all members regardless of access specifiers - **Standardized** — no compiler-specific hacks, built on `std::meta` ```cpp // Classes with constructors — just works with P2996 class User { public: std::string name; int age; User() = default; User(std::string n, int a) : name(std::move(n)), age(a) {} }; User u{"Alice", 30}; auto json = glz::write_json(u).value_or("error"); // {"name":"Alice","age":30} // Enums serialize as strings — no glz::meta required enum class Color { Red, Green, Blue }; Color c = Color::Green; struct reflect_enums_opts : glz::opts { bool reflect_enums = true; }; auto color_json = glz::write<reflect_enums_opts{}>(c).value_or("error"); // "Green" ``` > Note that the `reflect_enums` option has been added to avoid a breaking change for how Glaze default serializes enums as their numerical equivalent. Supported compilers: [GCC 16+](https://gcc.gnu.org/gcc-16/changes.html) (`-std=c++26 -freflection`) and [Bloomberg clang-p2996](https://github.com/bloomberg/clang-p2996). See the [C++26 reflection documentation](https://stephenberry.github.io/glaze/p2996-reflection/) for setup and details. - C++26 Reflection by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2217](https://github.com/stephenberry/glaze/pull/2217) #### Improvements - Make stream\_request buffer size configurable + update docs by [@&#8203;frak0d](https://github.com/frak0d) in [#&#8203;2354](https://github.com/stephenberry/glaze/pull/2354) #### Fixes - YAML fix for unindented sequence under a known key by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2357](https://github.com/stephenberry/glaze/pull/2357) - Fix YAML double-quoted \xXX being interpreted as a byte instead of a codepoint by [@&#8203;nghiaho310pf](https://github.com/nghiaho310pf) in [#&#8203;2359](https://github.com/stephenberry/glaze/pull/2359) - YAML Fixes and Improvements by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2358](https://github.com/stephenberry/glaze/pull/2358) #### New Contributors - [@&#8203;nghiaho310pf](https://github.com/nghiaho310pf) made their first contribution in [#&#8203;2359](https://github.com/stephenberry/glaze/pull/2359) - [@&#8203;frak0d](https://github.com/frak0d) made their first contribution in [#&#8203;2354](https://github.com/stephenberry/glaze/pull/2354) **Full Changelog**: <https://github.com/stephenberry/glaze/compare/v7.1.1...v7.2.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42MC41IiwidXBkYXRlZEluVmVyIjoiNDMuNjAuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Update dependency stephenberry/glaze to v7.2.0
All checks were successful
ci/woodpecker/push/glaze Pipeline was successful
c67470b342
Bluemedia deleted branch renovate/stephenberry-glaze-7.x 2026-03-10 21:05:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Bluemedia/desktop-environment-rpms!60
No description provided.