From 04c46166119ab6548114a8e625523d64cb2f1f00 Mon Sep 17 00:00:00 2001 From: pmosk Date: Mon, 27 Apr 2026 22:38:08 +0300 Subject: [PATCH 1/5] Set v2.2.0-rc.1 version. Mark Dependency.Empty method as obsolete. --- Dependency.slnx | 19 +++++++++++++++++++ src/Dependency.slnx | 19 ------------------- .../Tests.Dependency/Empty/Empty.cs | 2 ++ .../Core/Dependency.Core.csproj | 2 +- .../Core/Dependency/Empty/Empty.cs | 1 + .../ServiceProviderExtensions.csproj | 2 +- src/dependency/Dependency/Dependency.csproj | 2 +- 7 files changed, 25 insertions(+), 22 deletions(-) create mode 100644 Dependency.slnx delete mode 100644 src/Dependency.slnx diff --git a/Dependency.slnx b/Dependency.slnx new file mode 100644 index 00000000..91b65021 --- /dev/null +++ b/Dependency.slnx @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Dependency.slnx b/src/Dependency.slnx deleted file mode 100644 index e4143377..00000000 --- a/src/Dependency.slnx +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs b/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs index 36bbdcd8..d80b44b7 100644 --- a/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs +++ b/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs @@ -6,6 +6,7 @@ namespace PrimeFuncPack.Tests; partial class DependencyTest { [Fact] + [Obsolete("This test is obsolete and will be removed in future versions")] public void Empty_ExpectResolvedValueIsUnit() { var actual = Dependency.Empty(); @@ -15,6 +16,7 @@ public void Empty_ExpectResolvedValueIsUnit() } [Fact] + [Obsolete("This test is obsolete and will be removed in future versions")] public void EmptyTwoTimes_ExpectDependenciesAreNotSame() { var firstDependency = Dependency.Empty(); diff --git a/src/dependency-core/Core/Dependency.Core.csproj b/src/dependency-core/Core/Dependency.Core.csproj index 543e87ac..72c3ba90 100644 --- a/src/dependency-core/Core/Dependency.Core.csproj +++ b/src/dependency-core/Core/Dependency.Core.csproj @@ -18,7 +18,7 @@ PrimeFuncPack Dependency.Core is a core library for .NET providing a functional programming based technology to build consistent dependency trees validated in the compile time. PrimeFuncPack PrimeFuncPack.Dependency.Core - 2.2.0-preview.1 + 2.2.0-rc.1 diff --git a/src/dependency-core/Core/Dependency/Empty/Empty.cs b/src/dependency-core/Core/Dependency/Empty/Empty.cs index ea01887e..830cca52 100644 --- a/src/dependency-core/Core/Dependency/Empty/Empty.cs +++ b/src/dependency-core/Core/Dependency/Empty/Empty.cs @@ -4,6 +4,7 @@ namespace PrimeFuncPack; partial class Dependency { + [Obsolete("This method is obsolete and will be removed in future versions")] public static Dependency Empty() => new(default(Unit)); diff --git a/src/dependency-service-provider-extensions/ServiceProviderExtensions/ServiceProviderExtensions.csproj b/src/dependency-service-provider-extensions/ServiceProviderExtensions/ServiceProviderExtensions.csproj index 2f6f5f9d..17f1e828 100644 --- a/src/dependency-service-provider-extensions/ServiceProviderExtensions/ServiceProviderExtensions.csproj +++ b/src/dependency-service-provider-extensions/ServiceProviderExtensions/ServiceProviderExtensions.csproj @@ -18,7 +18,7 @@ PrimeFuncPack Dependency.ServiceProviderExtensions is a library for .NET providing useful extensions for the service provider. PrimeFuncPack PrimeFuncPack.Dependency.ServiceProviderExtensions - 2.1.1-preview.1 + 2.1.1-rc.1 diff --git a/src/dependency/Dependency/Dependency.csproj b/src/dependency/Dependency/Dependency.csproj index 0c2ed7b8..370622a9 100644 --- a/src/dependency/Dependency/Dependency.csproj +++ b/src/dependency/Dependency/Dependency.csproj @@ -18,7 +18,7 @@ PrimeFuncPack Dependency is a framework for .NET providing a functional programming based technology to build consistent dependency trees validated in the compile time. PrimeFuncPack PrimeFuncPack.Dependency - 2.2.0-preview.1 + 2.2.0-rc.1 From b49b445018de238c4d1089b53581208c218ab2ab Mon Sep 17 00:00:00 2001 From: Pavel Moskovoy Date: Mon, 27 Apr 2026 22:40:31 +0300 Subject: [PATCH 2/5] Simplify dotnet commands by removing solution path --- .github/workflows/dotnet.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 02972513..817dcbcc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -26,16 +26,16 @@ jobs: run: mkdir ~/nuget - name: Restore solution - run: dotnet restore src/Dependency.slnx + run: dotnet restore - name: Build solution - run: dotnet build src/Dependency.slnx --no-restore -c Release + run: dotnet build --no-restore -c Release - name: Test solution - run: dotnet test src/Dependency.slnx --no-restore -c Release + run: dotnet test --no-restore -c Release - name: Pack solution - run: dotnet pack src/Dependency.slnx --no-restore -o ~/nuget -c Release + run: dotnet pack --no-restore -o ~/nuget -c Release - name: Push Packages if: ${{ github.event_name == 'release' }} From 1ca3e37866b3ca09af510e89e87938c0a06fea9a Mon Sep 17 00:00:00 2001 From: Pavel Moskovoy Date: Mon, 27 Apr 2026 22:44:48 +0300 Subject: [PATCH 3/5] Update obsolete message for Empty method --- src/dependency-core/Core/Dependency/Empty/Empty.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dependency-core/Core/Dependency/Empty/Empty.cs b/src/dependency-core/Core/Dependency/Empty/Empty.cs index 830cca52..268d3d47 100644 --- a/src/dependency-core/Core/Dependency/Empty/Empty.cs +++ b/src/dependency-core/Core/Dependency/Empty/Empty.cs @@ -4,8 +4,8 @@ namespace PrimeFuncPack; partial class Dependency { - [Obsolete("This method is obsolete and will be removed in future versions")] + [Obsolete("This method is obsolete. Call Pipe instead.")] public static Dependency Empty() => new(default(Unit)); -} \ No newline at end of file +} From 71c3521f7fecfbf1874e4c4ba0e16089eb8ce7de Mon Sep 17 00:00:00 2001 From: Pavel Moskovoy Date: Mon, 27 Apr 2026 22:45:23 +0300 Subject: [PATCH 4/5] Fix obsolete attribute message formatting --- .../Core.Tests/Tests.Dependency/Empty/Empty.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs b/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs index d80b44b7..f2f16ff7 100644 --- a/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs +++ b/src/dependency-core/Core.Tests/Tests.Dependency/Empty/Empty.cs @@ -6,7 +6,7 @@ namespace PrimeFuncPack.Tests; partial class DependencyTest { [Fact] - [Obsolete("This test is obsolete and will be removed in future versions")] + [Obsolete("This test is obsolete and will be removed in future versions.")] public void Empty_ExpectResolvedValueIsUnit() { var actual = Dependency.Empty(); @@ -16,7 +16,7 @@ public void Empty_ExpectResolvedValueIsUnit() } [Fact] - [Obsolete("This test is obsolete and will be removed in future versions")] + [Obsolete("This test is obsolete and will be removed in future versions.")] public void EmptyTwoTimes_ExpectDependenciesAreNotSame() { var firstDependency = Dependency.Empty(); @@ -24,4 +24,4 @@ public void EmptyTwoTimes_ExpectDependenciesAreNotSame() Assert.NotSame(firstDependency, secondDependency); } -} \ No newline at end of file +} From 759f7bec3faefe1f1fd0d07c253a7c34b4c55bef Mon Sep 17 00:00:00 2001 From: Andrei Sergeev Date: Mon, 27 Apr 2026 23:58:34 +0400 Subject: [PATCH 5/5] Fix InternalPipelineExtensions namespace --- .../InternalPipelineExtensions/InternalPipelineExtensions.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dependency-core/Core/InternalPipelineExtensions/InternalPipelineExtensions.cs b/src/dependency-core/Core/InternalPipelineExtensions/InternalPipelineExtensions.cs index 4c0c1b5c..14ff3441 100644 --- a/src/dependency-core/Core/InternalPipelineExtensions/InternalPipelineExtensions.cs +++ b/src/dependency-core/Core/InternalPipelineExtensions/InternalPipelineExtensions.cs @@ -1,4 +1,6 @@ -namespace System; +using System; + +namespace PrimeFuncPack; internal static class InternalPipelineExtensions {