Skip to content

refactor: remove unnecessary nuget packages references - #250

Merged
kamilbaczek merged 10 commits into
mainfrom
story/feature-remove-unnessery-nugets
Aug 15, 2026
Merged

kamilbaczek merged 10 commits into
mainfrom
story/feature-remove-unnessery-nugets

Conversation

@kamilbaczek

Copy link
Copy Markdown
Collaborator

No description provided.

… to resolve GHSA-v5pm-xwqc-g5wc

Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Copilot AI and others added 5 commits August 14, 2026 09:44
…nsitive deps

Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
…in Chapter-4 to resolve GHSA-v5pm-xwqc-g5wc and MessagePack vulnerabilities

Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
… to resolve GHSA-v5pm-xwqc-g5wc

Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
…er 3 and 4

- Enable CentralPackageTransitivePinningEnabled in Chapter-3 Fitnet, Chapter-3 Contracts, Chapter-4 Fitnet
- Upgrade Microsoft.OpenApi from 2.3.0 to 2.7.5 across all affected projects (resolves GHSA-v5pm-xwqc-g5wc)
- Pin MessagePack 3.1.8 as transitive dependency to replace vulnerable 2.5.192 (resolves GHSA-hv8m-jj95-wg3x and related advisories)
- Update Npgsql to 10.0.0 where needed to satisfy transitive requirements after enabling pinning

Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
…ugets' into story/feature-remove-unnessery-nugets

# Conflicts:
#	Chapter-4-applying-tactical-domain-driven-design/Fitnet.Contracts/Src/Directory.Packages.props

Co-authored-by: kamilbaczek <74410956+kamilbaczek@users.noreply.github.com>
Testcontainers 4.0.0/4.7.0 pulls in SSH.NET 2024.2.0, which has a known
high severity vulnerability (GHSA-q939-rpr3-3284). With NU1903 treated as
an error, every integration test project failed to restore.

Bump Testcontainers and Testcontainers.PostgreSql to 4.14.0, which
depends on SSH.NET 2026.0.0. That version obsoletes the parameterless
PostgreSqlBuilder, so the database containers now pass the image
explicitly, matching the postgres:15.15 the AppHost already runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@kamilbaczek kamilbaczek changed the title refactor: remove unesssery nuget packages refereneces refactor: remove unnecessary nuget packages references Aug 15, 2026
kamilbaczek and others added 2 commits August 15, 2026 14:56
…s 3 and 4

The DataAccess projects in Offers and Passes use IApplicationBuilder but
lost their Microsoft.AspNetCore.App framework reference, so CI failed with
CS0234 and CS0246. Chapter 2 keeps that reference - restore it here too.

The Contracts solutions never pinned Testcontainers, so the published
IntegrationTestsToolbox package pulled Testcontainers 4.7.0 with the
vulnerable SSH.NET 2024.2.0. Pin 4.14.0, which transitive pinning then
applies to the toolbox as well.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
SSH.NET 2026.0.0, which Testcontainers 4.14.0 brings in, requires
BouncyCastle.Cryptography 2.7.0 or higher. The central pin of 2.4.0 made
restore fail with NU1109 package downgrade.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 16.90%. Comparing base (b233f12) to head (91e0864).
⚠️ Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
...ntracts/PrepareContract/PrepareContractEndpoint.cs 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #250   +/-   ##
=======================================
  Coverage   16.90%   16.90%           
=======================================
  Files          67       67           
  Lines         562      562           
  Branches       10       10           
=======================================
  Hits           95       95           
  Misses        467      467           

☔ 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.

@kamilbaczek
kamilbaczek merged commit 441a7cd into main Aug 15, 2026
18 checks passed
@kamilbaczek
kamilbaczek deleted the story/feature-remove-unnessery-nugets branch August 15, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants