Skip to content

Commit

Permalink
Added support for .NET 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-peshkov committed Nov 18, 2023
1 parent 13d3a0f commit 5718f43
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Cross.CQRS/Cross.CQRS.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<LangVersion>11</LangVersion>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<GenerateRequiresPreviewFeaturesAttribute>False</GenerateRequiresPreviewFeaturesAttribute>
Expand All @@ -22,7 +22,7 @@

<PackageReference Include="MediatR" Version="11.1.0" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="11.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />

<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Scrutor" Version="4.2.2" />
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ Simple .NET MediatR base Query, Command, Event and Validation.
Event Queue and Validation behaviors written on C#.

Main Features:
* **Queries, and QueryHandlers**.
* **Queries, and QueryHandlers**.

Implemented base patterns to work with Queries. The Queries used just to get any data.

* **Commands and CommandHandlers**.

Implemented base patterns to work with Commands. The Commands used to modify entities.
Implemented base patterns to work with Commands. The Commands used to modify entities.

* **Events, EventHandlers, EventWriter and EventReader**.
* **Events, EventHandlers, EventWriter and EventReader**.

Implemented base patterns to crate Events, approach how to write a new Events from the Commands, consuming patterns and behavior to handle it.
The main idea is to do some actions after the Commands have to be finished, to avoid cases when one Command call another one.

* **Validation**.

Here included validation behavior based on FluentValidation, that allow to validate Queries and Command before their execution.
Here included validation behavior based on FluentValidation, that allow to validate Queries and Command before their execution.

* **.NET Standard 2.1 and Source Linking**.
* **.NET Standard 2.1 and Source Linking**.

From version 1.0 repository contains .NET Standard 2.0, .NET 6 and .NET 7 projects.
From version 1.0 repository contains .NET Standard 2.0, .NET 6, .NET 7 and .NET 8 projects.
Source linking enabled and symbol package is published to nuget symbols server, making debugging easier.

## Install with nuget.org:
Expand Down
5 changes: 4 additions & 1 deletion ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ Icon updated.

7.0.0
Removed PaginatedQuery as useless.
Updated version to correlate with .NET version.
Updated version to correlate with .NET version.

8.0.0
Added support for .NET 8.
8 changes: 4 additions & 4 deletions _nuget/config.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Cross.CQRS</id>
<version>7.0.0</version>
<version>8.0.0</version>
<authors>denis-peshkov</authors>
<owners>denis-peshkov</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -11,8 +11,7 @@
<projectUrl>https://github.com/denis-peshkov/Cross.CQRS</projectUrl>
<icon>icon.png</icon>
<releaseNotes>
Removed PaginatedQuery as useless.
Updated version to correlate with .NET version.
Added support for .NET 8.
</releaseNotes>
<description>Simple .NET MediatR base Query, Command, Event. Event Queue and Validation behaviors. Written on C#.</description>
<tags>.NET Mediatr Query QueryHandler Command CommandHandler Event EventHandler EventQueueBehavior Validation ValidationBehavior SyntaxNotes NetCore</tags>
Expand All @@ -22,7 +21,7 @@
<dependency id="FluentValidation.DependencyInjectionExtensions" version="11.8.0" />
<dependency id="MediatR" version="11.1.0" />
<dependency id="MediatR.Extensions.Microsoft.DependencyInjection" version="11.1.0" />
<dependency id="Microsoft.Extensions.Configuration" version="7.0.0" />
<dependency id="Microsoft.Extensions.Configuration" version="8.0.0" />
<dependency id="Microsoft.CSharp" version="4.7.0" />
<dependency id="Scrutor" version="4.2.2" />
</dependencies>
Expand All @@ -31,6 +30,7 @@
<file src="..\Cross.CQRS\bin\Release\netstandard2.1\Cross.CQRS*.* " target="lib\netstandard2.1" />
<file src="..\Cross.CQRS\bin\Release\net6.0\Cross.CQRS*.* " target="lib\net6.0" />
<file src="..\Cross.CQRS\bin\Release\net7.0\Cross.CQRS*.* " target="lib\net7.0" />
<file src="..\Cross.CQRS\bin\Release\net7.0\Cross.CQRS*.* " target="lib\net8.0" />
<file src="..\README.md" target="docs\" />
<file src="..\icon.png" target="" />
</files>
Expand Down

0 comments on commit 5718f43

Please sign in to comment.