From b9bcfb7cc70988da93604bdb241eefc94482409a Mon Sep 17 00:00:00 2001 From: Mikhail Kumachev Date: Mon, 7 Dec 2020 17:15:00 +0300 Subject: [PATCH 1/5] fix: Replace strict net5 dependencies bindings with conditional package references --- ...HttpClient.ResiliencePolicies.Tests.csproj | 17 +++++++++++++-- .../Dodo.HttpClient.ResiliencePolicies.csproj | 21 +++++++++++++++++-- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj index 567c048..186ba82 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj @@ -10,13 +10,26 @@ - - + + + + + + + + + + + + + + + diff --git a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj index 231d342..b5ca8a7 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj @@ -8,13 +8,30 @@ Dodo.HttpClientResiliencePolicies true + + + + + + + + + + + + + + + + + + - - + \ From 51b8d332a257d612f25f94e34aff1dd1c2878f4b Mon Sep 17 00:00:00 2001 From: Mikhail Kumachev Date: Mon, 7 Dec 2020 17:21:13 +0300 Subject: [PATCH 2/5] chore: Bump package version --- .../Dodo.HttpClient.ResiliencePolicies.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj index b5ca8a7..f8e5142 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj @@ -3,7 +3,7 @@ netstandard2.0;netcoreapp3.1;net5.0 netstandard2.0 8.0 - 2.0.0 + 2.0.1 Dodo.HttpClient.ResiliencePolicies Dodo.HttpClientResiliencePolicies true From a0bac5bbc218ba8d04b98c9d71e4324f5f2de477 Mon Sep 17 00:00:00 2001 From: Mikhail Kumachev Date: Mon, 7 Dec 2020 17:44:31 +0300 Subject: [PATCH 3/5] chore: Remove transient dependencies from tests project --- ...odo.HttpClient.ResiliencePolicies.Tests.csproj | 15 --------------- .../Dodo.HttpClient.ResiliencePolicies.csproj | 1 + 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj index 186ba82..2749635 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj @@ -15,21 +15,6 @@ - - - - - - - - - - - - - - - diff --git a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj index f8e5142..138a333 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj @@ -49,6 +49,7 @@ README.md + Dodo.HttpClient.ResiliencePolicies Dodo.HttpClient.ResiliencePolicies From be348ebeb728ae7e406baf95ce95009ab0faa914 Mon Sep 17 00:00:00 2001 From: Mikhail Kumachev Date: Mon, 7 Dec 2020 17:49:00 +0300 Subject: [PATCH 4/5] chore: Remove special condition for netcoreapp2.1 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/master.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .../Dodo.HttpClient.ResiliencePolicies.Tests.csproj | 3 +-- .../Dodo.HttpClient.ResiliencePolicies.csproj | 3 +-- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd6da90..a3215cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,8 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: ${{ matrix.dotnet.version }} + dotnet-version: ${{ matrix.dotnet.version }} - name: Run tests run: | - dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }} + dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a6d0209..c1e79e3 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -25,11 +25,11 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: ${{ matrix.dotnet.version }} + dotnet-version: ${{ matrix.dotnet.version }} - name: Run tests run: | - dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }} + dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj release: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5f9cb1..4004d33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,11 +24,11 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: ${{ matrix.dotnet.version }} + dotnet-version: ${{ matrix.dotnet.version }} - name: Run tests run: | - dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }} + dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj build-and-publish: diff --git a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj index 2749635..71309c2 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj @@ -1,8 +1,7 @@  - netcoreapp2.1;netcoreapp3.1;net5.0 - netcoreapp2.1 + netcoreapp2.1;netcoreapp3.1;net5.0 8.0 false Dodo.HttpClientResiliencePolicies.Tests diff --git a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj index 138a333..4ac5c3e 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj @@ -1,7 +1,6 @@ - netstandard2.0;netcoreapp3.1;net5.0 - netstandard2.0 + netstandard2.0;netcoreapp3.1;net5.0 8.0 2.0.1 Dodo.HttpClient.ResiliencePolicies From 5df8e8d21e3ee3fff50bd9dba7cd7b1248b006fb Mon Sep 17 00:00:00 2001 From: Mikhail Kumachev Date: Mon, 7 Dec 2020 17:57:07 +0300 Subject: [PATCH 5/5] chore: Revert removing special condition for netcoreapp2.1 --- .github/workflows/ci.yml | 2 +- .github/workflows/master.yml | 2 +- .github/workflows/release.yml | 2 +- .../Dodo.HttpClient.ResiliencePolicies.Tests.csproj | 3 ++- .../Dodo.HttpClient.ResiliencePolicies.csproj | 3 ++- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3215cf..7b9db42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,4 +35,4 @@ jobs: - name: Run tests run: | - dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj + dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }} diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index c1e79e3..01a80ca 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -29,7 +29,7 @@ jobs: - name: Run tests run: | - dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj + dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }} release: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4004d33..dcb113b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: Run tests run: | - dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj + dotnet test --configuration Release --framework ${{ matrix.dotnet.framework }} ./src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj /p:Framework=${{ matrix.dotnet.framework }} build-and-publish: diff --git a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj index 71309c2..2749635 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies.Tests/Dodo.HttpClient.ResiliencePolicies.Tests.csproj @@ -1,7 +1,8 @@  - netcoreapp2.1;netcoreapp3.1;net5.0 + netcoreapp2.1;netcoreapp3.1;net5.0 + netcoreapp2.1 8.0 false Dodo.HttpClientResiliencePolicies.Tests diff --git a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj index 4ac5c3e..138a333 100644 --- a/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj +++ b/src/Dodo.HttpClient.ResiliencePolicies/Dodo.HttpClient.ResiliencePolicies.csproj @@ -1,6 +1,7 @@ - netstandard2.0;netcoreapp3.1;net5.0 + netstandard2.0;netcoreapp3.1;net5.0 + netstandard2.0 8.0 2.0.1 Dodo.HttpClient.ResiliencePolicies