microsoft / 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
730 stars 149 forks source link

Add .NET 6 and 8 targets and drop dependencies #1033

Closed thompson-tomo closed 4 months ago

thompson-tomo commented 4 months ago

Add in net 7 & 8 due to additional framework dependencies available hence facilitating dependency reduction

Closes #1032

thompson-tomo commented 4 months ago

@AArnott i have taken a look at this and unfortunately this project has a requirement of STJ v7, so the option of replacing 7 & 8 with just 6 can't work. So what i have done is dropped the Polyfil packages i could to 6 and made the additional TFM's 6&8 with the difference between 6 & 8 being STJ. Would also suggesting waiting for Nerdbank.Streams release and alos bump that dependency.

AArnott commented 4 months ago

I'm working through the compiler warnings from this change. I've also published a new Nerdbank.Streams so we can update that.

AArnott commented 4 months ago

The Nerdbank.Streams update is coming in via #1035.