Skip to content

Commit de3c012

Browse files
authored
Publish version 8.0 (#355)
* Publish version 8.0 * Updated all TFMs to .NET 8 * Updated all Nuget dependencies. * Updated TFMs.
1 parent 78e3b94 commit de3c012

File tree

12 files changed

+66
-83
lines changed

12 files changed

+66
-83
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup dotnet
2828
uses: actions/setup-dotnet@v3
2929
with:
30-
dotnet-version: 7.0.x
30+
dotnet-version: 8.0.x
3131
- name: Install SQL Local DB
3232
run: ./setup-sqllocaldb.ps1
3333
shell: pwsh

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup dotnet
1515
uses: actions/setup-dotnet@v3
1616
with:
17-
dotnet-version: 7.0.x
17+
dotnet-version: 8.0.x
1818
- name: Install SQL Local DB
1919
run: ./setup-sqllocaldb.ps1
2020
shell: pwsh

Specification.EntityFramework6/src/Ardalis.Specification.EntityFramework6/Ardalis.Specification.EntityFramework6.csproj

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,9 @@
1818
<RepositoryUrl>https://github.com/ardalis/specification</RepositoryUrl>
1919
<PackageTags>spec;specification;repository;ddd;ef;ef6;entity framework</PackageTags>
2020
<PackageIcon>icon.png</PackageIcon>
21-
<Version>7.0.0</Version>
21+
<Version>8.0.0</Version>
2222
<PackageReleaseNotes>
23-
* Patch 2 by @davidhenley in https://github.com/ardalis/Specification/pull/283
24-
* Fix `Just the Docs` link in docs home page by @snowfrogdev in https://github.com/ardalis/Specification/pull/293
25-
* Update url path by @ta1H3n in https://github.com/ardalis/Specification/pull/303
26-
* Implement SelectMany support by @amdavie in https://github.com/ardalis/Specification/pull/320
27-
* Add two methods for consuming repositories in scenarios where repositories could be longer lived (e.g. Blazor component Injections) by @jasonsummers in https://github.com/ardalis/Specification/pull/289
28-
* Added support for AsAsyncEnumerable by @nkz-soft in https://github.com/ardalis/Specification/pull/316
29-
* Lamadelrae/doc faq ef versions by @Lamadelrae in https://github.com/ardalis/Specification/pull/324
30-
* Updated projects, drop support for old TFMs. by @fiseni in https://github.com/ardalis/Specification/pull/326
31-
* Update the search feature to generate parameterized query. by @fiseni in https://github.com/ardalis/Specification/pull/327
32-
* Add support for extending default evaluator list by @fiseni in https://github.com/ardalis/Specification/pull/328
33-
* Ardalis/cleanup by @ardalis in https://github.com/ardalis/Specification/pull/332
23+
* Added TFM for net6.0
3424
</PackageReleaseNotes>
3525
<PublishRepositoryUrl>true</PublishRepositoryUrl>
3626
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net7.0</TargetFrameworks>
5-
<LangVersion>11.0</LangVersion>
4+
<TargetFrameworks>net472;net8.0</TargetFrameworks>
5+
<LangVersion>12.0</LangVersion>
66
<OutputType>Library</OutputType>
77
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
12-
<PackageReference Include="Moq" Version="4.18.4" />
13-
<PackageReference Include="FluentAssertions" Version="6.11.0" />
14-
<PackageReference Include="MartinCostello.SqlLocalDb" Version="3.2.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
12+
<PackageReference Include="Moq" Version="4.20.69" />
13+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
14+
<PackageReference Include="MartinCostello.SqlLocalDb" Version="3.3.0" />
1515
<PackageReference Include="EntityFramework" Version="6.4.4" />
1616
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
1717
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
18-
<PackageReference Include="xunit" Version="2.5.0" />
19-
<PackageReference Include="xunit.analyzers" Version="1.2.0" />
20-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
18+
<PackageReference Include="xunit" Version="2.6.2" />
19+
<PackageReference Include="xunit.analyzers" Version="1.6.0" />
20+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
@@ -35,7 +35,7 @@
3535

3636

3737
<PropertyGroup>
38-
<NoWarn>1701;1702;1591;1573;1712;0612</NoWarn>
38+
<NoWarn>1701;1702;1591;1573;1712;0612;0618</NoWarn>
3939
</PropertyGroup>
4040

4141
</Project>

Specification.EntityFrameworkCore/src/Ardalis.Specification.EntityFrameworkCore/Ardalis.Specification.EntityFrameworkCore.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
5-
<LangVersion>11.0</LangVersion>
4+
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<LangVersion>12.0</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88

@@ -18,19 +18,9 @@
1818
<RepositoryUrl>https://github.com/ardalis/specification</RepositoryUrl>
1919
<PackageTags>spec;specification;repository;ddd;ef;ef core;entity framework;entity framework core</PackageTags>
2020
<PackageIcon>icon.png</PackageIcon>
21-
<Version>7.0.0</Version>
21+
<Version>8.0.0</Version>
2222
<PackageReleaseNotes>
23-
* Patch 2 by @davidhenley in https://github.com/ardalis/Specification/pull/283
24-
* Fix `Just the Docs` link in docs home page by @snowfrogdev in https://github.com/ardalis/Specification/pull/293
25-
* Update url path by @ta1H3n in https://github.com/ardalis/Specification/pull/303
26-
* Implement SelectMany support by @amdavie in https://github.com/ardalis/Specification/pull/320
27-
* Add two methods for consuming repositories in scenarios where repositories could be longer lived (e.g. Blazor component Injections) by @jasonsummers in https://github.com/ardalis/Specification/pull/289
28-
* Added support for AsAsyncEnumerable by @nkz-soft in https://github.com/ardalis/Specification/pull/316
29-
* Lamadelrae/doc faq ef versions by @Lamadelrae in https://github.com/ardalis/Specification/pull/324
30-
* Updated projects, drop support for old TFMs. by @fiseni in https://github.com/ardalis/Specification/pull/326
31-
* Update the search feature to generate parameterized query. by @fiseni in https://github.com/ardalis/Specification/pull/327
32-
* Add support for extending default evaluator list by @fiseni in https://github.com/ardalis/Specification/pull/328
33-
* Ardalis/cleanup by @ardalis in https://github.com/ardalis/Specification/pull/332
23+
* Added TFMs net6.0, net7.0 and net8.0
3424
</PackageReleaseNotes>
3525
<PublishRepositoryUrl>true</PublishRepositoryUrl>
3626
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -39,9 +29,22 @@
3929
</PropertyGroup>
4030

4131
<ItemGroup>
42-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
43-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.6" />
44-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.6" />
32+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
33+
</ItemGroup>
34+
35+
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
36+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.25" />
37+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.25" />
38+
</ItemGroup>
39+
40+
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
41+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.14" />
42+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.14" />
43+
</ItemGroup>
44+
45+
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
46+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
47+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />
4548
</ItemGroup>
4649

4750
<ItemGroup>
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<LangVersion>11.0</LangVersion>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<LangVersion>12.0</LangVersion>
66
<Nullable>disable</Nullable>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<IsPackable>false</IsPackable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
13-
<PackageReference Include="Moq" Version="4.18.4" />
14-
<PackageReference Include="FluentAssertions" Version="6.11.0" />
15-
<PackageReference Include="MartinCostello.SqlLocalDb" Version="3.2.0" />
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.9" />
17-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
18-
<PackageReference Include="xunit" Version="2.5.0" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
13+
<PackageReference Include="Moq" Version="4.20.69" />
14+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
15+
<PackageReference Include="MartinCostello.SqlLocalDb" Version="3.3.0" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
17+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
18+
<PackageReference Include="xunit" Version="2.6.2" />
19+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>
@@ -32,7 +32,7 @@
3232
</ItemGroup>
3333

3434
<PropertyGroup>
35-
<NoWarn>1701;1702;1591;1573;0612</NoWarn>
35+
<NoWarn>1701;1702;1591;1573;0612;0618</NoWarn>
3636
</PropertyGroup>
3737

3838
</Project>

Specification/src/Ardalis.Specification/Ardalis.Specification.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
5-
<LangVersion>11.0</LangVersion>
4+
<TargetFrameworks>net6.0;net7.0;net8.0;netstandard2.0</TargetFrameworks>
5+
<LangVersion>12.0</LangVersion>
66
<Nullable>enable</Nullable>
77

88
<AssemblyName>Ardalis.Specification</AssemblyName>
@@ -17,19 +17,9 @@
1717
<RepositoryUrl>https://github.com/ardalis/specification</RepositoryUrl>
1818
<PackageTags>spec;specification;repository;ddd</PackageTags>
1919
<PackageIcon>icon.png</PackageIcon>
20-
<Version>7.0.0</Version>
20+
<Version>8.0.0</Version>
2121
<PackageReleaseNotes>
22-
* Patch 2 by @davidhenley in https://github.com/ardalis/Specification/pull/283
23-
* Fix `Just the Docs` link in docs home page by @snowfrogdev in https://github.com/ardalis/Specification/pull/293
24-
* Update url path by @ta1H3n in https://github.com/ardalis/Specification/pull/303
25-
* Implement SelectMany support by @amdavie in https://github.com/ardalis/Specification/pull/320
26-
* Add two methods for consuming repositories in scenarios where repositories could be longer lived (e.g. Blazor component Injections) by @jasonsummers in https://github.com/ardalis/Specification/pull/289
27-
* Added support for AsAsyncEnumerable by @nkz-soft in https://github.com/ardalis/Specification/pull/316
28-
* Lamadelrae/doc faq ef versions by @Lamadelrae in https://github.com/ardalis/Specification/pull/324
29-
* Updated projects, drop support for old TFMs. by @fiseni in https://github.com/ardalis/Specification/pull/326
30-
* Update the search feature to generate parameterized query. by @fiseni in https://github.com/ardalis/Specification/pull/327
31-
* Add support for extending default evaluator list by @fiseni in https://github.com/ardalis/Specification/pull/328
32-
* Ardalis/cleanup by @ardalis in https://github.com/ardalis/Specification/pull/332
22+
* Added TFMs net6.0, net7.0 and net8.0
3323
</PackageReleaseNotes>
3424
<PublishRepositoryUrl>true</PublishRepositoryUrl>
3525
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -38,7 +28,7 @@
3828
</PropertyGroup>
3929

4030
<ItemGroup>
41-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
31+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
4232
</ItemGroup>
4333

4434
<ItemGroup>

Specification/tests/Ardalis.Specification.UnitTests/Ardalis.Specification.UnitTests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net7.0;net472</TargetFrameworks>
5-
<LangVersion>11.0</LangVersion>
4+
<TargetFrameworks>net8.0;net472</TargetFrameworks>
5+
<LangVersion>12.0</LangVersion>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
12-
<PackageReference Include="FluentAssertions" Version="6.11.0" />
13-
<PackageReference Include="xunit" Version="2.5.0" />
14-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
12+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
13+
<PackageReference Include="xunit" Version="2.6.2" />
14+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
1515
<PrivateAssets>all</PrivateAssets>
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
</PackageReference>

sample/Ardalis.Sample.App1/Ardalis.Sample.App1.csproj

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

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

99
<ItemGroup>
1010
<PackageReference Include="AutoMapper" Version="12.0.1" />
1111
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
12-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.9" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.9" />
12+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
1414
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
1515
</ItemGroup>
1616

sample/Ardalis.Sample.App2/Ardalis.Sample.App2.csproj

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

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

99
<ItemGroup>
1010
<PackageReference Include="AutoMapper" Version="12.0.1" />
1111
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
12-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.9" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.9" />
12+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
1414
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
1515
</ItemGroup>
1616

0 commit comments

Comments
 (0)