Releases: microsoft/vs-streamjsonrpc
Releases · microsoft/vs-streamjsonrpc
Release list
v2.25.29
v2.25.28
v2.25.25
Changes:
Enhancements:
- #1395: Add
JsonRpc.DisplayNameproperty - #1404: Move ApplyInboundActivity earlier so dispatch traces have activity IDs
Fixes
- #1420: Avoid RpcMarshalable source-gen local name collisions with method parameters
- #1439: Improve docs around using
NerdbankMessagePackFormatter - #1432: Update documentation link for RpcMarshalableAttribute
Others:
- #1438: Bump Nerdbank.MessagePack to 1.2.4
- #1389: Bump Microsoft.AspNetCore packages
- #1394: Update dependency Microsoft.Bcl.AsyncInterfaces to v10
This list of changes was auto generated.
v2.24.92
What's Changed
- Bump Nerdbank.MessagePack to 1.1.62 by Andrew Arnott (@AArnott) in #1430
Full Changelog: v2.24.84...v2.24.92
v2.24.84
What's Changed
Features
- Add source generation of proxies by Andrew Arnott (@AArnott) in #1223
- Add NerdbankMessagePackFormatter by Charles Willis (@trippwill) in #1100
- Enable RPC marshalable objects in
NerdbankMessagePackFormatterby Andrew Arnott (@AArnott) in #1260 - Source generate proxies for RpcMarshalable interfaces by Andrew Arnott (@AArnott) in #1246
- Add
RpcTargetMetadatageneration fromITypeShapeby Andrew Arnott (@AArnott) in #1251 - Create a NativeAOT-compatible JsonRpc.AddLocalTargetObject method by Andrew Arnott (@AArnott) in #1236
- Use PolyType shapes for events by Andrew Arnott (@AArnott) in #1297
- Add
PolyTypeJsonFormatteras an experimental API by Andrew Arnott (@AArnott) in #1344 - Add
RpcTargetMetadata.FromShape<T>overloads that work on .NET Framework by Andrew Arnott (@AArnott) in #1358 - Expose MessageFormatterEnumerableTracker.EnumeratorResults as public by Eric Erhardt (@eerhardt) in #1206
Fixes
- Remove Dependency on Newtonsoft.Json from JsonRpc by Eric Erhardt (@eerhardt) in #1201
- Remove Dependency on Newtonsoft.Json From Protocol objects by Eric Erhardt (@eerhardt) in #1198
- Cut ProxyGeneration out if dynamic code isn't supported by Eric Erhardt (@eerhardt) in #1202
- Add attributes for NativeAOT safety by Andrew Arnott (@AArnott) in #1196
- Refactor code and annotations to fix all warnings in NativeAOTCompatibility. by Eric Erhardt (@eerhardt) in #1207
- Reduce trimming demands for RPC target objects by Andrew Arnott (@AArnott) in #1233
- Improve performance of
WebSocketMessageHandlerby Andrew Arnott (@AArnott) in #1237 - Cap the amount of text copied into the stringbuilder in JsonRpcEventSource.Format by Todd Grunke (@ToddGrun) in #1187
- Use JsonElement.Clone instead of Deserialize by Eric Erhardt (@eerhardt) in #1200
- Refactor reflection usage to only reflection against the one method by Eric Erhardt (@eerhardt) in #1199
- Create dynamic proxies in the same ALC as the interface they implement by Andrew Arnott (@AArnott) in #1248
- Avoid 1-2 first chance exceptions on out of order disposal by Andrew Arnott (@AArnott) in #1220
- Avoid loading assemblies unnecessarily by Andrew Arnott (@AArnott) in #1256
- Dynamically generated proxies reliably invoke with non-aliased method names by Andrew Arnott (@AArnott) in #1268
- Proxies should honor
MethodShapeAttribute.Nameby Andrew Arnott (@AArnott) in #1271 - Fix proxy generation for interfaces with type parameter variance modifiers by Andrew Arnott (@AArnott) in #1300
- Fix source generated proxies compile errors by Andrew Arnott (@AArnott) in #1303
- Allow
nullargument toAs<T>andIs(Type)helper methods by Andrew Arnott (@AArnott) in #1305 - Avoid producing a new proxy 'group' that is redundant with the first by Andrew Arnott (@AArnott) in #1315
- Fix perf regression in testing for RPC marshalable objects by Andrew Arnott (@AArnott) in #1329
- Fix perf regression in testing for RPC marshalable objects by Andrew Arnott (@AArnott) in #1330
- Fix ProxyBase to report assignability for its own built-in interfaces by Andrew Arnott (@AArnott) in #1335
- Fix source generated proxy suitability testing by Andrew Arnott (@AArnott) in #1336
- Fix IDE fast up-to-date check by Andrew Arnott (@AArnott) in #1342
- Fix new linker warnings by Andrew Arnott (@AArnott) in #1372
- Unregister event handlers in RpcTargetInfo.DisposeAsync by @Copilot in #1379
- Fix failure in design-time builds when working in a clean repo by Andrew Arnott (@AArnott) in #1262
- Address vulnerabilities in MessagePack and STJ by Ryan Toth (@RyanToth3) in #1095
- Drop threading analyzers from package dependencies by Andrew Arnott (@AArnott) in #1169
- Fix doc links by Andrew Arnott (@AArnott) in #1183
- Fix build break in samples due to localization by Andrew Arnott (@AArnott) in #1238
- Only suppress diagnostics when the interceptor is running by Andrew Arnott (@AArnott) in #1235
- Stop intercepting Attach calls within StreamJsonRpc itself by Andrew Arnott (@AArnott) in #1241
- Hopefully stabilize the RpcInterfacesNeedMethodsIncludedInShape_Fixable test by Andrew Arnott (@AArnott) in #1299
- Fix msbuild analyzer version property by Andrew Arnott (@AArnott) in #1276
Documentation and Miscellaneous
- Typos and doc tweaks by Drew Noakes (@drewnoakes) in #1181
- Replace tedious GenerateShapeFor attributes with method shapes by Andrew Arnott (@AArnott) in #1273
- Share more with
FormatterBaseby Andrew Arnott (@AArnott) in #1317 - Add DebuggerDisplay for RpcTargetMetadata by Andrew Arnott (@AArnott) in #1338
- Obsolete an API that we intend to remove before a stable release by Andrew Arnott (@AArnott) in #1359
- Skip collection of symbols from samples project by Andrew Arnott (@AArnott) in #1240
- Classify UnreachableAssembly symbols as test symbol by Andrew Arnott (@AArnott) in #1253
- Eliminate over-build from the
dotnet publish"test" by Andrew Arnott (@AArnott) in #1254 - Remove the special PolyType job from the build by Andrew Arnott (@AArnott) in #1298
- Pack with nuget semver 2 rules by Andrew Arnott (@AArnott) in #1316
New Contributors
- Drew Noakes (@drewnoakes) made their first contribution in #1181
- Todd Grunke (@ToddGrun) made their first contribution in #1187
- Eric Erhardt (@eerhardt) made their first contribution in #1200
- Charles Willis (@trippwill) made their first contribution in #1100
- @Copilot made their first contribution in #1379
Full Changelog: v2.22.23...v2.24.84
v2.22.23
What's Changed
Fixes
- Create dynamic proxies in the same ALC as the interface they implement by Andrew Arnott (@AArnott) in #1247
Full Changelog: v2.22.11...v2.22.23
v2.23.32-alpha
What's Changed
Dependency updates
Enhancements
- Cap the amount of text copied into the stringbuilder in JsonRpcEventSource.Format by Todd Grunke (@ToddGrun) in #1187
- Use JsonElement.Clone instead of Deserialize by Eric Erhardt (@eerhardt) in #1200
- NativeAOT readiness
- Refactor reflection usage to only reflection against the one method by Eric Erhardt (@eerhardt) in #1199
- Cut ProxyGeneration out if dynamic code isn't supported by Eric Erhardt (@eerhardt) in #1202
- Remove Dependency on Newtonsoft.Json from JsonRpc by Eric Erhardt (@eerhardt) in #1201
- Remove Dependency on Newtonsoft.Json From Protocol objects by Eric Erhardt (@eerhardt) in #1198
- Expose MessageFormatterEnumerableTracker.EnumeratorResults as public by Eric Erhardt (@eerhardt) in #1206
- Refactor code and annotations to fix all warnings in NativeAOTCompatibility. by Eric Erhardt (@eerhardt) in #1207
- Minor PR feedback by Eric Erhardt (@eerhardt) in #1210
- Add attributes for NativeAOT safety by Andrew Arnott (@AArnott) in #1196
New Contributors
- Drew Noakes (@drewnoakes) made their first contribution in #1181
- Todd Grunke (@ToddGrun) made their first contribution in #1187
- Eric Erhardt (@eerhardt) made their first contribution in #1200
Full Changelog: v2.22.11...v2.23.32-alpha
v2.22.11
What's Changed
- Drop the vs-threading analyzers from our package by Andrew Arnott (@AArnott) in #1167
- Fix connection hang upon failure to deserialize result values by Andrew Arnott (@AArnott) in #1175
Full Changelog: v2.21.69...v2.22.11
v2.21.69
What's Changed
- Avoid crashing the process when
Stream.Disposethrows by Andrew Arnott (@AArnott) in #1085 - Update
HttpClientMessageHandler.csreference by Emmanuel Ferdman (@emmanuel-ferdman) in #1092 - Fix disposal of marshalable object proxies by Matteo Prosperi (@matteo-prosperi) in #1156
- Address a few small nits noticed while browsing by Stephen Toub (@stephentoub) in #1158
- Drop threading analyzers from package dependencies by Andrew Arnott (@AArnott) in #1169
New Contributors
- Vincent Biret (@baywet) made their first contribution in #1094
- Emmanuel Ferdman (@emmanuel-ferdman) made their first contribution in #1092
- Stephen Toub (@stephentoub) made their first contribution in #1158
Full Changelog: v2.20.17...v2.21.69
v2.22.3-alpha
What's Changed
- Drop the vs-threading analyzers from our package by Andrew Arnott (@AArnott) in #1167
Full Changelog: v2.21.69...v2.22.3-alpha