Skip to content

Commit 89744df

Browse files
authored
v5.18.0 (#268)
* v5.18.0 - *Enhancement:* Added `net9.0` support. - *Enhancement:* Deprecated `net7.0` support; no longer supported by [Microsoft](https://dotnet.microsoft.com/en-us/platform/support/policy). - *Enhancement:* Updated dependencies to latest; including transitive where applicable. - *Enhancement:* Integrated `UnitTestEx` version `5.0.0` to enable the latest capabilities and improvements. - `CoreEx.UnitTesting.NUnit` given changes is no longer required and has been deprecated, the `UnitTestEx.NUnit` (or other) must be explicitly referenced as per testing framework being used. - `CoreEx.UnitTesting` package updated to include only standard .NET core capabilities to follow new `UnitTestEx` pattern; new packages created to house specific as follows: - `CoreEx.UnitTesting.Azure.Functions` created to house Azure Functions specific capabilities; - `CoreEx.UnitTesting.Azure.ServiceBus` created to house Azure Service Bus specific capabilities. - Existing usage will require references to the new packages as required. There should be limited need to update existing tests to use beyond the requirement for the root `UnitTestEx` namespace. The updated default within `UnitTestEx` is to expose the key capabilities from the root namespace. For example, `using UnitTestEx.NUnit`, should be replaced with `using UnitTestEx`. * Fix Postgres EF dependency in template. * Fix template references.
1 parent 4f50105 commit 89744df

54 files changed

Lines changed: 116 additions & 103 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
with:
6666
dotnet-version: |
6767
6.0.x
68-
7.0.x
6968
8.0.x
69+
9.0.x
7070
7171
# Tools
7272

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
Represents the **NuGet** versions.
44

5+
## v5.18.0
6+
- *Enhancement:* Added `net9.0` support.
7+
- *Enhancement:* Deprecated `net7.0` support; no longer supported by [Microsoft](https://dotnet.microsoft.com/en-us/platform/support/policy).
8+
- *Enhancement:* Updated dependencies to latest; including transitive where applicable.
9+
- *Enhancement:* Integrated `UnitTestEx` version `5.0.0` to enable the latest capabilities and improvements.
10+
- `CoreEx.UnitTesting.NUnit` given changes is no longer required and has been deprecated, the `UnitTestEx.NUnit` (or other) must be explicitly referenced as per testing framework being used.
11+
- `CoreEx.UnitTesting` package updated to include only standard .NET core capabilities to follow new `UnitTestEx` pattern; new packages created to house specific as follows:
12+
- `CoreEx.UnitTesting.Azure.Functions` created to house Azure Functions specific capabilities;
13+
- `CoreEx.UnitTesting.Azure.ServiceBus` created to house Azure Service Bus specific capabilities.
14+
- Existing usage will require references to the new packages as required. There should be limited need to update existing tests to use beyond the requirement for the root `UnitTestEx` namespace. The updated default within `UnitTestEx` is to expose the key capabilities from the root namespace. For example, `using UnitTestEx.NUnit`, should be replaced with `using UnitTestEx`.
15+
516
## v5.17.1
617
- *Fixed:* The database console `Script` command execution has been updated to output to the correct directory path.
718
- *Fixed:* The `Agent` code-generation artefacts have been further simplified/improved.

Common.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>5.17.1</Version>
3+
<Version>5.18.0</Version>
44
<LangVersion>preview</LangVersion>
55
<Authors>Avanade</Authors>
66
<Company>Avanade</Company>

samples/Cdr.Banking/Cdr.Banking.Api/Cdr.Banking.Api.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<ImplicitUsings>true</ImplicitUsings>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.3" />
9-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.9.0" />
8+
<PackageReference Include="CoreEx.AspNetCore" Version="3.30.0" />
9+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="7.0.0" />
1010
</ItemGroup>
1111
<ItemGroup>
1212
<ProjectReference Include="..\Cdr.Banking.Business\Cdr.Banking.Business.csproj" />

samples/Cdr.Banking/Cdr.Banking.Business/Cdr.Banking.Business.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<Folder Include="DataSvc\" />
1313
</ItemGroup>
1414
<ItemGroup>
15-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.3" />
16-
<PackageReference Include="CoreEx.Cosmos" Version="3.27.3" />
17-
<PackageReference Include="CoreEx.Validation" Version="3.27.3" />
15+
<PackageReference Include="CoreEx.AspNetCore" Version="3.30.0" />
16+
<PackageReference Include="CoreEx.Cosmos" Version="3.30.0" />
17+
<PackageReference Include="CoreEx.Validation" Version="3.30.0" />
1818
</ItemGroup>
1919
</Project>

samples/Cdr.Banking/Cdr.Banking.Common/Cdr.Banking.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
<Folder Include="Entities\" />
1111
</ItemGroup>
1212
<ItemGroup>
13-
<PackageReference Include="CoreEx" Version="3.27.3" />
13+
<PackageReference Include="CoreEx" Version="3.30.0" />
1414
</ItemGroup>
1515
</Project>

samples/Cdr.Banking/Cdr.Banking.Test/AccountTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using System.Net;
99
using UnitTestEx;
1010
using UnitTestEx.Expectations;
11-
using UnitTestEx.NUnit;
1211

1312
namespace Cdr.Banking.Test
1413
{

samples/Cdr.Banking/Cdr.Banking.Test/Cdr.Banking.Test.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
<PrivateAssets>all</PrivateAssets>
3535
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3636
</PackageReference>
37-
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
37+
<PackageReference Include="NUnit.Analyzers" Version="4.4.0">
3838
<PrivateAssets>all</PrivateAssets>
3939
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4040
</PackageReference>
41-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
42-
<PackageReference Include="CoreEx.UnitTesting.NUnit" Version="3.27.3" />
41+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
42+
<PackageReference Include="CoreEx.UnitTesting" Version="3.30.0" />
43+
<PackageReference Include="UnitTestEx.NUnit" Version="5.0.0" />
4344
</ItemGroup>
4445

4546
<ItemGroup>

samples/Cdr.Banking/Cdr.Banking.Test/FixtureSetup.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using NUnit.Framework;
88
using System.Threading.Tasks;
99
using UnitTestEx;
10-
using UnitTestEx.NUnit;
1110
using Cosmos = Microsoft.Azure.Cosmos;
1211

1312
namespace Cdr.Banking.Test

samples/Cdr.Banking/Cdr.Banking.Test/TransactionArgsTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.Threading.Tasks;
77
using UnitTestEx;
88
using UnitTestEx.Expectations;
9-
using UnitTestEx.NUnit;
109

1110
namespace Cdr.Banking.Test
1211
{

0 commit comments

Comments
 (0)