NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #948 most downloaded on NuGet
A cross-platform .NETStandard library that implements the JSON-RPC wire protocol and can use System.IO.Stream, System.IO.Pipelines or WebSocket so you can use it with any transport.
Latest stable
2.22.23
Last release 1 years ago
02 Oct 2025
Ships on a steady schedule
a new release about every 3 months
Most releases are documented
notes for 42 of 55 stable releases
5 versions withdrawn
withdrawn after publishing
127 years old
97 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Update dependency Microsoft.Bcl.AsyncInterfaces to v9 by @renovate in https://github.com/microsoft/vs-streamjsonrpc/pull/1163
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.22.11...v2.23.32-alpha
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Create dynamic proxies in the same ALC as the interface they implement by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1247
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.22.11...v2.22.23
Drop the vs-threading analyzers from our package by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1167
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.21.69...v2.22.11
Drop the vs-threading analyzers from our package by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1167
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.21.69...v2.22.3-alpha
Avoid crashing the process when Stream.Dispose throws by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1085
Stream.Dispose throws by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1085HttpClientMessageHandler.cs reference by @emmanuel-ferdman in https://github.com/microsoft/vs-streamjsonrpc/pull/1092Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.20.17...v2.21.69
Nothing published for this version
Address vulnerabilities in MessagePack and STJ by @RyanToth3 in https://github.com/microsoft/vs-streamjsonrpc/pull/1095
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.20.17...v2.20.20
Enable sending RPC marshalable objects *back* to their owner by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1065
JsonElement as the params object in the SystemTextJsonFormatter by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1074public interfaces nested in internal ones by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1072$/progress not matching any method by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1082Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.19.27...v2.20.17
Fix ETW logging of named arguments in System.Text.Json formatter by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1040
TargetMethod publicly by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1055Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.18.48...v2.19.27
LEGO: Pull request from juno/hb_152458e8-e8c0-49aa-b375-9938c873e7e8_20240319153626139 to main by @csigs in https://github.com/microsoft/vs-streamjson
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.18.44...v2.18.48
docs fix NotifyClientOfEvents option name by @kingosticks in https://github.com/microsoft/vs-streamjsonrpc/pull/982
IAsyncEnumerable<T> sent as return value from RPC methods by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/1004Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.17.11...v2.18.44
Fix optprof pipeline by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/971
No shipping changes
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.17.8...v2.17.11
Restructure README for inclusion in nuget package by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/943
SystemTextJsonFormatter in NewLineDelimitedMessageHandler by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/962Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.16.36...v2.17.8
Add a System.Text.Json formatter by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/908
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.15.29...v2.16.36
Fix ArrayTypeMismatchException on Android by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/879
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.14.24...v2.15.29
Bump Nerdbank.Streams from 2.9.109 to 2.9.112 by @dependabot in https://github.com/microsoft/vs-streamjsonrpc/pull/852
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.13.33...v2.14.24
Update Nerdbank.Streams to 2.9.87-alpha by @AArnott in https://github.com/microsoft/vs-streamjsonrpc/pull/817
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.12.27...v2.13.33
Nothing published for this version
Bump System.IO.Pipelines from 6.0.1 to 6.0.2 by @dependabot in https://github.com/microsoft/vs-streamjsonrpc/pull/776
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.11.35...v2.12.27
Nothing published for this version
Nothing published for this version
## Changes: ### Fixes: * #781: AddLocalRpcTarget does not publish events in parent interface
AddLocalRpcTarget<IServerDerived> does not publish events in parent interface## Changes: ### Fixes: * #763: Fix activity tracing to track entire execution time of inbound calls * #761: Defend against mutable statics causing JSO
JsonRpcIgnoreAttribute to block RPC access to particular methodsHandle FileNotFoundException thrown while deserializing exceptions by @rruizGit in https://github.com/microsoft/vs-streamjsonrpc/pull/773
Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.10.41...v2.10.44
This list of changes was auto generated.
ClientRequiresNamedArguments option for IProgress<T> notifications[JsonConverter] attributes on properties of custom params objects$type property in named arguments objectsThis list of changes was auto generated.
This list of changes was auto generated.
#717: Expose the IJsonRpcMessageWithId interface publicly
<details><summary><b>See More</b></summary>
#716: Fix testResults artifact collector when tests haven't run
#715: Bump System.Text.Encodings.Web from 4.5.1 to 5.0.1
#712: Force upgrade of vulnerable System.Text.Encodings.Web 4.5.0 to 4.5.1
#714: Add diagnostic logging to test runner
#713: Run tests on 64-bit processes
#707: Fix tracing regression
#706: Add ETW trace testing to pipeline
#697: Add support for top level properties and delegated dispatch
#699: Switch from XLF (back) to LCL
#696: Apply is null syntax pattern and analyzer
#693: Drop .NET Core 2.1 support
#652: AddLocalRpcTarget<T> should honor base interfaces when T is an interface
#659: Adding automated compliance tools to the build pipeline.
This list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.</details>
Revert #652, as this should have been saved for the v2.9 release.
Revert #652, as this should have been saved for the v2.9 release.
Enhancements: * #652 AddLocalRpcTarget should honor base interfaces when T is an interface Note this is rolled back in v2.8.28 because it should have
Enhancements:
Fixes:
This list of changes was auto generated.
MessagePackFormatter may deserialize ErrorDetails.Data twice, leading to data corruption the second time#619: Add extensibility point to customize deserialized exception types
#598: GC pressure fixes
#595: Short-lived JsonRpc connection perf improvements
#596: Optimize RPC target reflection <details><summary><b>See More</b></summary>
#594: Reduce string encoding/decoding in MessagePackFormatter
#583: Avoid loading Newtonsoft.Json in MessagePack scenarios
#576: Replace usage of Newtonsoft.Json's CamelCaseNamingStrategy.ResolvePropertyName with more performant implementation
#568: Add option to deserialize the original exception types thrown by the RPC server
#565: Update to MessagePack v2.2.44-rc
char[] in ToCamelCaseThis list of changes was auto generated.</details>
Nothing published for this version
Nothing published for this version
This list of changes was auto generated.
MessagePackFormatter may deserialize ErrorDetails.Data twice, leading to data corruption the second time#619: Add extensibility point to customize deserialized exception types
#598: GC pressure fixes
#595: Short-lived JsonRpc connection perf improvements
#596: Optimize RPC target reflection <details><summary><b>See More</b></summary>
#594: Reduce string encoding/decoding in MessagePackFormatter
#583: Avoid loading Newtonsoft.Json in MessagePack scenarios
#576: Replace usage of Newtonsoft.Json's CamelCaseNamingStrategy.ResolvePropertyName with more performant implementation
#568: Add option to deserialize the original exception types thrown by the RPC server
#565: Update to MessagePack v2.2.44-rc
char[] in ToCamelCaseThis list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
RemoteRpcExceptionThis list of changes was auto generated.</details>
This list of changes was auto generated.
IProgress<T> support fails when using MessagePack where T is a [Union] type#539: Tighten up exceptions thrown by formatters
#246: Stabilize Dispose patterns
#346: Add support for passing IObserver<T> objects over RPC
#532: Add support for passing IDisposable objects over RPC
<details><summary><b>See More</b></summary>
#521: JsonRpc should preserve order of invocations on RPC server by default
#522: Dynamic proxies should implement void returning methods by sending notifications
#517: Missing JsonRpc method to expose only members of a given interface from a given RPC target object
#502: Expose JsonRpc.CreateExceptionFromRpcError as a protected virtual method
#505: Add support for serializing exceptions
#503: Omit the error.data property when it is null
#501: Rename TransmissionCompletedSize event and add received event
#490: Add support for MessagePack [Union] types as parameter and return types
#480: Support streams as a return type
#460: MessagePackFormatter fails to deserialize Union types
IProgress<T> when T is a MessagePack [Union] typeprotected virtual methodThis list of changes was auto generated.</details>
Nothing published for this version
Updates Nerdbank.Streams dependency to 2.5.76 to address connection stability issues.
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
Task<IAsyncEnumerable<T>>This list of changes was auto generated.</details>
This list of changes was auto generated.
#458: Apply fix for IAsyncEnumerable<T> failure
#456: Update Nerdbank.Streams to 2.4.67
#451: Add test for async iterator method throwing an exception <details><summary><b>See More</b></summary>
#449: Allow RPC interfaces to derive from IDisposable
#450: Add JsonRpcTargetOptions.DisposeOnDisconnect
#428: Fix env var capitalization handling
This list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.
Nothing published for this version
Update Nerdbank.Streams dependency to 2.4.60. This gets IAsyncEnumerable working where T is a managed type.
IAsyncEnumerable<T> working where T is a managed type.This list of changes was auto generated.
This list of changes was auto generated.
<details><summary><b>See More</b></summary>
This list of changes was auto generated.</details>
This list of changes was auto generated.
#402: Report argument deserialization failures more precisely
#396: UI delay caused by JsonRpc.Dispose()
#369: RemoteInvocationException.ToString() return value should include remote callstack <details><summary><b>See More</b></summary>
#385: Replace specialized tracker code in formatters with general APIs
#379: Add IAsyncEnumerable<T> support
#375: Keep CancellationToken given to RPC methods working on net472 after method completion
#367: Add built-in MessagePack formatter
#357: Enable nullable ref types
#353: Reduce allocations for invocations that have non-cancelable tokens
#347: Support for deserializing params object as single first parameter
#329: serialize the id field as a string
IAsyncEnumerable<T>This list of changes was auto generated.</details>
This list of changes was auto generated.
<details><summary><b>See More</b></summary>
IAsyncEnumerable<T>This list of changes was auto generated.</details>
Nothing published for this version
Nothing published for this version
This list of changes was auto generated.
Adds mono support.
#391: Workaround issues on mono and get tests running
#383: Use user-supplied JsonConverters when deserializing IProgress<T> report
#364: Only complete PipeReader/PipeWriter after operations complete
#359: Provide deterministic way to await for async disposal
#363: Fix intermittent test failures <details><summary><b>See More</b></summary>
#356: LOC CHECKIN | Microsoft/vs-streamjsonrpc v2.2 | 20191104
#351: Improve tests to timeout quickly instead of hang when product defects exist
This list of changes was auto generated.</details>
Add support for IProgress parameters
IProgress<T> parameters (#320)IDuplexPipe, PipeReader, PipeWriter, or Stream as a JSON-RPC argument (#334 #344)JsonRpc.Attach(Type) (non-generic) method overloads (#324)Nothing published for this version
Improved exception handling in JsonMessageFormatter
JsonMessageFormatter (#321)Add static JsonRpc.Attach (IJsonRpcMessageHandler) overloads #251
JsonRpc.Attach<T>(IJsonRpcMessageHandler) overloads #251async Task result as an empty object back to the client #259IDisposable #298JsonRpc instance via the new IJsonRpcClientProxy interface #295 #300id is encoded as a string instead of a number #291Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix support for target object events with certain generic delegates that regressed in v2.0.203 #292
Significant GC pressure improvements #279
EventArgs #284One column per quarter.