vs-streamjsonrpc

The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.

OTHER License

Stars
732
Committers
58

Bot releases are hidden (Show)

vs-streamjsonrpc - v2.19.27 Latest Release

Published by AArnott about 2 months ago

What's Changed

Dependency updates

New Contributors

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.18.48...v2.19.27

vs-streamjsonrpc - v2.18.48

Published by AArnott about 2 months ago

What's Changed

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.18.44...v2.18.48

vs-streamjsonrpc - v2.18.44

Published by AArnott about 2 months ago

What's Changed

Dependency updates

New Contributors

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.17.11...v2.18.44

vs-streamjsonrpc - v2.17.11

Published by AArnott about 2 months ago

No shipping changes

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.17.8...v2.17.11

vs-streamjsonrpc - v2.17.8

Published by AArnott about 2 months ago

What's Changed

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.16.36...v2.17.8

vs-streamjsonrpc - v2.16.36

Published by AArnott about 1 year ago

What's Changed

Enhancements

Fixes

Dependency updates

Other changes

New Contributors

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.15.29...v2.16.36

vs-streamjsonrpc - v2.15.29

Published by AArnott about 1 year ago

What's Changed

Dependency updates

New Contributors

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.14.24...v2.15.29

vs-streamjsonrpc - v2.14.24

Published by AArnott over 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.13.33...v2.14.24

vs-streamjsonrpc - v2.13.33

Published by AArnott over 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.12.27...v2.13.33

vs-streamjsonrpc - v2.12.27

Published by AArnott over 1 year ago

What's Changed

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.11.35...v2.12.27

vs-streamjsonrpc - v2.11.35

Published by AArnott over 2 years ago

Changes:

Fixes:

  • #781: AddLocalRpcTarget<IServerDerived> does not publish events in parent interface
vs-streamjsonrpc - v2.11.32-alpha

Published by AArnott over 2 years ago

Changes:

Fixes:

  • #763: Fix activity tracing to track entire execution time of inbound calls
  • #761: Defend against mutable statics causing JSON serialization failures
  • #783: Honor user-provided Json IContractResolver while maintaining marshaling capabilities

Enhancements:

  • #760: Trim dependencies
  • #758: Add JsonRpcIgnoreAttribute to block RPC access to particular methods
  • #777: Add RPC marshaling support for custom interfaces

Others:

  • #770: Bump Microsoft.VisualStudio.Threading from 17.0.64 to 17.1.46
vs-streamjsonrpc - v2.10.44

Published by AArnott over 2 years ago

Fixed

Full Changelog: https://github.com/microsoft/vs-streamjsonrpc/compare/v2.10.41...v2.10.44

vs-streamjsonrpc - v2.10.41

Published by AArnott over 2 years ago

Changes:

Fixes:

  • #630: CancellationToken no longer works on v2.6.121 when setting TypeNameHandling.Objects

Enhancements:

  • #737: Better handling of serializing exceptions
  • #733: Add ClientRequiresNamedArguments option for IProgress<T> notifications

Others:

  • #750: Bump System.IO.Pipelines from 6.0.0 to 6.0.1
  • #752: Add SendAsync virtual method to JsonRpc
  • #738: Discriminate dynamic proxy generated methods by argument type?
  • #734: Honor ClientRequiresNamedArguments when UseSingleObjectParameterDeserialization is set
  • #736: Honor [JsonConverter] attributes on properties of custom params objects
  • #735: JsonConverter on named params object properties ignored
  • #651: Suppress transmission of $type property in named arguments objects
  • #732: Update Nerdbank.Streams to 2.8.50
  • #726: Update several dependencies

This list of changes was auto generated.

vs-streamjsonrpc - v2.9.85

Published by AArnott almost 3 years ago

Changes:

Enhancements:

  • #667: Make interface IJsonRpcMessageWithId public
  • #698: Target netstandard2.1 instead of netcoreapp3.1
  • #694: Update MessagePack to 2.3.75
  • #686: Render named arguments in ETW events, including when using the MessagePack formatter
  • #690: Update Nerdbank.Streams to 2.8.46
  • #687: Update Newtonsoft.Json dependency to 13.0.1
  • #666: Omit line info handling

Others:

  • #717: Expose the IJsonRpcMessageWithId interface publicly
  • #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 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.

vs-streamjsonrpc - v2.8.28

Published by AArnott about 3 years ago

Revert #652, as this should have been saved for the v2.9 release.

vs-streamjsonrpc - v2.9.12-alpha

Published by AArnott over 3 years ago

Changes:

Enhancements:

  • #637 Usage mismatch between AddTarget and Attach when using interface inheritance
  • #652 AddLocalRpcTarget should honor base interfaces when T is an interface

Other:

  • #659: Adding automated compliance tools to the build pipeline.

This list of changes was auto generated.

vs-streamjsonrpc - v2.8.21

Published by AArnott over 3 years ago

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 only been included in v2.9.

Fixes:

  • #657: Improve ArgumentOutOfRangeException deserialization of untyped ActualValue property
vs-streamjsonrpc - v2.7.76

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #627: Fix logging of bound methods
  • #548: WebSocketMessageHandler + MessagePackFormatter corrupts incoming data
  • #612: Unable to use interface as event argument with Union-non-attributed interface
  • #585: MessagePackFormatter may deserialize ErrorDetails.Data twice, leading to data corruption the second time

Enhancements:

  • #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
  • #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

Others:

  • #643: Secure nuget packages to require signatures by known parties
  • #640: Consume latest .NET SDK and other dependencies
  • #636: Bump coverlet.msbuild from 3.0.0 to 3.0.1
  • #635: Bump XliffTasks from 1.0.0-beta.19503.1 to 1.0.0-beta.19505.1
  • #628: Bump coverlet.msbuild from 2.9.0 to 3.0.0
  • #624: Update several dependencies
  • #623: Fix memory corruption in WebSocketMessageHandler when using MessagePackFormatter
  • #618: Fix TEventArgs serialization from events when using MessagePack and union types
  • #617: Bump Microsoft.Net.Compilers.Toolset from 3.7.0 to 3.8.0
  • #607: Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
  • #605: Bump Microsoft.VisualStudio.Threading from 16.8.51 to 16.8.55
  • #603: Add support for activity tracing
  • #608: Unstable test: WebSocketMessageHandlerTests.AspNetCoreWebSocket_ServerHangUp
  • #602: Improve handling of various non-serializable Exception situations
  • #601: Remove macOS agent from default pipeline
  • #599: Bump Microsoft.CodeAnalysis.PublicApiAnalyzers from 3.3.0 to 3.3.1
  • #600: Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.3.0 to 3.3.1
  • #597: Add more benchmarks
  • #1: Fix package restore in init.ps1
  • #2: Throw OperationCanceledExceptions instead of ObjectDisposedExceptions
  • #593: Update vs-threading dependency to 16.8.51
  • #590: Bump Microsoft.VisualStudio.Validation from 15.5.31 to 16.8.33
  • #588: Exceptions without [Serializable] fail to serialize/deserialize properly
  • #584: Recycle char[] in ToCamelCase
  • #582: Bump System.IO.Pipelines from 4.7.2 to 4.7.3
  • #586: Fix possible data corruption from deserializing error details twice
  • #579: Bump Nerdbank.GitVersioning from 3.2.31 to 3.3.37
  • #573: LOC CHECKIN | Microsoft/vs-streamjsonrpc master | 20201005.
  • #572: Bump MessagePack from 2.2.44-rc to 2.2.60
  • #581: Remove service connection that we actually can't use
  • #574: Update connecting.md
  • #570: Bump Nerdbank.Streams from 2.6.78 to 2.6.81
  • #569: Improve ConnectionLostException docs and add a test
  • #468: Serialize exceptions with ISerializable pattern for error messages
  • #566: Update nerdbank.streams to 2.6.78

This list of changes was auto generated.

vs-streamjsonrpc - v2.7.66-alpha

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #627: Fix logging of bound methods
  • #548: WebSocketMessageHandler + MessagePackFormatter corrupts incoming data
  • #612: Unable to use interface as event argument with Union-non-attributed interface
  • #585: MessagePackFormatter may deserialize ErrorDetails.Data twice, leading to data corruption the second time

Enhancements:

  • #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
  • #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

Others:

  • #628: Bump coverlet.msbuild from 2.9.0 to 3.0.0
  • #624: Update several dependencies
  • #623: Fix memory corruption in WebSocketMessageHandler when using MessagePackFormatter
  • #618: Fix TEventArgs serialization from events when using MessagePack and union types
  • #617: Bump Microsoft.Net.Compilers.Toolset from 3.7.0 to 3.8.0
  • #607: Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
  • #605: Bump Microsoft.VisualStudio.Threading from 16.8.51 to 16.8.55
  • #603: Add support for activity tracing
  • #608: Unstable test: WebSocketMessageHandlerTests.AspNetCoreWebSocket_ServerHangUp
  • #602: Improve handling of various non-serializable Exception situations
  • #601: Remove macOS agent from default pipeline
  • #599: Bump Microsoft.CodeAnalysis.PublicApiAnalyzers from 3.3.0 to 3.3.1
  • #600: Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.3.0 to 3.3.1
  • #597: Add more benchmarks
  • #1: Fix package restore in init.ps1
  • #2: Throw OperationCanceledExceptions instead of ObjectDisposedExceptions
  • #593: Update vs-threading dependency to 16.8.51
  • #590: Bump Microsoft.VisualStudio.Validation from 15.5.31 to 16.8.33
  • #588: Exceptions without [Serializable] fail to serialize/deserialize properly
  • #584: Recycle char[] in ToCamelCase
  • #582: Bump System.IO.Pipelines from 4.7.2 to 4.7.3
  • #586: Fix possible data corruption from deserializing error details twice
  • #579: Bump Nerdbank.GitVersioning from 3.2.31 to 3.3.37
  • #573: LOC CHECKIN | Microsoft/vs-streamjsonrpc master | 20201005.
  • #572: Bump MessagePack from 2.2.44-rc to 2.2.60
  • #581: Remove service connection that we actually can't use
  • #574: Update connecting.md
  • #570: Bump Nerdbank.Streams from 2.6.78 to 2.6.81
  • #569: Improve ConnectionLostException docs and add a test
  • #468: Serialize exceptions with ISerializable pattern for error messages
  • #566: Update nerdbank.streams to 2.6.78

This list of changes was auto generated.