Repository navigation
Update NuGet packages - #580
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues with the shared dependency version updates.
No open issues 🎉
What changed in this PR
Updates centrally managed NuGet dependencies for MongoDB persistence, C# analysis, and Blazor component testing.
Changes:
- Upgrades MongoDB.Driver from
3.13.0to3.14.0, including deserialization security fixes. - Upgrades SonarAnalyzer.CSharp from
10.35.0.4138to10.36.0.15337. - Upgrades bunit from
2.14.0to2.15.2.
| File | Description |
|---|---|
| Directory.Packages.props | Updates the three shared package versions without changing application code. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.13.0→3.14.010.35.0.4138→10.36.0.153372.14.0→2.15.2Release Notes
mongodb/mongo-csharp-driver (MongoDB.Driver)
v3.14.0: .NET Driver Version 3.14.0 Release NotesThis is the general availability release for the 3.14.0 version of the driver.
Security fixes:
ObjectSerializerAllowedTypesConvention(params Assembly[]), generic type arguments and array element types are now checked as well as the generic definition. Types that were previously allowed only because their generic definition was in an allowed assembly might now throw until their type arguments are also allowed.Breaking changes:
Fixes:
Maintenance:
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.
SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)
v10.36.0.15337Compare Source
Release notes - .NET Analyzers - 10.36
Two months since 10.35, and the nets have been busy. We went fishing for false positives and landed over twenty, and we caught a crash and a memory leak along the way. We kept the new rules and stopped throwing back the good code fixes.
What's in the catch:
with(...)arguments, labeledbreak/continue). We probed the SonarWay rules against them and fixed false positives that turned up.Includerules,async/CancellationTokenrules and MAUI/WPF handlers.Feature
NET-1612 Fix S2178 CodeFix: Using short-circuiting operator does not preserve operator precedence
NET-2154 Use Roslyn location mapping capabilities
NET-4654 Create rule S9414: Local variable declarations and assignments should be joined
NET-4655 Create rule S9415: Local functions should be marked "static" when they don't capture variables
NET-4662 Create rule S9422: Lock object fields should use "System.Threading.Lock" type
False Positive
NET-1596 Fix S5332 FP: Don't raise http warning for SOAP actions
NET-2677 Fix S2325 FP: WPF event handlers should be ignored
NET-2937 Fix S2325 FP: Awaitable 'IsCompleted' must be instanced
NET-3295 S6664: Exclude TRACE-level logging calls
NET-4142 Fix S2187, MSTEST0016 FP: Test methods hidden behind #if NET are not seen on other target frameworks
NET-4633 Fix S9023 FP: Select() projector calling an opaque custom mapper is treated as dropping every Included navigation
NET-4640 Fix S2325 FP: MAUI event handlers should be ignored
NET-4671 Fix S1121 FP: Boolean assignments in while conditions
NET-4705 Fix S8949 FP: obsolete
CancellationTokenoverloads are considered as alternativesNET-4710 Fix S8969 FP: null-forgiving operator flagged as redundant when operand flows through a nullable-returning implicit conversion operator
NET-4733 Fix S6966 FP:
EditorBrowsable(Never)overload is suggested as an awaitable alternativeNET-4737 Fix S9022 FP: Include reported redundant via
ReportReprojectedIncludesbefore a materializing (Func<>) terminal operatorNET-4738 Fix S9022 FP:
ToDictionary(Async)/ToLookupkey selector ignored when checking whether Include is deadNET-4739 Fix T0015 FP: Local function last in a lambda or nested local function
NET-4742 Fix FP S8949: Suppress suggestion when the producer call is already configured via
WithCancellation/ConfigureAwaitNET-4818 Fix S4507 FP: Alerting on
!app.Environment.IsProduction()NET-4836 Fix S4049 FP: Should not raise on Extension Properties
NET-4837 Fix S4049 FP: Should not raise on
awaiter GetResultNET-4842 Fix S3900 FP: C# 15 Extension Indexers should not raise
NET-4913 Fix S3346 FP: .NET 11
BitArray.PopCountinDebug.Assertshould not be reportedNET-4916 Fix S3903 FP: C# 15 types nested in a union should not be reported
NET-4938 Fix S3260 FP: C# 15 closed classes should not be suggested for sealing
NET-5034 Fix S3263 FP: C# 15 union static field referencing another static field in the same union is always misreported as out of order
False Negative
NET-4741 Fix S9022 FN: Include not reported redundant before Max/Min when selector dereferences the included nav
Bug
NET-4547 S110 recompiles
filteredClassesregexes on every compilation start, leaking IL on .NET FrameworkNET-4629 Fix
ChangeSyntaxElementto replace on the containerNET-4686 S1110: Restore C# quick-fix support for nested expressions
NET-4794 Consider .NET 11 Razor declaration partials generated code
NET-4895 Fix S5332 Crash: C# 15 collection expressing a clear-text URL throws AD0001
bUnit-dev/bUnit (bunit)
v2.15.2Added
net11.0target now references the final .NET 11 packages and is compiled with runtime async. By @linkdotnet.Changed
bunit.templatenow targetsnet11.0by default.Fixed
bunit.templateoption to choose the target framework is now--sdkas documented, instead of--targetSdk. By @linkdotnet.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.