Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 30 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
```

Expand All @@ -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)

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <hank850503@gmail.com>"
url = "https://github.com/hankhsu1996/jsonrpc-cpp-lib"
Expand Down
Loading