Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #393 +/- ##
==========================================
- Coverage 81.69% 76.98% -4.71%
==========================================
Files 46 46
Lines 792 830 +38
Branches 87 109 +22
==========================================
- Hits 647 639 -8
- Misses 113 151 +38
- Partials 32 40 +8 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Pull request overview
This PR updates the solution to target .NET 10, aligning build/test infrastructure and a few runtime components with the new framework/tooling.
Changes:
- Add
net10.0to multi-targeting and updateglobal.jsonto .NET SDK 10.0.201. - Update central package versions to the .NET 10 (10.0.x) ecosystem and refresh test/dependency packages.
- Adjust filtering expression evaluation/tests and switch DI options validation to a source-generated options validator.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/VMelnalksnis.PaperlessDotNet.Tests/Filters/FilterExpressionTestCases.cs | Updates filter expression test cases to prefer LINQ Enumerable paths (via AsEnumerable()). |
| tests/VMelnalksnis.PaperlessDotNet.Tests.Integration/VMelnalksnis.PaperlessDotNet.Tests.Integration.csproj | Makes System.Linq.Async conditional to avoid referencing it for net10.0. |
| tests/Directory.Build.props | Updates test TFMs to net8.0;net9.0;net10.0 and removes now-unneeded package refs. |
| source/VMelnalksnis.PaperlessDotNet/Filters/ExpressionExtensions.cs | Refactors expression evaluation and adds trimming/implicit-use annotations on generic parameters. |
| source/VMelnalksnis.PaperlessDotNet/Documents/DocumentFilter.cs | Removes trimming/implicit-use annotations from DocumentFilter (now handled in expression helper). |
| source/VMelnalksnis.PaperlessDotNet.DependencyInjection/ServiceCollectionExtensions.cs | Replaces ValidateDataAnnotations() with registration of a source-generated options validator. |
| source/VMelnalksnis.PaperlessDotNet.DependencyInjection/PaperlessOptionsValidator.cs | Adds [OptionsValidator]-based validator for PaperlessOptions. |
| global.json | Bumps the pinned SDK to 10.0.201. |
| README.md | Fixes documentation links to moved/actual file locations. |
| Directory.Packages.props | Updates central package versions for .NET 10 and related dependencies. |
| Directory.Build.props | Adds net10.0 to solution-wide TargetFrameworks. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6d0d3a2 to
b4ef005
Compare
b4ef005 to
dee35c7
Compare
|
✔️ dee35c7 - Conventional commits check succeeded. |
No description provided.