Skip to content

Conversation

@edumserrano
Copy link
Owner

@edumserrano edumserrano commented May 25, 2025

  • Upgrades the project to .NET 9.
  • Introduces central package management for better dependency control.
  • Converts the solution file to the .slnx format.
  • Updates NuGet packages to latest versions.
  • Fixed the global.json which was being silently ignored by the dotnet build command because it contained a wildcard. As per the docs: Doesn't have wildcard support; that is, you must specify the full version number.
  • Added 429 status code as a valid response for markdown-link-check due to errors from GitHub rate limiting. Updated markdown-link-check config as per its docs.

dependabot bot and others added 10 commits February 15, 2025 22:34
Bumps the nuget group with 14 updates in the /GitHubIssueFormsParser directory:

| Package | From | To |
| --- | --- | --- |
| [Meziantou.Analyzer](https://github.com/meziantou/Meziantou.Analyzer) | `2.0.172` | `2.0.187` |
| [Microsoft.VisualStudio.Threading.Analyzers](https://github.com/microsoft/vs-threading) | `17.11.20` | `17.13.2` |
| [Roslynator.Analyzers](https://github.com/dotnet/roslynator) | `4.12.8` | `4.13.0` |
| [Roslynator.CodeAnalysis.Analyzers](https://github.com/dotnet/roslynator) | `4.12.8` | `4.13.0` |
| [Roslynator.Formatting.Analyzers](https://github.com/dotnet/roslynator) | `4.12.8` | `4.13.0` |
| [YamlDotNet](https://github.com/aaubry/YamlDotNet) | `16.1.3` | `16.3.0` |
| [coverlet.collector](https://github.com/coverlet-coverage/coverlet) | `6.0.2` | `6.0.4` |
| [coverlet.msbuild](https://github.com/coverlet-coverage/coverlet) | `6.0.2` | `6.0.4` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.11.1` | `17.13.0` |
| [NSubstitute](https://github.com/nsubstitute/NSubstitute) | `5.1.0` | `5.3.0` |
| [Shouldly](https://github.com/shouldly/shouldly) | `4.2.1` | `4.3.0` |
| [xunit](https://github.com/xunit/xunit) | `2.9.2` | `2.9.3` |
| [xunit.analyzers](https://github.com/xunit/xunit.analyzers) | `1.16.0` | `1.18.0` |
| [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) | `2.8.2` | `3.0.2` |



Updates `Meziantou.Analyzer` from 2.0.172 to 2.0.187
- [Release notes](https://github.com/meziantou/Meziantou.Analyzer/releases)
- [Commits](meziantou/Meziantou.Analyzer@2.0.172...2.0.187)

Updates `Microsoft.VisualStudio.Threading.Analyzers` from 17.11.20 to 17.13.2
- [Release notes](https://github.com/microsoft/vs-threading/releases)
- [Commits](microsoft/vs-threading@v17.11.20...v17.13.2)

Updates `Roslynator.Analyzers` from 4.12.8 to 4.13.0
- [Release notes](https://github.com/dotnet/roslynator/releases)
- [Changelog](https://github.com/dotnet/roslynator/blob/main/ChangeLog.md)
- [Commits](dotnet/roslynator@v4.12.8...v4.13.0)

Updates `Roslynator.CodeAnalysis.Analyzers` from 4.12.8 to 4.13.0
- [Release notes](https://github.com/dotnet/roslynator/releases)
- [Changelog](https://github.com/dotnet/roslynator/blob/main/ChangeLog.md)
- [Commits](dotnet/roslynator@v4.12.8...v4.13.0)

Updates `Roslynator.Formatting.Analyzers` from 4.12.8 to 4.13.0
- [Release notes](https://github.com/dotnet/roslynator/releases)
- [Changelog](https://github.com/dotnet/roslynator/blob/main/ChangeLog.md)
- [Commits](dotnet/roslynator@v4.12.8...v4.13.0)

Updates `YamlDotNet` from 16.1.3 to 16.3.0
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](aaubry/YamlDotNet@v16.1.3...v16.3.0)

Updates `coverlet.collector` from 6.0.2 to 6.0.4
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v6.0.2...v6.0.4)

Updates `coverlet.msbuild` from 6.0.2 to 6.0.4
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v6.0.2...v6.0.4)

Updates `Microsoft.NET.Test.Sdk` from 17.11.1 to 17.13.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.11.1...v17.13.0)

Updates `NSubstitute` from 5.1.0 to 5.3.0
- [Release notes](https://github.com/nsubstitute/NSubstitute/releases)
- [Changelog](https://github.com/nsubstitute/NSubstitute/blob/main/CHANGELOG.md)
- [Commits](nsubstitute/NSubstitute@v5.1.0...v5.3.0)

Updates `Shouldly` from 4.2.1 to 4.3.0
- [Release notes](https://github.com/shouldly/shouldly/releases)
- [Changelog](https://github.com/shouldly/shouldly/blob/master/BREAKING%20CHANGES.txt)
- [Commits](shouldly/shouldly@4.2.1...4.3.0)

Updates `xunit` from 2.9.2 to 2.9.3
- [Commits](xunit/xunit@v2-2.9.2...v2-2.9.3)

Updates `xunit.analyzers` from 1.16.0 to 1.18.0
- [Commits](xunit/xunit.analyzers@1.16.0...1.18.0)

Updates `xunit.runner.visualstudio` from 2.8.2 to 3.0.2
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.8.2...3.0.2)

---
updated-dependencies:
- dependency-name: Meziantou.Analyzer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.VisualStudio.Threading.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Roslynator.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Roslynator.CodeAnalysis.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Roslynator.Formatting.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: coverlet.msbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: NSubstitute
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Shouldly
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: xunit.analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the solution file format from .sln to .slnx for improved structure and performance.

Updates the .gitattributes, build workflow, and documentation to reflect the new solution file extension.
Additionally, the .editorconfig file is updated to correctly recognize both solution file extensions.
Migrates to central package management for managing package versions.

Removes version attributes from package references in project files.
Adds Directory.Packages.props to define package versions centrally.
Updates the target framework to net9.0.
Updates the .NET SDK version to 9.0.300 and sets rollForward to latestMinor.
This ensures the project uses the latest minor version of the specified SDK.
Updates the base and build Docker images to use .NET 9.0.
This ensures the application is built and run with the latest .NET runtime and SDK.
Updates various NuGet package versions to pick up latest features and fixes.

Also, configures xunit.analyzers to be private and included as assets.
Disables CA1515 due to numerous open issues and false positives.

Disables MA0165 as it suggests changes that are not always desirable.

Also, simplifies the creation of checkbox options using collection expressions for conciseness.
Copies the Directory.Build.props and Directory.Packages.props
files to the build image to ensure proper build configuration
during the Docker build process. This ensures that common
properties and package versions are available during the build.
Updates to the unstable version of StyleCop Analyzers.

This ensures access to the latest rules and fixes for code style analysis.
Updates markdown link check configuration to treat 429 status codes as alive.

This change prevents false link breakage reports due to rate limiting.
@edumserrano edumserrano changed the title Migrates to .NET 9, central package management Migrates to .NET 9, adopts central package management, new solution format and other updates May 25, 2025
@edumserrano edumserrano reopened this May 25, 2025
@codecov
Copy link

codecov bot commented May 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.60%. Comparing base (1f48308) to head (a2eabb8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #226   +/-   ##
=======================================
  Coverage   91.60%   91.60%           
=======================================
  Files          27       27           
  Lines         274      274           
  Branches       28       25    -3     
=======================================
  Hits          251      251           
  Misses         17       17           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 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.

@edumserrano edumserrano merged commit 3d00fa5 into main May 25, 2025
7 checks passed
@edumserrano edumserrano deleted the updates branch May 25, 2025 10:12
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.

2 participants