Commit Graph

13 Commits

Author SHA1 Message Date
Wang Mingyu 5f60f22d4d glaze: upgrade 7.8.1 -> 7.8.2
Changelog:
===========
- Add WebSocket autobahn client testsuite
- Fail fast after receiving invalid UTF-8 payload in WebSocket connection
- Fix HTTP date formatting data race
- Fix exception reads from generic JSON
- guard iterator against end in stencilcount
- guard fixed-size arrays in beve bool and complex readers
- guard eetf_to_json length readers against char sign extension
- guard eetf big integer sign byte read against end
- guard http_client chunked readers against chunk size overflow

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-25 08:45:09 -07:00
Wang Mingyu 42a7e92f65 glaze: upgrade 7.7.1 -> 7.8.1
Improvements ============
- Add glz::reflect_array to serialize structs as arrays without enumerating
  members
- Centralize Asio backend selection into a glaze::asio target, and export it to
  find_package consumers so the standalone/Boost Asio macro pair is configured
  consistently
- Support custom_read/custom_write types as tagged variant alternatives
- Support custom_read/custom_write types as tagged variant alternatives in YAML
- Add a CI workflow for MSVC /O2 builds

Fixes ======
- Fix streaming buffer refill when skipping unknown keys
- RFC 6455: reject oversized WebSocket control frames
- RFC 9112: fix Host authority in HTTP and WebSocket clients
- Cast to unsigned char before cctype calls in parsers (avoids UB on negative
  char values)
- RFC 6455: fix WebSocket close frame validation
- Fix WebSocket client handling of data received together with the handshake
  response
- Guard std::numeric_limits<T>::min/max against Windows min/max macros
- Fix TOML/YAML block layout for transparent write wrappers
- Resolve custom variant specialization ambiguity for
  YAML/BEVE/CBOR/MessagePack/TOML
- Guard std::min & std::max calls from minwindef.h defines
- Fixed CMake version to match v7.8.1 tag (v7.8.0 was missing CMake and
  version.hpp bump)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-20 23:41:43 -07:00
Wang Mingyu 5f807c9be9 glaze: upgrade 7.7.0 -> 7.7.1
Changelog:
============
- Support YAML tagged variants (meta::tag/ids discriminator)
- Add CORS preflight test coverage for under-tested scenarios
- Fix float serialization on 32-bit MSVC (zmij SIMD path)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:36 -07:00
Wang Mingyu 08b25034c1 glaze: upgrade 7.6.0 -> 7.7.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-31 03:08:47 -07:00
Frede Hoey Braendstrup 4f276e4b8b glaze: 7.3.3 -> 7.6.0
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-13 00:17:26 -07:00
Wang Mingyu cb7da084bc glaze: upgrade 7.3.0 -> 7.3.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-14 08:59:30 -07:00
Wang Mingyu 968b2a5f90 glaze: upgrade 7.2.2 -> 7.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-10 07:59:53 -07:00
Wang Mingyu 47730c10df glaze: upgrade 7.2.1 -> 7.2.2
Improvements
=============
error_on_missing_array_elements option
Glaze vs Boost.Beast HTTP server benchmarks and optimizations
custom optional support
Add clang-cl CI workflow
Make REST router more like a map and allow overwriting routes

Fixes
======
YAML fix for generic_u64 and generic_i64
format_context to support specifying YAML in opts format field
glz::patch support for all glz::generic_ types
Avoid erroring on nullable value types
Fix GNU-style flag passing to MSVC frontend
Nullable value write skipping

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-01 19:29:04 -07:00
Wang Mingyu 5fad219b46 glaze: upgrade 7.1.1 -> 7.2.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-26 07:43:38 -07:00
Wang Mingyu 7a84f78832 glaze: upgrade 7.0.2 -> 7.1.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:25 -07:00
Peter Kjellerstedt 8837d163ab glaze: Update to 7.0.2
Changes since 7.0.1:

459946d3 version 7.0.2 bump
8879dd5e two element id optimization (#2264)
ecfc63b4 Committing clang-format changes
e0d153e9 Enum search for when hashing fails (#2263)
fc169a51 enum reflection documentation
3d8354a6 Committing clang-format changes
f3fc73cc Allow to construct a glz::http_server instance using an
         asio::io_executor (#2258)
625b6ddd Update README.md
56d20086 Update README.md
d3b51565 Update glaze_DISABLE_SIMD_WHEN_SUPPORTED documentation
77fb1384 Update README.md
f17d17ca Committing clang-format changes
69eed8c2 YAML support (#2243)
5d652476 Update json-schema.md (#2254)
04883eb1 BEVE and CBOR std::expected support (#2253)
8555337e FEATURE: [json] Add special handling for std::expected<void,E>
         (#2251)
ddea99c5 Simple float (#2248)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-06 10:06:27 -08:00
Frede Hoey Braendstrup 6be7812f7c glaze: include cmake files in glaze-dev package
The cmake files should be included in the glaze-dev package.
Without this patch, an application using the following

    find_package(glaze)
    target_link_libraries(myprogram PUBLIC glaze::glaze)

Would fail with the following error (with tmpdir redacted)

    CMake Error in deps/vesl/src/Platform/CMakeLists.txt:
      Imported target "glaze::glaze" includes non-existent path

        "$TMPDIR/recipe-sysroot/usr/share/include"

      in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

      * The path was deleted, renamed, or moved to another location.

      * An install or uninstall procedure did not complete successfully.

      * The installation package was faulty and references files it does not
      provide.

Signed-off-by: Frede Hoey Braendstrup <frederikbraendstrup@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-06 10:06:27 -08:00
Frede Hoey Braendstrup e854d8b7f6 glaze: add recipe at 7.0.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-30 23:59:04 -08:00