Skip to content

Commit 8b8d65c

Browse files
committed
Update to Websocket.Client 5.4.0 and .NET 10
1 parent 9a89415 commit 8b8d65c

8 files changed

Lines changed: 27 additions & 26 deletions

File tree

.github/workflows/dotnet-core-branches.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Setup .NET Core
15-
uses: actions/setup-dotnet@v1
13+
- uses: actions/checkout@v4
14+
- name: Setup .NET SDK
15+
uses: actions/setup-dotnet@v4
1616
with:
17-
dotnet-version: 8.x
17+
dotnet-version: 10.0.x
1818
- name: Install dependencies
1919
run: dotnet restore
2020
- name: Build

.github/workflows/dotnet-core.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Setup .NET Core
15-
uses: actions/setup-dotnet@v1
13+
- uses: actions/checkout@v4
14+
- name: Setup .NET SDK
15+
uses: actions/setup-dotnet@v4
1616
with:
17-
dotnet-version: 8.x
17+
dotnet-version: 10.0.x
1818

1919
- name: Install dependencies
2020
run: dotnet restore

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Project defaults -->
44

55
<PropertyGroup>
6-
<Version>4.3.1</Version>
6+
<Version>4.4.0</Version>
77
</PropertyGroup>
88

99
</Project>

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ As a benefit, you will get real-time data and fast execution of your commands.
2222

2323
* installation via NuGet ([Bitfinex.Client.Websocket](https://www.nuget.org/packages/Bitfinex.Client.Websocket))
2424
* public and authenticated API
25-
* targeting .NET Standard 2.0 (.NET Core, Linux/MacOS compatible)
25+
* targets `netstandard2.1`, `net6.0`, `net7.0`, `net8.0`, `net9.0`, `net10.0`
26+
* built on [Websocket.Client 5.4.0](https://www.nuget.org/packages/Websocket.Client/5.4.0) for websocket transport, reconnects, and lower-allocation message handling
2627
* reactive extensions ([Rx.NET](https://github.com/Reactive-Extensions/Rx.NET))
2728
* integrated logging abstraction ([LibLog](https://github.com/damianh/LibLog))
2829

src/Bitfinex.Client.Websocket/Bitfinex.Client.Websocket.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.1;net6;net7;net8</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.1;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
55
<PackageId>Bitfinex.Client.Websocket</PackageId>
66
<Authors>Mariusz Kotas</Authors>
77
<Description>Client for Bitfinex and Ethfinex websocket API version 2.0</Description>
@@ -26,8 +26,8 @@
2626

2727
<ItemGroup>
2828
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
29-
<PackageReference Include="System.Reactive" Version="6.0.2" />
30-
<PackageReference Include="Websocket.Client" Version="5.3.0" />
29+
<PackageReference Include="System.Reactive" Version="6.1.0" />
30+
<PackageReference Include="Websocket.Client" Version="5.4.0" />
3131
</ItemGroup>
3232

3333
<ItemGroup>

test/Bitfinex.Client.Websocket.Tests/Bitfinex.Client.Websocket.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.5.1" />
1111
<PackageReference Include="xunit" Version="2.9.3" />
12-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4">
12+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
99
<ProjectReference Include="..\..\src\Bitfinex.Client.Websocket\Bitfinex.Client.Websocket.csproj" />
10-
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
10+
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
1111
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
12-
<PackageReference Include="Serilog.Extensions.Logging" Version="9.0.2" />
12+
<PackageReference Include="Serilog.Extensions.Logging" Version="10.0.0" />
1313
</ItemGroup>
1414

1515
</Project>

test_integration/Bitfinex.Client.Websocket.Tests.Integration/Bitfinex.Client.Websocket.Tests.Integration.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.5.1" />
1111
<PackageReference Include="xunit" Version="2.9.3" />
12-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4">
12+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="Xunit.SkippableFact" Version="1.5.23" />
16+
<PackageReference Include="Xunit.SkippableFact" Version="1.5.61" />
1717
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
1818
</ItemGroup>
1919

0 commit comments

Comments
 (0)