From 005aa39a6ba8807fc8a1f734489c748d68b36d21 Mon Sep 17 00:00:00 2001 From: Austin Harris Date: Sat, 26 Sep 2026 23:52:56 -0600 Subject: [PATCH 1/3] Release 2.0.0-preview.2 --- .../AustinHarris.JsonRpc.AspNetCore.csproj | 4 ++-- .../AustinHarris.JsonRpc.Newtonsoft.csproj | 4 ++-- .../AustinHarris.JsonRpc.SystemTextJson.csproj | 4 ++-- CHANGELOG.md | 2 +- Json-Rpc/AustinHarris.JsonRpc.csproj | 4 ++-- Json-Rpc/README.md | 2 +- README.md | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/AustinHarris.JsonRpc.AspNetCore/AustinHarris.JsonRpc.AspNetCore.csproj b/AustinHarris.JsonRpc.AspNetCore/AustinHarris.JsonRpc.AspNetCore.csproj index 3869014..b80da3b 100644 --- a/AustinHarris.JsonRpc.AspNetCore/AustinHarris.JsonRpc.AspNetCore.csproj +++ b/AustinHarris.JsonRpc.AspNetCore/AustinHarris.JsonRpc.AspNetCore.csproj @@ -6,8 +6,8 @@ Json-Rpc.Net ASP.NET Core host ASP.NET Core hosting for AustinHarris.JsonRpc. Adds HTTP endpoints and raw Kestrel connections over TCP, Unix sockets and named pipes, with dependency injection. 2.0.0 - preview.1 - 2.0.0-preview.1, released with the core package. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html + preview.2 + 2.0.0-preview.2, released with the core package. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html Austin Harris https://astn.github.io/JSON-RPC.NET/aspnetcore.html https://github.com/Astn/JSON-RPC.NET diff --git a/AustinHarris.JsonRpc.Newtonsoft/AustinHarris.JsonRpc.Newtonsoft.csproj b/AustinHarris.JsonRpc.Newtonsoft/AustinHarris.JsonRpc.Newtonsoft.csproj index 22d3b2a..b52e426 100644 --- a/AustinHarris.JsonRpc.Newtonsoft/AustinHarris.JsonRpc.Newtonsoft.csproj +++ b/AustinHarris.JsonRpc.Newtonsoft/AustinHarris.JsonRpc.Newtonsoft.csproj @@ -6,8 +6,8 @@ Json-Rpc.Net Json.NET serializer Json.NET serializer for AustinHarris.JsonRpc. Uses JsonSerializerSettings for converters, contract resolvers and lenient JSON input. 2.0.0 - preview.1 - 2.0.0-preview.1, released with the core package. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html + preview.2 + 2.0.0-preview.2, released with the core package. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html Austin Harris https://astn.github.io/JSON-RPC.NET/newtonsoft.html https://github.com/Astn/JSON-RPC.NET diff --git a/AustinHarris.JsonRpc.SystemTextJson/AustinHarris.JsonRpc.SystemTextJson.csproj b/AustinHarris.JsonRpc.SystemTextJson/AustinHarris.JsonRpc.SystemTextJson.csproj index 2f69a74..26a6c26 100644 --- a/AustinHarris.JsonRpc.SystemTextJson/AustinHarris.JsonRpc.SystemTextJson.csproj +++ b/AustinHarris.JsonRpc.SystemTextJson/AustinHarris.JsonRpc.SystemTextJson.csproj @@ -6,8 +6,8 @@ Json-Rpc.Net System.Text.Json serializer System.Text.Json serializer for AustinHarris.JsonRpc. Reads UTF-8 parameters and writes results directly to the response buffer, configured with JsonSerializerOptions. 2.0.0 - preview.1 - 2.0.0-preview.1, released with the core package. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html + preview.2 + 2.0.0-preview.2, released with the core package. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html Austin Harris https://astn.github.io/JSON-RPC.NET/systemtextjson.html https://github.com/Astn/JSON-RPC.NET diff --git a/CHANGELOG.md b/CHANGELOG.md index f36070f..925fad2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ the package pages on NuGet link here. Versions follow [Semantic Versioning](https://semver.org/) for the public API and the documented wire behaviour: a breaking change to either means a new major version. -## 2.0.0 (in preview: `2.0.0-preview.1`) +## 2.0.0 (in preview: `2.0.0-preview.2`) ### Added diff --git a/Json-Rpc/AustinHarris.JsonRpc.csproj b/Json-Rpc/AustinHarris.JsonRpc.csproj index f704c10..29ba2cd 100644 --- a/Json-Rpc/AustinHarris.JsonRpc.csproj +++ b/Json-Rpc/AustinHarris.JsonRpc.csproj @@ -6,7 +6,7 @@ Json-Rpc.Net Core High-throughput JSON-RPC 2.0 server library for .NET Standard 2.0 through .NET 10: UTF-8 bytes in and out, no JSON library dependency, with Json.NET, System.Text.Json and ASP.NET Core hosting as companion packages. 2.0.0 - preview.1 + preview.2 Austin Harris https://astn.github.io/JSON-RPC.NET/ https://github.com/Astn/JSON-RPC.NET @@ -14,7 +14,7 @@ MIT README.md json-rpc;jsonrpc;json;rpc;server;netstandard;netstandard2.0;netstandard2.1;net8.0;net10.0;kestrel;pipelines;system.text.json;json.net;fast - 2.0.0-preview.1: the request pipeline rebuilt around UTF-8 bytes, the JSON serializer pluggable, Task and ValueTask methods supported again, about ten times the throughput of 1.2.3 on the same machine. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html + 2.0.0-preview.2: document and batch limits on by default (JsonRpcLimits), reserved method names refused at registration, InProcessClient removed, diagnostic ids on the obsolete members, and the documentation site. Since preview.1 the request pipeline is built around UTF-8 bytes, the JSON serializer is pluggable and Task and ValueTask methods are supported again, at about ten times the throughput of 1.2.3 on the same machine. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html netstandard2.0;netstandard2.1;net8.0;net10.0 latest true diff --git a/Json-Rpc/README.md b/Json-Rpc/README.md index 90e0de1..07311ab 100644 --- a/Json-Rpc/README.md +++ b/Json-Rpc/README.md @@ -32,7 +32,7 @@ The `#:sdk` and `#:package` directives select the web SDK and package. ```csharp #:sdk Microsoft.NET.Sdk.Web -#:package AustinHarris.JsonRpc.AspNetCore@2.0.0-preview.1 +#:package AustinHarris.JsonRpc.AspNetCore@2.0.0-preview.2 using AustinHarris.JsonRpc; using AustinHarris.JsonRpc.AspNetCore; diff --git a/README.md b/README.md index 424b3cf..037f29a 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ The core uses no reflection emit. The WebAssembly sample runs under the configur dotnet add package AustinHarris.JsonRpc --prerelease ``` -2.0 is published as `2.0.0-preview.1`; without `--prerelease`, NuGet resolves to the last 1.x release. +2.0 is published as `2.0.0-preview.2`; without `--prerelease`, NuGet resolves to the last 1.x release. Add `AustinHarris.JsonRpc.Newtonsoft` or `AustinHarris.JsonRpc.SystemTextJson` if you want that serializer, and `AustinHarris.JsonRpc.AspNetCore` to host in Kestrel. @@ -95,7 +95,7 @@ Save this as `server.cs`. It is a .NET 10 file-based app: one C# file with no pr ```csharp #:sdk Microsoft.NET.Sdk.Web -#:package AustinHarris.JsonRpc.AspNetCore@2.0.0-preview.1 +#:package AustinHarris.JsonRpc.AspNetCore@2.0.0-preview.2 using AustinHarris.JsonRpc; using AustinHarris.JsonRpc.AspNetCore; From 2269a4b5c3a1b19660ee17fc5858163642e8bd6b Mon Sep 17 00:00:00 2001 From: Austin Harris Date: Sun, 27 Sep 2026 19:47:15 -0600 Subject: [PATCH 2/3] Release 2.0.0-preview.2: state the measured ratios in the release notes --- Json-Rpc/AustinHarris.JsonRpc.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Json-Rpc/AustinHarris.JsonRpc.csproj b/Json-Rpc/AustinHarris.JsonRpc.csproj index 29ba2cd..2420d57 100644 --- a/Json-Rpc/AustinHarris.JsonRpc.csproj +++ b/Json-Rpc/AustinHarris.JsonRpc.csproj @@ -14,7 +14,7 @@ MIT README.md json-rpc;jsonrpc;json;rpc;server;netstandard;netstandard2.0;netstandard2.1;net8.0;net10.0;kestrel;pipelines;system.text.json;json.net;fast - 2.0.0-preview.2: document and batch limits on by default (JsonRpcLimits), reserved method names refused at registration, InProcessClient removed, diagnostic ids on the obsolete members, and the documentation site. Since preview.1 the request pipeline is built around UTF-8 bytes, the JSON serializer is pluggable and Task and ValueTask methods are supported again, at about ten times the throughput of 1.2.3 on the same machine. What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html + 2.0.0-preview.2: document and batch limits on by default (JsonRpcLimits), reserved method names refused at registration, InProcessClient removed, diagnostic ids on the obsolete members, and the documentation site. Since preview.1 the request pipeline is built around UTF-8 bytes, the JSON serializer is pluggable and Task and ValueTask methods are supported again, at six times the throughput of 1.2.3 through the 1.x string API and twenty-four times through the byte entry points, measured on a 32-core Hugging Face Jobs host (see the README). What is new: https://astn.github.io/JSON-RPC.NET/changelog.html. Upgrading from 1.x: https://astn.github.io/JSON-RPC.NET/upgrading.html netstandard2.0;netstandard2.1;net8.0;net10.0 latest true From 6ee93151cd96169efbfb4994590ff386bc462e6d Mon Sep 17 00:00:00 2001 From: Austin Harris Date: Sun, 27 Sep 2026 20:43:33 -0600 Subject: [PATCH 3/3] Release 2.0.0-preview.2: point the scaling flag at the publish job --- .github/workflows/build_pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 5566eba..85bee18 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -70,7 +70,7 @@ jobs: echo sed '/^Diagnostics/,$d' scale.txt | grep -E '^\|' echo - [ "$status" -eq 0 ] && echo "pass: 4/1 at least 2.0" || echo "**flag: 4/1 below 2.0 on this runner; reproduce with --scale 3 16 4.0 on the reference machine before reading it as a regression**" + [ "$status" -eq 0 ] && echo "pass: 4/1 at least 2.0" || echo "**flag: 4/1 below 2.0 on this runner; reproduce with the cpu-performance publish job (benchmarks/hf/launch.sh cpu-performance publish, gate --scale 3 32 4.0) before reading it as a regression**" echo echo "### Per-serializer diagnostics (one run per cell, not gated)" echo