Skip to content

Commit 8b23193

Browse files
committed
Update to .NET 9 with version 9.0.0
- Change target framework to net9.0 - Update package version to 9.0.0 to align with .NET version - Update all Microsoft.Extensions.* dependencies to 9.0.0 - Update System.Text.Json to 9.0.0 - Update test project to target net9.0 - This is the maintenance branch for .NET 9 STS support
1 parent e893fdb commit 8b23193

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/CompactifAI.Client/CompactifAI.Client.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<LangVersion>latest</LangVersion>
88

99
<!-- NuGet Package Properties -->
1010
<PackageId>CompactifAI.Client</PackageId>
11-
<Version>1.1.0</Version>
11+
<Version>9.0.0</Version>
1212
<Authors>GmausDev</Authors>
1313
<Company>GmausDev</Company>
1414
<Description>A .NET client library for the CompactifAI API. Easily integrate AI chat completions, text completions, and audio transcription into your .NET applications.</Description>
@@ -28,12 +28,12 @@
2828
</PropertyGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
32-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
33-
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
34-
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
35-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
36-
<PackageReference Include="System.Text.Json" Version="8.0.5" />
31+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.0" />
32+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
33+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
34+
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.0" />
35+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.0" />
36+
<PackageReference Include="System.Text.Json" Version="9.0.0" />
3737
</ItemGroup>
3838

3939
<ItemGroup>

tests/CompactifAI.Client.Tests/CompactifAI.Client.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)