From 51109460ab5845060d8dc8fa360abb71bc55f81d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 06:30:32 +0000 Subject: [PATCH 1/5] Bump coverlet.msbuild from 6.0.0 to 6.0.1 Bumps [coverlet.msbuild](https://github.com/coverlet-coverage/coverlet) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.0...v6.0.1) --- updated-dependencies: - dependency-name: coverlet.msbuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .../Microsoft.Kiota.Abstractions.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Microsoft.Kiota.Abstractions.Tests/Microsoft.Kiota.Abstractions.Tests.csproj b/Microsoft.Kiota.Abstractions.Tests/Microsoft.Kiota.Abstractions.Tests.csproj index ef6219ce..f694c851 100644 --- a/Microsoft.Kiota.Abstractions.Tests/Microsoft.Kiota.Abstractions.Tests.csproj +++ b/Microsoft.Kiota.Abstractions.Tests/Microsoft.Kiota.Abstractions.Tests.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 422caa08b965120704a7d69fa367c25034bfc0b7 Mon Sep 17 00:00:00 2001 From: Hugo Woodiwiss Date: Wed, 21 Feb 2024 19:35:00 +0000 Subject: [PATCH 2/5] Add net6.0 and net8.0 to TargetFrameworks --- src/Microsoft.Kiota.Abstractions.csproj | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Kiota.Abstractions.csproj b/src/Microsoft.Kiota.Abstractions.csproj index ccb70dc0..a8abdab9 100644 --- a/src/Microsoft.Kiota.Abstractions.csproj +++ b/src/Microsoft.Kiota.Abstractions.csproj @@ -6,7 +6,7 @@ © Microsoft Corporation. All rights reserved. Kiota Abstractions Library for dotnet Microsoft - netstandard2.0;netstandard2.1;net5.0; + netstandard2.0;netstandard2.1;net5.0;net6.0;net8.0 latest true http://go.microsoft.com/fwlink/?LinkID=288890 @@ -34,9 +34,12 @@ README.md $(NoWarn);NU5048;NETSDK1138 - + true + + true + From 6381c60f3fa493e967d2f356fb82f0ddf6314f47 Mon Sep 17 00:00:00 2001 From: Hugo Woodiwiss Date: Wed, 21 Feb 2024 19:36:46 +0000 Subject: [PATCH 3/5] Update version and changelog --- CHANGELOG.md | 6 ++++++ src/Microsoft.Kiota.Abstractions.csproj | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1115a3fa..712d2a62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.7.10] - 2024-02-26 + +### Changed + +- Added `net6.0` and `net8.0` as target frameworks. + ## [1.7.9] - 2024-02-05 ### Changed diff --git a/src/Microsoft.Kiota.Abstractions.csproj b/src/Microsoft.Kiota.Abstractions.csproj index a8abdab9..e423838a 100644 --- a/src/Microsoft.Kiota.Abstractions.csproj +++ b/src/Microsoft.Kiota.Abstractions.csproj @@ -14,7 +14,7 @@ https://aka.ms/kiota/docs true true - 1.7.9 + 1.7.10 true false From 9a297bb1bc86e9a80954bc8b7bb4a5c6de86dea7 Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Thu, 22 Feb 2024 11:16:35 +0300 Subject: [PATCH 4/5] Test and collection coverage --- .github/workflows/build-and-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 46789243..24a4fced 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -31,7 +31,9 @@ jobs: run: dotnet restore ${{ env.solutionName }} - name: Build run: dotnet build ${{ env.solutionName }} --no-restore -c Release /p:UseSharedCompilation=false - - name: Test - run: dotnet test ${{ env.solutionName }} --no-build --verbosity normal -c Release /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover + - name: Test for net462 + run: dotnet test ${{ env.solutionName }} --no-build --verbosity normal -c Release --framework net462 + - name: Test for net8.0 and collect coverage + run: dotnet test ${{ env.solutionName }} --no-build --verbosity normal -c Release /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover --framework net8.0 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 From 6591ff254e973ec2f426ccad38550c95be19ebdb Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Thu, 22 Feb 2024 11:21:23 +0300 Subject: [PATCH 5/5] update --- .github/workflows/sonarcloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 748cc2c7..1208263f 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -76,5 +76,5 @@ jobs: ./.sonar/scanner/dotnet-sonarscanner begin /k:"microsoft_kiota-abstractions-dotnet" /o:"microsoft" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="Microsoft.Kiota.Abstractions.Tests/coverage.net8.0.opencover.xml" dotnet workload restore dotnet build - dotnet test Microsoft.Kiota.Abstractions.sln --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + dotnet test Microsoft.Kiota.Abstractions.sln --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --framework net8.0 ./.sonar/scanner/dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"