From 9952807f4f8057c074309ba9fc9ec4e5fde5336e Mon Sep 17 00:00:00 2001 From: Aaron James Long Date: Thu, 22 Oct 2026 14:16:30 +0100 Subject: [PATCH] chore(release): prepare v2.6.0 Bump meson.build, the header version macros and the docs/api.md version example to 2.6.0, and move the unreleased entries into the 2.6.0 section with one heading per category. Refs #20 --- CHANGELOG.md | 2 ++ docs/api.md | 8 ++++---- include/ppack.h | 4 ++-- meson.build | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 494228d..21ab920 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +## [2.6.0] - 2026-10-22 + ### Added - `meson install` generates a `ppack.pc` file, so an installed package is consumed with `pkg-config --cflags --libs ppack`, and the build registers `ppack` with `meson.override_dependency`. diff --git a/docs/api.md b/docs/api.md index 257432f..85a111e 100644 --- a/docs/api.md +++ b/docs/api.md @@ -221,16 +221,16 @@ The same table pattern serves I²C and SPI device frames, register images, fixed ```c #define PPACK_VERSION_MAJOR 2 -#define PPACK_VERSION_MINOR 5 +#define PPACK_VERSION_MINOR 6 #define PPACK_VERSION_PATCH 0 -#define PPACK_VERSION "2.5.0" +#define PPACK_VERSION "2.6.0" ``` `PPACK_VERSION_NUMBER` is `MAJOR * 10000 + MINOR * 100 + PATCH` as a `long`, so it holds any version where `int` is 16 bits. Compare it in the preprocessor to require a minimum release: ```c -#if PPACK_VERSION_NUMBER < 20500L -#error "ppack 2.5.0 or later is required" +#if PPACK_VERSION_NUMBER < 20600L +#error "ppack 2.6.0 or later is required" #endif ``` diff --git a/include/ppack.h b/include/ppack.h index 9b86994..c2e3fb2 100644 --- a/include/ppack.h +++ b/include/ppack.h @@ -34,9 +34,9 @@ /* cppcheck-suppress-begin misra-c2012-2.5 ; @deviation Public version macros * for consumer diagnostics and #if checks; the library does not use them. */ #define PPACK_VERSION_MAJOR 2 -#define PPACK_VERSION_MINOR 5 +#define PPACK_VERSION_MINOR 6 #define PPACK_VERSION_PATCH 0 -#define PPACK_VERSION "2.5.0" +#define PPACK_VERSION "2.6.0" #define PPACK_VERSION_STRING PPACK_VERSION #define PPACK_VERSION_NUMBER \ ((PPACK_VERSION_MAJOR * 10000L) + (PPACK_VERSION_MINOR * 100L) \ diff --git a/meson.build b/meson.build index 11b805d..4a6138a 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'ppack', 'c', - version: '2.5.0', + version: '2.6.0', meson_version: '>=0.57.0', default_options: [ 'c_std=c11',