From 13d23d02445800159361406889d8f1cd625777f5 Mon Sep 17 00:00:00 2001 From: Shou-Li Hsu Date: Fri, 5 Dec 2025 12:37:56 -0800 Subject: [PATCH] Bump version to 2.1.2 --- CHANGELOG.md | 45 ++++++++++++++++++++++++++++++--------------- CMakeLists.txt | 2 +- MODULE.bazel | 2 +- README.md | 6 +++--- conanfile.py | 2 +- 5 files changed, 36 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ee151d3..5738233a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.1.2] - 2025-12-05 + +### Added + +- Multi-compiler CI testing (GCC 13, Clang 19, MSVC) + +### Fixed + +- MSVC compatibility issues (#61, @jbraun2025) + ## [2.1.1] - 2025-03-24 ### Changed - Replace direct framing with MessageFramer class -- Add comprehensive split message tests + +### Added + +- Comprehensive split message tests ## [2.1.0] - 2025-03-16 @@ -27,7 +40,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update spdlog from 1.14.1 to 1.15.1 - Update asio from 1.28.2 to 1.32.0 - Update bazel_skylib from 1.5.0 to 1.7.1 -- Modify CMakePresets.json to use Clang compiler by default, resolving batch processing memory allocation issues experienced with GCC + +### Fixed + +- CMakePresets.json to use Clang compiler by default, resolving batch processing memory allocation issues with GCC ## [2.0.1] - 2025-03-09 @@ -46,7 +62,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Refactored transport layer to use asynchronous operations throughout - Redesigned RPC endpoint to leverage coroutines for all operations - Transitioned from thread pools to IO context-based execution -- Removed manual thread management in favor of asio's task model - Improved error handling with exception propagation in coroutines ### Added @@ -67,15 +82,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Initial release of JSON-RPC 2.0 C++ implementation. -- Implemented core JSON-RPC functionality: - - Methods and notifications with named and positional parameters. - - Abstract transport layer support with stdio, HTTP, and ASIO socket connectors. - - Support for JSON-RPC batch mode. -- Client and server implementation with example files. -- Bazel build system and Conan package management support. -- Doxygen documentation with enhanced branding. -- Unit tests for key components: client, server, request, response, and transport layers. -- ASIO socket and Unix domain socket transport implementations. -- Support for async method calls and non-blocking request handling. -- Google C++ Style alignment and modern C++ practices. +- Initial release of JSON-RPC 2.0 C++ implementation +- Core JSON-RPC functionality: + - Methods and notifications with named and positional parameters + - Abstract transport layer support with stdio, HTTP, and ASIO socket connectors + - Support for JSON-RPC batch mode +- Client and server implementation with example files +- Bazel build system and Conan package management support +- Doxygen documentation with enhanced branding +- Unit tests for key components: client, server, request, response, and transport layers +- ASIO socket and Unix domain socket transport implementations +- Support for async method calls and non-blocking request handling +- Google C++ Style alignment and modern C++ practices diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b7a044f..e2a5b367 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.19) -project(jsonrpc VERSION 2.1.1 LANGUAGES CXX) +project(jsonrpc VERSION 2.1.2 LANGUAGES CXX) # Set C++ standard set(CMAKE_CXX_STANDARD 23) diff --git a/MODULE.bazel b/MODULE.bazel index 31f58de7..69a78824 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,7 +4,7 @@ MODULE.bazel file for the jsonrpc module module( name = "jsonrpc", - version = "2.1.1", + version = "2.1.2", compatibility_level = 1, ) diff --git a/README.md b/README.md index 13066f8d..f1d692ab 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ bazel_dep(name = "jsonrpc", version = "0.0.0") git_override( module_name = "jsonrpc", remote = "https://github.com/hankhsu1996/jsonrpc-cpp-lib.git", - tag = "v2.1.1" + tag = "v2.1.2" ) ``` @@ -56,7 +56,7 @@ include(FetchContent) FetchContent_Declare( jsonrpc GIT_REPOSITORY https://github.com/hankhsu1996/jsonrpc-cpp-lib.git - GIT_TAG v2.1.1 + GIT_TAG v2.1.2 ) FetchContent_MakeAvailable(jsonrpc) @@ -102,7 +102,7 @@ For projects using Conan for dependency management, create a `conanfile.txt` in ```ini [requires] -jsonrpc/2.1.1 +jsonrpc/2.1.2 [generators] CMakeDeps diff --git a/conanfile.py b/conanfile.py index 10dcfb68..f8719c49 100644 --- a/conanfile.py +++ b/conanfile.py @@ -5,7 +5,7 @@ class JsonRpcRecipe(ConanFile): """ Conan recipe for jsonrpc """ name = "jsonrpc" - version = "2.1.1" + version = "2.1.2" license = "MIT" author = "Shou-Li Hsu " url = "https://github.com/hankhsu1996/jsonrpc-cpp-lib"