Skip to content

fix: retain .NET 8 PowerShell SDK compatibility - #203

Merged
PrzemyslawKlys merged 2 commits into
mainfrom
dependabot/nuget/Sources/PSWriteOffice.Tests/all-dependencies-c87a3d406b
Sep 10, 2026
Merged

PrzemyslawKlys merged 2 commits into
mainfrom
dependabot/nuget/Sources/PSWriteOffice.Tests/all-dependencies-c87a3d406b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026

Copy link
Copy Markdown
Contributor

Retains PowerShell SDK 7.4.20 for the .NET 8 test target. PowerShell 7.6 supplies only .NET 10 reference assets, so the previous dependency update made this project restore but fail compilation.\n\nValidation: dotnet build and 22 test contracts on .NET 8.

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 8, 2026
@PrzemyslawKlys PrzemyslawKlys self-assigned this Sep 9, 2026
@PrzemyslawKlys

Copy link
Copy Markdown
Member

CI confirms that Microsoft.PowerShell.SDK 7.6.5 no longer supplies the reference surface this multi-platform PowerShell test project compiles against. I did not add a compatibility shim. Please choose whether to retain the current net8/PowerShell contract (keep 7.4.x) or authorize the broader net10/PowerShell 7.6 migration.

---
updated-dependencies:
- dependency-name: Microsoft.PowerShell.SDK
  dependency-version: 7.6.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump the all-dependencies group with 1 update Bump Microsoft.PowerShell.SDK from 7.4.18 to 7.6.5 Sep 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Sources/PSWriteOffice.Tests/all-dependencies-c87a3d406b branch from b0dd4ea to 392c137 Compare September 9, 2026 22:55
@PrzemyslawKlys PrzemyslawKlys changed the title Bump Microsoft.PowerShell.SDK from 7.4.18 to 7.6.5 fix: retain .NET 8 PowerShell SDK compatibility Sep 10, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 1.85%. Comparing base (ca3f8bb) to head (598b20c).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #203   +/-   ##
=====================================
  Coverage   1.85%   1.85%           
=====================================
  Files        643     643           
  Lines      34916   34916           
  Branches    5808    5808           
=====================================
  Hits         647     647           
  Misses     34197   34197           
  Partials      72      72           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PrzemyslawKlys
PrzemyslawKlys merged commit dc939a9 into main Sep 10, 2026
9 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the dependabot/nuget/Sources/PSWriteOffice.Tests/all-dependencies-c87a3d406b branch September 10, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants