Skip to content

Commit

Permalink
Merge pull request #15 from FRACerqueira/v1.0.4
Browse files Browse the repository at this point in the history
V1.0.4
  • Loading branch information
FRACerqueira authored Nov 14, 2023
2 parents 16d949c + bde713d commit 92618af
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 43 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@ name: Build

on: [push, pull_request]

env:
DOTNET_VERSION: 7.0.x

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-version: '8.0.x' # SDK Version to use.

- name: Build project
run: dotnet build PipeAndFilter.sln -c Release
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: "CodeQL"

on: [push, pull_request]

env:
DOTNET_VERSION: 7.0.x

jobs:
analyze:
name: Analyze
Expand All @@ -21,12 +18,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-version: '8.0.x' # SDK Version to use.

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@ on:
push:
tags: [ v* ]

env:
DOTNET_VERSION: 7.0.x

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-version: '8.0.x' # SDK Version to use.

- name: Setup Version
id: setup_version
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

### **PipeAndFilter component for .NET Core with flexible conditions for each step (pipe) and the ability to parallel execute tasks over a pipe.**

**PipeAndFilter** was developed in C# with the **netstandard2.1**, **.NET 6** and **.NET 7** target frameworks.
**PipeAndFilter** was developed in C# with the **netstandard2.1**, **.NET 6** , **.NET 7** and **.NET 8** target frameworks.


<img src="./docs/images/PipeAndFilterFeature.png">

Expand All @@ -28,8 +29,11 @@
- [API Reference](https://fracerqueira.github.io/PipeAndFilter/apis/apis.html)

## What's new in the latest version
### V1.0.3
### V1.0.4

- Release G.A with .NET8

### V1.0.3
[**Top**](#table-of-contents)

- First Release G.A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<TargetFrameworks>net8.0;net7.0;net6.0;netstandard2.1</TargetFrameworks>
<Nullable>enable</Nullable>
<StartupObject>PipeandFIlterBenchmarking.Program</StartupObject>
</PropertyGroup>

Expand All @@ -15,8 +15,4 @@
<ProjectReference Include="..\..\Src\PipeAndFilter.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="BenchmarkDotNet.Artifacts\" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Samples/SampleApi/PipeAndFilterSampleApi.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.13" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Samples/SampleConsole/PipeAndFilterSampleConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
18 changes: 16 additions & 2 deletions Src/Control/PipeAndFilterException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,22 @@ public PipeAndFilterException(PipeStatus status, string? message, Exception? inn
}

///<inheritdoc cref="Exception"/>
protected PipeAndFilterException(SerializationInfo info, StreamingContext context) : base(info, context)
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")] // add this attribute to the serialization ctor
#endif
protected PipeAndFilterException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}

///<inheritdoc cref="Exception"/>
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")] // add this attribute to GetObjectData
#endif
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
/* your dehydration here */
base.GetObjectData(info, context);
}
}
}
}
8 changes: 6 additions & 2 deletions Src/NugetREADME.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

### **PipeAndFilter component for .NET Core with flexible conditions for each step (pipe) and the ability to parallel execute tasks over a pipe.**

**PipeAndFilter** was developed in C# with the **netstandard2.1**, **.NET 6** and **.NET 7** target frameworks.
**PipeAndFilter** was developed in C# with the **netstandard2.1**, **.NET 6** , **.NET 7** and **.NET 8** target frameworks.

## What's new in V1.0.3
## V1.0.4

- Release G.A with .NET8

## V1.0.3

- First Release G.A

Expand Down
10 changes: 5 additions & 5 deletions Src/PipeAndFilter.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;netstandard2.1</TargetFrameworks>
<LangVersion>latest</LangVersion>
<NeutralLanguage>en</NeutralLanguage>
<RootNamespace>PipeFilterCore</RootNamespace>
Expand Down Expand Up @@ -45,13 +45,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.1'">
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
7 changes: 7 additions & 0 deletions Src/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ PipeAndFilter was developed in C# with target frameworks:
- netstandard2.1
- .NET 6
- .NET 7
- .NET 8

*** What's new in V1.0.4 ***
----------------------------

- Release G.A with .NET8


*** What's new in V1.0.3 ***
----------------------------
Expand Down
14 changes: 14 additions & 0 deletions docs/apis/pipefiltercore.pipeandfilterexception.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,20 @@ The message that describes the error.
`innerException` [Exception](https://docs.microsoft.com/en-us/dotnet/api/system.exception)<br>
The exception that is the cause of the current exception, or a null reference.

## Methods

### <a id="methods-getobjectdata"/>**GetObjectData(SerializationInfo, StreamingContext)**

```csharp
public void GetObjectData(SerializationInfo info, StreamingContext context)
```

#### Parameters

`info` [SerializationInfo](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.serializationinfo)<br>

`context` [StreamingContext](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.streamingcontext)<br>


- - -
[**Back to List Api**](./apis.md)
7 changes: 5 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
and the ability to parallel execute tasks over a pipe.
.**

**PipeAndFilter** was developed in C# with the **netstandard2.1**, **.NET 6** and **.NET 7** target frameworks.
**PipeAndFilter** was developed in C# with the **netstandard2.1**, **.NET 6** , **.NET 7** and **.NET 8** target frameworks.

<img src="./images/PipeAndFilterFeature.png">

Expand All @@ -28,8 +28,11 @@ and the ability to parallel execute tasks over a pipe.
- [API Reference](https://fracerqueira.github.io/PipeAndFilter/apis/apis.html)

## What's new in the latest version
### V1.0.3
### V1.0.4

- Release G.A with .NET8

### V1.0.3
[**Top**](#table-of-contents)

- First Release G.A
Expand Down

0 comments on commit 92618af

Please sign in to comment.