Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
dotnet-version: |
8.0.x
10.0.x

- name: Restore dependencies
run: dotnet restore MessageValidation.slnx
Expand All @@ -31,13 +33,4 @@ jobs:
run: dotnet test MessageValidation.IntegrationTests/MessageValidation.IntegrationTests.csproj --configuration Release --no-build --filter "Category=Integration" --verbosity normal

- name: Pack (validate packages)
run: |
dotnet pack MessageValidation/MessageValidation.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.FluentValidation/MessageValidation.FluentValidation.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.DataAnnotations/MessageValidation.DataAnnotations.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.MqttNet/MessageValidation.MqttNet.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.NatsNet/MessageValidation.NatsNet.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.RabbitMQ/MessageValidation.RabbitMQ.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.Kafka/MessageValidation.Kafka.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.AzureServiceBus/MessageValidation.AzureServiceBus.csproj --configuration Release --no-build --output ./nupkgs
dotnet pack MessageValidation.AzureEventHubs/MessageValidation.AzureEventHubs.csproj --configuration Release --no-build --output ./nupkgs
run: dotnet pack MessageValidation.slnx --configuration Release --no-build --output ./nupkgs
4 changes: 3 additions & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
dotnet-version: |
8.0.x
10.0.x

- name: Restore dependencies
run: dotnet restore MessageValidation.slnx
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.AzureEventHubs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Same, but using passwordless auth.

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [Azure.Messaging.EventHubs](https://www.nuget.org/packages/Azure.Messaging.EventHubs) 5+
- [Azure.Messaging.EventHubs.Processor](https://www.nuget.org/packages/Azure.Messaging.EventHubs.Processor) 5+ (for `EventProcessorClient`)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.AzureServiceBus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Registers a singleton `ServiceBusClient` built from a namespace and a `TokenCred

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [Azure.Messaging.ServiceBus](https://www.nuget.org/packages/Azure.Messaging.ServiceBus) 7+

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.DataAnnotations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ Messages implementing `IValidatableObject` are also supported for cross-property

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) >= 0.3.0
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.FluentValidation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ builder.Services.AddMessageFluentValidation();

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [FluentValidation](https://www.nuget.org/packages/FluentValidation) 11+

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.ImmediateValidations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ That's it. The pipeline will call the source-generated `TemperatureReading.Valid

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) >= 2.0.0
- [Immediate.Validations](https://www.nuget.org/packages/Immediate.Validations) >= 3.3.0
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.Kafka/MessageValidation.Kafka.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.Kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ builder.Services.AddMessageDeserializer<AvroMessageDeserializer>();

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [Confluent.Kafka](https://www.nuget.org/packages/Confluent.Kafka) 2+

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.MqttNet/MessageValidation.MqttNet.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.MqttNet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Registers a singleton `IMqttClient` in the DI container with the validation pipe

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [MQTTnet](https://www.nuget.org/packages/MQTTnet) 4+

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.NatsNet/MessageValidation.NatsNet.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.NatsNet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Registers a singleton `INatsConnection` in the DI container.

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [NATS.Net](https://www.nuget.org/packages/NATS.Net) 2+

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.RabbitMQ/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Registers a `ConnectionFactory` and singleton `IConnection` in the DI container.

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)
- [MessageValidation](https://www.nuget.org/packages/MessageValidation) core package
- [RabbitMQ.Client](https://www.nuget.org/packages/RabbitMQ.Client) 7+

Expand Down
2 changes: 1 addition & 1 deletion MessageValidation.Tests/MessageValidation.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion MessageValidation/MessageValidation.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>14.0</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ when the predicate returns `true`, just like `IApplicationBuilder.Map`.

## Requirements

- .NET 10+
- .NET 8.0+ (targets `net8.0` and `net10.0`)

## Author

Expand Down
Loading