Skip to content

Commit ed591b4

Browse files
Merge pull request #30 from realvizu/dotnet10
.NET 10 support
2 parents 98162c6 + e8ede36 commit ed591b4

File tree

16 files changed

+95
-81
lines changed

16 files changed

+95
-81
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup .NET
4040
uses: actions/setup-dotnet@v4
4141
with:
42-
dotnet-version: "8.0.x"
42+
dotnet-version: "10.0.x"
4343

4444
- name: Restore dependencies
4545
run: dotnet restore
@@ -108,7 +108,7 @@ jobs:
108108
- name: Setup .NET SDK (for NuGet publish)
109109
uses: actions/setup-dotnet@v4
110110
with:
111-
dotnet-version: "8.0.x"
111+
dotnet-version: "10.0.x"
112112

113113
- name: NuGet login (OIDC → temp API key)
114114
id: login

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup .NET
2121
uses: actions/setup-dotnet@v4
2222
with:
23-
dotnet-version: '8.0.x'
23+
dotnet-version: '10.0.x'
2424

2525
- name: Restore dependencies
2626
run: dotnet restore

.github/workflows/snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup .NET
5454
uses: actions/setup-dotnet@v4
5555
with:
56-
dotnet-version: "8.0.x"
56+
dotnet-version: "10.0.x"
5757

5858
- name: Restore dependencies
5959
run: dotnet restore

benchmarks/Eftdb.Benchmarks/Eftdb.Benchmarks.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<AssemblyName>CmdScale.EntityFrameworkCore.TimescaleDB.Benchmarks</AssemblyName>
@@ -14,9 +14,9 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="BenchmarkDotNet" Version="0.15.2" />
18-
<PackageReference Include="Testcontainers.PostgreSql" Version="4.7.0" />
19-
<PackageReference Include="Z.EntityFramework.Extensions.EFCore" Version="9.103.9.3" />
17+
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
18+
<PackageReference Include="Testcontainers.PostgreSql" Version="4.9.0" />
19+
<PackageReference Include="Z.EntityFramework.Extensions.EFCore" Version="10.105.0" />
2020
</ItemGroup>
2121

2222
<ItemGroup>

benchmarks/Eftdb.Benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This project uses **BenchmarkDotNet** to measure the performance of high-through
66

77
## Prerequisites
88

9-
- .NET 8 SDK or later
9+
- .NET 10 SDK or later
1010
- Docker
1111

1212
## Run the Benchmarks

samples/Eftdb.Samples.CodeFirst/Eftdb.Samples.CodeFirst.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<AssemblyName>CmdScale.EntityFrameworkCore.TimescaleDB.Samples.CodeFirst</AssemblyName>
99
<RootNamespace>CmdScale.EntityFrameworkCore.TimescaleDB.Samples.CodeFirst</RootNamespace>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="EFCore.NamingConventions" Version="9.0.0" />
14-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.10" />
13+
<PackageReference Include="EFCore.NamingConventions" Version="10.0.0-rc.2" />
14+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

samples/Eftdb.Samples.DatabaseFirst/Eftdb.Samples.DatabaseFirst.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</ItemGroup>
66

77
<PropertyGroup>
8-
<TargetFramework>net8.0</TargetFramework>
8+
<TargetFramework>net10.0</TargetFramework>
99
<ImplicitUsings>enable</ImplicitUsings>
1010
<Nullable>enable</Nullable>
1111
<AssemblyName>CmdScale.EntityFrameworkCore.TimescaleDB.Samples.DatabaseFirst</AssemblyName>

samples/Eftdb.Samples.Shared/Eftdb.Samples.Shared.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</ItemGroup>
66

77
<PropertyGroup>
8-
<TargetFramework>net8.0</TargetFramework>
8+
<TargetFramework>net10.0</TargetFramework>
99
<ImplicitUsings>enable</ImplicitUsings>
1010
<Nullable>enable</Nullable>
1111
<AssemblyName>CmdScale.EntityFrameworkCore.TimescaleDB.Samples.Shared</AssemblyName>

src/Eftdb.Design/Eftdb.Design.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<AssemblyName>CmdScale.EntityFrameworkCore.TimescaleDB.Design</AssemblyName>
77
<RootNamespace>CmdScale.EntityFrameworkCore.TimescaleDB.Design</RootNamespace>
88
<PackageId>CmdScale.EntityFrameworkCore.TimescaleDB.Design</PackageId>
9-
<Version>0.3.3</Version>
9+
<Version>0.4.0</Version>
1010
<Authors>CmdScale</Authors>
1111
<Description>Provides crucial design-time extensions. This package enhances the EF Core CLI tools (dotnet ef) to understand TimescaleDB concepts, enabling correct schema generation for migrations and scaffolding.</Description>
1212
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
@@ -24,7 +24,7 @@
2424
<PackageTags>timescaledb;timescale;efcore;ef-core;entityframeworkcore;postgresql;postgres;time-series;timeseries;data;database;efcore-provider;provider;design;migrations;scaffolding;codegen;cli;tools</PackageTags>
2525
</PropertyGroup>
2626
<ItemGroup>
27-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.8" />
27+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.0" />
2828
</ItemGroup>
2929
<ItemGroup>
3030
<None Include="..\..\assets\cmd-nuget-logo.jpg">

src/Eftdb/Eftdb.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<AssemblyName>CmdScale.EntityFrameworkCore.TimescaleDB</AssemblyName>
77
<RootNamespace>CmdScale.EntityFrameworkCore.TimescaleDB</RootNamespace>
88
<PackageId>CmdScale.EntityFrameworkCore.TimescaleDB</PackageId>
9-
<Version>0.3.3</Version>
9+
<Version>0.4.0</Version>
1010
<Authors>CmdScale</Authors>
1111
<Description>The core runtime library. You include this in your project to enable TimescaleDB-specific features when configuring your DbContext.</Description>
1212
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
@@ -38,6 +38,6 @@
3838
</None>
3939
</ItemGroup>
4040
<ItemGroup>
41-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
41+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.0" />
4242
</ItemGroup>
4343
</Project>

0 commit comments

Comments
 (0)