From ea61624732815ca0489c241deb25fc7c90cbce82 Mon Sep 17 00:00:00 2001 From: HideBa Date: Fri, 14 Aug 2026 15:14:47 +0200 Subject: [PATCH 1/2] =?UTF-8?q?release(cpp):=200.9.0=20=E2=80=94=20Byte/Bi?= =?UTF-8?q?nary=20decode=20and=20optional=20FileInfo=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cpp-v0.8.1 tag (579969f) was cut on the release branch before #58 landed, so the shipped 0.8.1 port predates every C++ fix in it. This bump gives the vcpkg port a tag that carries them: - Byte/UByte/Binary feature attributes decode as the writer stores them (Byte unsigned; Binary a u32-LE-length-prefixed byte string emitted as a JSON array of numbers). - Nine FileInfo strings became std::optional and has_poc_email was deleted, so header metadata is gated on presence rather than emptiness, matching Rust. Minor, not patch: the FileInfo change breaks the API for anyone resolving flatcitybuf through the registry. --- src/cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt index adee992..01b6231 100644 --- a/src/cpp/CMakeLists.txt +++ b/src/cpp/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(flatcitybuf VERSION 0.8.1 LANGUAGES CXX) +project(flatcitybuf VERSION 0.9.0 LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) From dbed3fc01565f7d7cc3f996bb4ea173226a4cd79 Mon Sep 17 00:00:00 2001 From: HideBa Date: Fri, 14 Aug 2026 15:20:49 +0200 Subject: [PATCH 2/2] docs(cpp): vcpkg registry baseline for the 0.9.0 port Baseline 9171cc35 is HideBa/vcpkg master with [flatcitybuf] Update to 0.9.0. Verified with a manifest-mode consumer against the pushed registry: resolves flatcitybuf[curl] 0.9.0, flatcitybuf_VERSION reports 0.9.0, links and runs. --- src/cpp/INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/INSTALL.md b/src/cpp/INSTALL.md index d2d434c..96188e7 100644 --- a/src/cpp/INSTALL.md +++ b/src/cpp/INSTALL.md @@ -41,7 +41,7 @@ add a `vcpkg-configuration.json`: { "kind": "git", "repository": "https://github.com/HideBa/vcpkg", - "baseline": "5926be2ef7acd4371eaaf8dae1ffe507b71c5e58", + "baseline": "9171cc35ccca68dc481c7a3718d7785a2fb5c20e", "packages": ["flatcitybuf"] } ] @@ -64,7 +64,7 @@ HTTP range-request reader. Configure with vcpkg's toolchain file integrate exactly as in [Use from CMake](#use-from-cmake) below — the port installs the same `flatcitybuf::flatcitybuf` target the manual build does. -The port builds this directory from the `cpp-v0.8.1` tag (C++ releases are tagged `cpp-v`; bare `v` names the Rust crate releases) with tests and examples +The port builds this directory from the `cpp-v0.9.0` tag (C++ releases are tagged `cpp-v`; bare `v` names the Rust crate releases) with tests and examples off, JSON on. One packaging note: vcpkg ships a newer FlatBuffers than the generated headers' exact-version assert expects, so the port patches the assert to major-version-only.