Skip to content

Commit

Permalink
feat: update .NET target versions and dependencies
Browse files Browse the repository at this point in the history
This commit updates the project to target .NET 8 and .NET 9, dropping the dependency on .NET 7. It also updates various package references to their latest versions. The version of SpiceDb has been bumped to 1.6.0 reflecting these changes.

BREAKING CHANGE: Dropped .NET 7 support and introduced new targets for .NET 8 and .NET 9
  • Loading branch information
tanczosm committed Nov 30, 2024
1 parent 0417b8f commit 27d9d17
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ SpiceDb.net was created by Michael Tanczos and has contributions from Pavel Akim

## What's New?

1.6.0
- Dropped .NET 7 dependency and introduced new targets for .NET 8 and .NET 9

1.5.3
- BREAKING CHANGE: The constructors for `SpiceDbClient` now accept a nullable `schemaPrefix` instead of a required string. If not provided, it defaults to null.
- @williamgraver added empty schema prefix handling for dedicated version of SpiceDb
Expand Down
2 changes: 1 addition & 1 deletion SpiceDb.Example/SpiceDb.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>3c39b9f0-8b22-4508-ae36-bdaccdb871ea</UserSecretsId>
Expand Down
4 changes: 2 additions & 2 deletions SpiceDb.Tests/SpiceDb.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -20,7 +20,7 @@
<ItemGroup>
<PackageReference Include="nunit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions SpiceDb/SpiceDb.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks>net8; net9</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -15,7 +15,7 @@
<PackageIcon>logo.png</PackageIcon>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Version>1.5.3</Version>
<Version>1.6.0</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -32,8 +32,8 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
<PackageReference Include="YamlDotNet" Version="15.1.2" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 27d9d17

Please sign in to comment.