From 5a4d0930014abd681ee4611a5f2bdca43f73ef91 Mon Sep 17 00:00:00 2001 From: Andste82 Date: Tue, 20 Oct 2026 13:44:30 +0000 Subject: [PATCH] chore(release): 0.12.0 The git tag is the source of truth for the version; this brings every package manifest in line with the v0.12.0 tag that follows. Pre-1.0, a minor bump may break API or wire output. Since v0.11.0: - SOFAB_DISABLE_UNION_SUPPORT is removed (tagged unions are always built), and a capacity-only blob option is forbidden. - sofab_object_encode refuses a string longer than its maxlen with SOFAB_RET_E_ARGUMENT before writing any byte of it; the new SOFAB_DISABLE_ENCODE_BOUNDS switch restores the unchecked emit (refs generator#656). - The object descriptor's field_count word is now count_extent: a default image may be a PREFIX of the object. SOFAB_OBJECT_COUNT_EXTENT is renamed SOFAB_OBJECT_DESCR_COUNT_WORD; a prefix image is spelled SOFAB_OBJECT_DESCR_WITH_PREFIX_DEFAULTS and is refused past 255 bytes. WITH_DEFAULTS keeps meaning a whole-object image. - A field past the descriptor profile is a compile error, not a truncated offset. - An inline row past its capacity is INVALID, not InvalidArgument. Also new: tagged-union descriptor and C++ decode hooks, FixedRowSeq / RowSeq, IStreamInto, bitsEqual, rejectArgument, a NULL zero-length output buffer, and -mcall-prologues on AVR (-1022 B atmega8 flash). Co-Authored-By: Claude Sonnet 5.5 --- CMakeLists.txt | 2 +- conanfile.py | 2 +- library.json | 2 +- library.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e286f32..8ff0970 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10) # (src/CMakeLists.txt) and is kept in lockstep with the package manifests by the # "Version consistency" workflow. Keep VERSION on its own line for that check. project(sofabuffers - VERSION 0.11.0 + VERSION 0.12.0 LANGUAGES C CXX) set(CMAKE_C_STANDARD 99) diff --git a/conanfile.py b/conanfile.py index c724cba..edaa71a 100644 --- a/conanfile.py +++ b/conanfile.py @@ -28,7 +28,7 @@ class SofaBuffersCorelibConan(ConanFile): name = "sofa-buffers-corelib-c-cpp" - version = "0.11.0" + version = "0.12.0" license = "MIT" author = "andste82" url = "https://github.com/sofa-buffers/corelib-c-cpp" diff --git a/library.json b/library.json index afed744..649904c 100644 --- a/library.json +++ b/library.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json", "name": "sofa-buffers-corelib-c-cpp", - "version": "0.11.0", + "version": "0.12.0", "description": "Dependency-free, heap-free, streaming C99/C++20 implementation of the SofaBuffers (Sofab) serialization format. Packs structured fields into a caller-owned buffer and decodes them through a callback-driven decoder, with no allocator and no third-party dependencies.", "keywords": "serialization, embedded, streaming, no-alloc, c99, cpp20", "license": "MIT", diff --git a/library.properties b/library.properties index 7e66292..2962331 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=sofa-buffers-corelib-c-cpp -version=0.11.0 +version=0.12.0 author=andste82 maintainer=andste82 sentence=Dependency-free, heap-free, streaming serializer for the SofaBuffers (Sofab) wire format.