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 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 8183bdf..7e42899 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..2420d57 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 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 diff --git a/Json-Rpc/README.md b/Json-Rpc/README.md index b194642..58f566a 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 f9040c3..f4a6e59 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,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. @@ -98,7 +98,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;