Update dependency stephenberry/glaze to v9 #120

Open
Renovate wants to merge 1 commit from renovate/stephenberry-glaze-9.x into main
Collaborator

This PR contains the following updates:

Package Update Change
stephenberry/glaze major 8.4.0 → 9.0.0

Release Notes

stephenberry/glaze

v9.0.0

Compare Source

Breaking changes

  • MessagePack and CBOR wire format (#​2853): variants are written in the shape their glz::meta declares, as in JSON and BEVE, instead of wrapped in a Glaze-specific id or index. MessagePack structs are now keyed maps. Variants written by earlier versions no longer read back, and earlier MessagePack structs read back only under structs_as_arrays.
  • Removed: glz::invoke_update (#​2913), shared_async_map and shared_async_vector (#​2916), glz::hostname_include (#​2924), glz::disable_padding_on/off (#​2872).
  • Writing a glz::invoke member is a compile error (#​2913). Exclude it with meta<T>::skip. Formats without support for a Glaze wrapper type now reject it at compile time instead of reflecting its internals (#​2932).
  • meta<T>::skip applies to every keyed format (#​2925): BEVE, CBOR, MessagePack, TOML, BSON and JSONB now drop skipped keys, as JSON and YAML already did.
  • is_padded is now the caller's promise that their buffer has padding_bytes of readable slack past the end (#​2872).
  • Stricter parsing: numbers with an empty exponent such as 1e (#​2935) and JSON Pointer array indices with leading zeros (#​2894) are rejected.
  • TLS: http_server and the HTTP/WebSocket clients refuse TLS 1.0 and 1.1 (#​2873, #​2874).
  • An empty glz::raw_json writes null instead of nothing (#​2890).

Feature-test macros: glaze_v9_0_0_meta_skip_all_formats, glaze_v9_0_0_invoke, glaze_v9_0_0_wrappers_not_reflected.

Highlights

  • Faster reads that never modify the input (#​2872): glz::read no longer resizes the caller's buffer to pad it, which makes small-document reads several times faster.
  • glz::custom in every format that can express it (#​2811).
  • Compact, portable MessagePack and CBOR for variants and glz::generic (#​2853).
  • HTTPS server negotiates TLS 1.3 and exposes its SSL context via configure_ssl_context (#​2873).
  • Reusable contexts: a glz::context stays usable after a failed or partial read (#​2927, #​2930).
  • RFC 6902 JSON Patch conformance (#​2894), and every public header compiles on its own (#​2931).

What's Changed

New Contributors

Full Changelog: https://github.com/stephenberry/glaze/compare/v8.4.0...v9.0.0


Configuration

📅 Schedule: (UTC)

  • 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 Mend Renovate CLI.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [stephenberry/glaze](https://github.com/stephenberry/glaze) | major | `8.4.0` → `9.0.0` | --- ### Release Notes <details> <summary>stephenberry/glaze</summary> ### [`v9.0.0`](https://github.com/stephenberry/glaze/releases/tag/v9.0.0) [Compare Source](https://github.com/stephenberry/glaze/compare/v8.4.0...v9.0.0) #### Breaking changes - **MessagePack and CBOR wire format** ([#&#8203;2853](https://github.com/stephenberry/glaze/issues/2853)): variants are written in the shape their `glz::meta` declares, as in JSON and BEVE, instead of wrapped in a Glaze-specific id or index. MessagePack structs are now keyed maps. Variants written by earlier versions no longer read back, and earlier MessagePack structs read back only under `structs_as_arrays`. - **Removed:** `glz::invoke_update` ([#&#8203;2913](https://github.com/stephenberry/glaze/issues/2913)), `shared_async_map` and `shared_async_vector` ([#&#8203;2916](https://github.com/stephenberry/glaze/issues/2916)), `glz::hostname_include` ([#&#8203;2924](https://github.com/stephenberry/glaze/issues/2924)), `glz::disable_padding_on/off` ([#&#8203;2872](https://github.com/stephenberry/glaze/issues/2872)). - **Writing a `glz::invoke` member is a compile error** ([#&#8203;2913](https://github.com/stephenberry/glaze/issues/2913)). Exclude it with `meta<T>::skip`. Formats without support for a Glaze wrapper type now reject it at compile time instead of reflecting its internals ([#&#8203;2932](https://github.com/stephenberry/glaze/issues/2932)). - **`meta<T>::skip` applies to every keyed format** ([#&#8203;2925](https://github.com/stephenberry/glaze/issues/2925)): BEVE, CBOR, MessagePack, TOML, BSON and JSONB now drop skipped keys, as JSON and YAML already did. - **`is_padded`** is now the caller's promise that their buffer has `padding_bytes` of readable slack past the end ([#&#8203;2872](https://github.com/stephenberry/glaze/issues/2872)). - **Stricter parsing:** numbers with an empty exponent such as `1e` ([#&#8203;2935](https://github.com/stephenberry/glaze/issues/2935)) and JSON Pointer array indices with leading zeros ([#&#8203;2894](https://github.com/stephenberry/glaze/issues/2894)) are rejected. - **TLS:** `http_server` and the HTTP/WebSocket clients refuse TLS 1.0 and 1.1 ([#&#8203;2873](https://github.com/stephenberry/glaze/issues/2873), [#&#8203;2874](https://github.com/stephenberry/glaze/issues/2874)). - An empty `glz::raw_json` writes `null` instead of nothing ([#&#8203;2890](https://github.com/stephenberry/glaze/issues/2890)). Feature-test macros: `glaze_v9_0_0_meta_skip_all_formats`, `glaze_v9_0_0_invoke`, `glaze_v9_0_0_wrappers_not_reflected`. #### Highlights - **Faster reads that never modify the input** ([#&#8203;2872](https://github.com/stephenberry/glaze/issues/2872)): `glz::read` no longer resizes the caller's buffer to pad it, which makes small-document reads several times faster. - **`glz::custom` in every format** that can express it ([#&#8203;2811](https://github.com/stephenberry/glaze/issues/2811)). - **Compact, portable MessagePack and CBOR** for variants and `glz::generic` ([#&#8203;2853](https://github.com/stephenberry/glaze/issues/2853)). - **HTTPS server negotiates TLS 1.3** and exposes its SSL context via `configure_ssl_context` ([#&#8203;2873](https://github.com/stephenberry/glaze/issues/2873)). - **Reusable contexts:** a `glz::context` stays usable after a failed or partial read ([#&#8203;2927](https://github.com/stephenberry/glaze/issues/2927), [#&#8203;2930](https://github.com/stephenberry/glaze/issues/2930)). - **RFC 6902 JSON Patch conformance** ([#&#8203;2894](https://github.com/stephenberry/glaze/issues/2894)), and every public header compiles on its own ([#&#8203;2931](https://github.com/stephenberry/glaze/issues/2931)). #### What's Changed - bound the readers instead of padding the input by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2872](https://github.com/stephenberry/glaze/pull/2872) - http_server: negotiate TLS 1.3 and expose the SSL context by [@&#8203;michaelaeriksen](https://github.com/michaelaeriksen) in [#&#8203;2873](https://github.com/stephenberry/glaze/pull/2873) - net: raise the TLS floor on the client side, assert SSL context is configured before start() by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2874](https://github.com/stephenberry/glaze/pull/2874) - Handle // comments in the JSONC formatters and fix the comment scanners ([#&#8203;2864](https://github.com/stephenberry/glaze/issues/2864)) by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2881](https://github.com/stephenberry/glaze/pull/2881) - bound prettify's writes to a fixed-capacity output by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2882](https://github.com/stephenberry/glaze/pull/2882) - Fix YAML quote lookahead crossing line boundaries by [@&#8203;Skold177](https://github.com/Skold177) in [#&#8203;2869](https://github.com/stephenberry/glaze/pull/2869) - Fix the YAML implicit-key probes' handling of the '' escape by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2892](https://github.com/stephenberry/glaze/pull/2892) - Fold the key length into the full hash by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2893](https://github.com/stephenberry/glaze/pull/2893) - Tidy read_base64: unsigned accumulator, 256 B decode table by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2908](https://github.com/stephenberry/glaze/pull/2908) - Don't clobber std::atomic on a failed read by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2909](https://github.com/stephenberry/glaze/pull/2909) - Don't skip the atomic store on non-error codes by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2914](https://github.com/stephenberry/glaze/pull/2914) - Remove glz::invoke_update; writing an invoke member is now an error by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2913](https://github.com/stephenberry/glaze/pull/2913) - Match prettify's depth limit to the readers by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2920](https://github.com/stephenberry/glaze/pull/2920) - Don't count scalars against the binary-to-JSON depth limit by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2921](https://github.com/stephenberry/glaze/pull/2921) - Enforce RFC 6901 array indices, fix RFC 6902 patch conformance by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2894](https://github.com/stephenberry/glaze/pull/2894) - Serialize value proxies as their element in any format by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2915](https://github.com/stephenberry/glaze/pull/2915) - Remove shared_async_map and shared_async_vector by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2916](https://github.com/stephenberry/glaze/pull/2916) - Write null for an empty raw_json by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2890](https://github.com/stephenberry/glaze/pull/2890) - send no body for HEAD, 204 and 304 replies in send_response_with_conn by [@&#8203;uwezkhan](https://github.com/uwezkhan) in [#&#8203;2917](https://github.com/stephenberry/glaze/pull/2917) - Fix streaming response framing by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2922](https://github.com/stephenberry/glaze/pull/2922) - Use the shared reason-phrase table in the server writers by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2923](https://github.com/stephenberry/glaze/pull/2923) - fix int64 wrap of far-range dates in time_point readers by [@&#8203;uwezkhan](https://github.com/uwezkhan) in [#&#8203;2899](https://github.com/stephenberry/glaze/pull/2899) - Write variants by their declared shape in MessagePack and CBOR by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2853](https://github.com/stephenberry/glaze/pull/2853) - Count file include keys toward error_on_missing_keys by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2812](https://github.com/stephenberry/glaze/pull/2812) - Remove glz::hostname_include by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2924](https://github.com/stephenberry/glaze/pull/2924) - Support glz::custom for every format that can express it by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2811](https://github.com/stephenberry/glaze/pull/2811) - Fix custom_formats_test include order by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2928](https://github.com/stephenberry/glaze/pull/2928) - Time the ambiguous nest guards by depth scaling, not wall clock by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2938](https://github.com/stephenberry/glaze/pull/2938) - Honor meta::skip in every keyed format by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2925](https://github.com/stephenberry/glaze/pull/2925) - Reject wrappers in formats that lack support for them by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2932](https://github.com/stephenberry/glaze/pull/2932) - Don't treat partial_read_complete as a failed read by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2927](https://github.com/stephenberry/glaze/pull/2927) - Reset per-call context state so a reused context survives a failed read by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2930](https://github.com/stephenberry/glaze/pull/2930) - Correctly round long mantissas under opts_size by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2929](https://github.com/stephenberry/glaze/pull/2929) - Fix subproject configure with EETF or SSL enabled by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2933](https://github.com/stephenberry/glaze/pull/2933) - Reject numbers with an empty exponent by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2935](https://github.com/stephenberry/glaze/pull/2935) - Don't extend is_padded to buffers the caller didn't pass by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2937](https://github.com/stephenberry/glaze/pull/2937) - Fix bit_array bit scans above 64 bits by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2934](https://github.com/stephenberry/glaze/pull/2934) - Assert glz::visit index in range in debug builds by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2936](https://github.com/stephenberry/glaze/pull/2936) - Make all public headers compile standalone by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2931](https://github.com/stephenberry/glaze/pull/2931) - Quote YAML strings a literal block cannot round trip by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2926](https://github.com/stephenberry/glaze/pull/2926) - Leave depth restoration after a partial read to call_scope by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2939](https://github.com/stephenberry/glaze/pull/2939) - Link SQLite3::SQLite3 instead of the deprecated SQLite::SQLite3 by [@&#8203;stephenberry](https://github.com/stephenberry) in [#&#8203;2940](https://github.com/stephenberry/glaze/pull/2940) #### New Contributors - [@&#8203;michaelaeriksen](https://github.com/michaelaeriksen) made their first contribution in [#&#8203;2873](https://github.com/stephenberry/glaze/pull/2873) - [@&#8203;Skold177](https://github.com/Skold177) made their first contribution in [#&#8203;2869](https://github.com/stephenberry/glaze/pull/2869) **Full Changelog**: <https://github.com/stephenberry/glaze/compare/v8.4.0...v9.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTIuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjE0Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update dependency stephenberry/glaze to v9
All checks were successful
ci/woodpecker/push/glaze Pipeline was successful
083c41b6fd
All checks were successful
ci/woodpecker/push/glaze Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/stephenberry-glaze-9.x:renovate/stephenberry-glaze-9.x
git switch renovate/stephenberry-glaze-9.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/stephenberry-glaze-9.x
git switch renovate/stephenberry-glaze-9.x
git rebase main
git switch main
git merge --ff-only renovate/stephenberry-glaze-9.x
git switch renovate/stephenberry-glaze-9.x
git rebase main
git switch main
git merge --no-ff renovate/stephenberry-glaze-9.x
git switch main
git merge --squash renovate/stephenberry-glaze-9.x
git switch main
git merge --ff-only renovate/stephenberry-glaze-9.x
git switch main
git merge renovate/stephenberry-glaze-9.x
git push origin main
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!120
No description provided.