Repository navigation
Bump AngleSharp and 9 others - #6085
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps AngleSharp from 1.10.1 to 1.10.3 Bumps Microsoft.NET.Test.Sdk from 18.11.0 to 18.12.0 Bumps Microsoft.Testing.Extensions.AzureDevOpsReport from 2.5.2 to 2.5.3 Bumps Microsoft.Testing.Extensions.Retry from 2.5.2 to 2.5.3 Bumps Microsoft.Testing.Extensions.TrxReport from 2.5.2 to 2.5.3 Bumps OpenTelemetry from 1.20.1 to 1.21.0 Bumps StyleCop.Analyzers from 1.2.0-beta.556 to 1.3.180 Bumps xunit.v3.assert from 4.0.2 to 4.0.3 Bumps xunit.v3.extensibility.core from 4.0.2 to 4.0.3 Bumps xunit.v3.mtp-v2 from 4.0.2 to 4.0.3 --- updated-dependencies: - dependency-name: AngleSharp dependency-version: 1.10.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: Microsoft.Testing.Extensions.AzureDevOpsReport dependency-version: 2.5.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.Testing.Extensions.Retry dependency-version: 2.5.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: Microsoft.Testing.Extensions.TrxReport dependency-version: 2.5.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: OpenTelemetry dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: StyleCop.Analyzers dependency-version: 1.3.180 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: xunit.v3.assert dependency-version: 4.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: xunit.v3.mtp-v2 dependency-version: 4.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: xunit.v3.extensibility.core dependency-version: 4.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The StyleCop upgrade enables unsuppressed SA1653 violations for duplicate summaries on partial types, causing build errors under TreatWarningsAsErrors=true.
1 open issue
What changed in this PR
Updates centrally managed dependencies used by Microsoft FHIR Server’s runtime, telemetry, testing, and code analysis.
Changes:
- Upgrades AngleSharp to 1.10.3 and the shared OpenTelemetry version to 1.21.0.
- Updates Microsoft.NET.Test.Sdk, three testing extensions, and three xUnit packages.
- Moves StyleCop.Analyzers from the 1.2 beta to stable 1.3.180.
| File | Description |
|---|---|
Directory.Packages.props |
Updates shared dependency versions across server and test projects. |
Review effort: Balanced
| <PackageVersion Include="prometheus-net.DotNetRuntime" Version="4.4.1" /> | ||
| <PackageVersion Include="prometheus-net.SystemMetrics" Version="3.1.0" /> | ||
| <PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" /> | ||
| <PackageVersion Include="StyleCop.Analyzers" Version="1.3.180" /> |
Contributor
Author
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |
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.

Updated AngleSharp from 1.10.1 to 1.10.4.
Release notes
Sourced from AngleSharp's releases.
1.10.4
Released on Sunday, November 15 2026.
What's Changed
new Audio(src).play()or the volume)sourceelements, and loading the first one regardless of its typepausedof a media element being false before it plays, anddurationbeing 0 instead ofNaNwithout a resourceloopandautoplayto media elements and media pausing once removed from their documenterrorof a media element whose resource can't be played or decodedplay()of media elements giving a promise (HtmlMediaElementExtensions.PlayAsync)Full Changelog: AngleSharp/AngleSharp@v1.10.3...v1.10.4
1.10.3
Released on Friday, November 13 2026.
What's Changed
load)composedPath()of an event giving scripts no array and not starting with the targetloadevent when there is an event loop, so that SystemJS gave modules the registration of another script (e.g. failing micro frontends loaded with it)codeof a keyboard event created from a key value being empty for the modifier keys (e.g.ControlLeftforControl) and the function keysFull Changelog: AngleSharp/AngleSharp@v1.10.2...v1.10.3
1.10.2
Released on Wednesday, November 11 2026.
What's Changed
imgelements without a resource loaderapp://localhost/orfoo:/a) being opaqueinnerHTML(orinsertAdjacentHTML) loading againstabout:blankiframe,frame,objectandembedelements loading outside of a documentaudio,videoandembedelements not being resolved against the documentFull Changelog: AngleSharp/AngleSharp@v1.10.1...v1.10.2
Commits viewable in compare view.
Updated Microsoft.NET.Test.Sdk from 18.11.0 to 18.12.0.
Release notes
Sourced from Microsoft.NET.Test.Sdk's releases.
18.12.0
Security fix
This release includes the fix for CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged
executionComplete.jsonwritten by another local user, and then run attacker-controlled output handling.Affected:
Microsoft.TestPlatform.CLI18.11.0 and earlier. Every version from 18.11.1 on is fixed, including 18.12.0.Microsoft.TestPlatform.CLIis the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.The fix is also released in the
Microsoft.TestPlatform.CLIpackage, for completeness. That package is rarely used directly. It is not a dependency ofMicrosoft.NET.Test.SdkorMicrosoft.TestPlatform, so those packages do not bring it in.Details: microsoft/vstest#16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See microsoft/vstest#16652
What's Changed
Full Changelog: microsoft/vstest@v18.11.0...v18.12.0
18.11.1
Security fix
This release fixes CVE-2026-105544, an elevation of privilege vulnerability in the VSTest artifact post-processor. The post-processor could consume a forged
executionComplete.jsonwritten by another local user, and then run attacker-controlled output handling.Affected:
Microsoft.TestPlatform.CLI18.11.0.Fixed in:
Microsoft.TestPlatform.CLI18.11.1.Microsoft.TestPlatform.CLIis the VSTest build that we ship into the .NET SDK. The recommended way to get this fix is to update your .NET SDK to the latest patched version, see the advisory for the SDK versions.The fix is also released in the
Microsoft.TestPlatform.CLIpackage, for completeness. That package is rarely used directly. It is not a dependency ofMicrosoft.NET.Test.SdkorMicrosoft.TestPlatform, so those packages do not bring it in.Details: microsoft/vstest#16654 and dotnet/announcements#517
Using custom Docker images or Nano Server? See microsoft/vstest#16652
What's Changed
Full Changelog: microsoft/vstest@v18.11.0...v18.11.1
Commits viewable in compare view.
Updated Microsoft.Testing.Extensions.AzureDevOpsReport from 2.5.2 to 2.5.3.
Release notes
Sourced from Microsoft.Testing.Extensions.AzureDevOpsReport's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Testing.Extensions.Retry from 2.5.2 to 2.5.3.
Release notes
Sourced from Microsoft.Testing.Extensions.Retry's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Testing.Extensions.TrxReport from 2.5.2 to 2.5.3.
Release notes
Sourced from Microsoft.Testing.Extensions.TrxReport's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated OpenTelemetry from 1.20.1 to 1.21.0.
Release notes
Sourced from OpenTelemetry's releases.
1.21.0
For highlights and announcements pertaining to this release see: Release Notes > 1.21.0.
The following changes are from the previous release 1.21.0-rc.2.
NuGet: OpenTelemetry v1.21.0
OpenTelemetryLoggerOptionsis now bound from theLogging:OpenTelemetryconfiguration section using the configuration binding source generator instead
of reflection, making it fully trim and Native AOT compatible. An empty value
for a boolean option is now ignored on all target frameworks rather than
throwing on some, depending on the version of
Microsoft.Extensions.Configuration.Binderin use.(#8100)
Fixed the self-diagnostics environment snapshot leaving a dangling comma in a
redacted
OTEL_RESOURCE_ATTRIBUTESvalue when it contained empty entries.(#8104)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.21.0
System.Diagnostics.DiagnosticSourcedependency to11.0.0for all target frameworks.
(#8066)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.21.0
... (truncated)
1.21.0-rc.2
The following changes are from the previous release 1.21.0-rc.1.
NuGet: OpenTelemetry v1.21.0-rc.2
Fixed an exception when downscaling empty exponential histogram buckets after
a reset.
(#8064)
Fixed tracing callbacks continuing after provider shutdown or disposal on older
target frameworks.
(#8065)
Fixed initialization failures when environment variable access is denied.
Configuration reloads retain the last successful values when access is denied.
(#8070)
Fixed a source, meter or legacy activity name with a trailing line feed
matching a wildcard pattern which does not end in a wildcard.
(#8074)
Fixed
OTEL_RESOURCE_ATTRIBUTESvalues being decoded as form data, whichchanged a
+to a space. Values are now only percent-decoded, as defined bythe Resource SDK specification.
(#8074)
Updated the schema URL of resources created by the SDK to use OpenTelemetry
Semantic Conventions version
1.45.0.(#8079)
Added support for batching the metric points exported by
PeriodicExportingMetricReader. When a maximum export batch size is set,using the new constructor overload or
PeriodicExportingMetricReaderOptions.MaxExportBatchSize, the metricpoints of each collection are split into batches of at most that many
metric points, even if that splits up the metric points of a single
metric. The batches are exported serially with the export timeout
applying to each export. It can also be configured with the
OTEL_METRIC_EXPORT_MAX_BATCH_SIZEenvironment variable.(#8053)
Fixed
PeriodicExportingMetricReaderexporting a collection which was stillin progress when
Shutdown()timed out to its exporter after the exporterhad been shut down.
(#8053)
Fixed
PeriodicExportingMetricReadernot making its final collection whenShutdown()was called before its background task had started running onplatforms where threading is not available, such as browsers.
(#8053)
... (truncated)
1.21.0-rc.1
The following changes are from the previous release 1.20.1.
NuGet: OpenTelemetry v1.21.0-rc.1
Fixed a race in the self-diagnostics sink dispatcher where disposing it
while its pump thread was exiting could throw
ArgumentNullExceptionon.NET Framework.
(#7983)
SelfDiagnosticsOptionsis now automatically bound from theOpenTelemetry:SelfDiagnosticsconfiguration section, when present.(#8008)
Fixed a race where collecting a metric with delta temporality concurrently
with the creation of a new
MetricPointcould reclaim theMetricPointwhile it was being created, losing the measurement.
(#8019)
Fixed a race where collecting a metric with delta temporality could export
the same series twice in a single collection.
(#8019)
Fixed wildcard matching timeouts that could prevent configured source, meter,
legacy activity, or metric view patterns from matching.
(#8014)
The timeout passed to
MetricReader.Collect()(for example byMeterProvider.ForceFlush()), theExportTimeoutMillisecondsofPeriodicExportingMetricReaderand theExporterTimeoutMillisecondsofBatchExportProcessor<T>are now made available to the exporter instead ofbeing ignored once the export has started, so that the OTLP exporter can
cancel an export which runs past the timeout. The
ExportTimeoutMillisecondsof
PeriodicExportingMetricReadernow also limits exports which are notstarted by the reader itself, such as those of
MeterProvider.ForceFlush().(#7996)
Fixed a race where collecting a cumulative metric concurrently with the
creation of a new
MetricPointcould export aMetricPointthat was not yetfully initialized, could case a
NullReferenceExceptionwhen enumeratingTags.(#8018)
Breaking Change Dropped support for
net8.0andnet9.0.(#6899)
Add support for .NET 11.0.
(#6899)
Added support for enabling
ActivitySources from configuration using theMicrosoft.Extensions.Diagnosticstracing APIs introduced in .NET 11 (forexample,
services.AddTracing(b => b.AddConfiguration(section))).... (truncated)
1.21.0-beta.1
The following changes are from the previous release 1.20.1-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.21.0-beta.1
Fixed OpenMetrics scrape responses containing a
# UNITline whose unit isnot an underscore-separated suffix of the metric family name (for example
auth.failedloginswith the unitlogins), which caused scrapers such asPrometheus to reject the whole response. The
# UNITline is now omittedfor such metrics; exported metric names are unchanged.
(#7993)
Fixed scrapes that negotiate different response formats within the
ScrapeResponseCacheDurationMillisecondswindow each triggering their ownmetrics collection. A collection now also writes the response for other
formats whose scrapes arrived alongside a previous collection, so scrapes
that keep arriving together are served from the cache. Fresh cached responses
remain available while another format is serialized, even if that
serialization fails.
(#7994)
Fixed array- and map-valued attributes being serialized as the .NET type
name (e.g.
System.Byte[],System.Int32[]) instead of being JSON-encodedas per the specification.
byte[]-valued attributes are nowBase64-encoded, and other array- and map-valued attributes are now
JSON-encoded.
(#7694)
Fixed arrays of string-valued key/value pairs being
serialized as JSON arrays of strings instead of JSON objects.
(#7694)
Fixed scrape clients which stop reading their response delaying other
scrapes until
ScrapeResponseTimeoutMillisecondselapses.(#8041)
Breaking Change Dropped support for
net8.0andnet9.0.(#6899)
Add support for .NET 11.0.
(#6899)
Fixed a scrape response containing the same series (metric name and labels)
more than once, which causes Prometheus to reject the whole response, such as
when metric or tag names are the same once escaped, tag names become the same
when UTF-8 encoded, or the scope information is disabled. Duplicate series are
now dropped, and a warning event is written.
A metric which has the name of a sample that is generated for another one
(for example
_sumof a histogram) is now dropped, and a warning event iswritten.
(#8076)
... (truncated)
Commits viewable in compare view.
Updated StyleCop.Analyzers from 1.2.0-beta.556 to 1.3.180.
Release notes
Sourced from StyleCop.Analyzers's releases.
1.3.180
This is the first stable StyleCop.Analyzers release since 1.1.118. It includes the entire 1.2 beta line and the 1.3 revival: the analyzers now understand C# 8 through the C# 15 previews, many long-standing bugs are fixed, and the project is once again actively maintained. Thank you to everyone who contributed code, reviews, translations and bug reports over the long gap.
Highlights
allows ref struct, C# 14 extension blocks and thefieldkeyword, and C# 15 preview unions with theclosedandsafemodifiers, instead of ignoring that syntax or crashing on it. (#4142, #4139, #4137, #4163, #4148, #4191, #4193)?:) expressions are laid out consistently, SA1315 requires overriding and implementing parameters to keep their inherited names, SA1317 reports identifiers that use letters outside basic Latin A–Z, SA1653 reports<summary>documentation on more than one part of a partial type, and SA1654 reports escaped generic brackets increfs (for exampleList<T>vsList{T}). SX1412 is an opt-in alternative to SA1412 that requires UTF-8 without a BOM. All of these except SX1412 are on by default as warnings. (#3942, #4299, #4318, #4314, #4315, #4328).editorconfig. New settings includeorderingRules.memberKindOrder,orderingRules.accessibilityOrderandlayoutRules.allowBracelessIfStatements(bracelessifs are off by default; the accessibility order default is unchanged). (#4221, #3285, #4324, #4359, #4319)zh-CN) resources and documentation, finishes the Czech translations, and includes more translations of code-fix documentation text (Czech, Dutch, Russian and others). Rule documentation and status are published on GitHub Pages. (#4285, #4286, #3374, #3944, #3900, #4220, #4218)Behavior changes worth knowing about
Upgrading from 1.1.118, or from a 1.2 beta, may produce new or different diagnostics:
<summary>on more than one part, but ignores generated partial declarations such as WPF*.g.csfiles. (#4148, #4149, #4152, #4308, #4299, #4393)IntPtrandUIntPtrin XML documentationcrefs, or in shared source compiled for targets wherenintisn't equivalent. SA1121 and SA1125 also report System types in using alias targets. (#4287, #4395, #4175)includeInferredTupleElementNamesis off. (#4202)_forforeachvariables andusingdeclarations. (#4203)filemodifier as an access modifier. (#4198)protected readonlyfields when SA1307 is enabled. (#4217)&,|,^) and>>>. SA1408 reports??mixed with&&or||without parentheses. (#4289, #4323)extern aliasdirectives using the same placement setting asusingdirectives. (#4313)[NotNullWhen(true)] out string? foo. (#4321)maintainabilityRules.topLevelTypessetting. (#4281, #4301, #4316)documentInterfacessetting. WithdocumentInterfaces: false, public interfaces and their members are still required whendocumentExposedElementsis on. WithdocumentInterfaces: "exposed", members of interfaces that aren't actually exposed are not reported. (#3140, #4346, #4343)extern alias. (#4341)?and:lines line up and are indented past the condition's last line. The SA1143 code fix keeps multi-line branches intact. (#4336, #4374, #4392).symbols.nupkgis gone, because PDBs are now embedded in the DLLs. (#4173)All changes
Fixes
... (truncated)
1.3.177-beta
A small follow-up to 1.3.171-beta. It accepts a common layout for collection-expression brackets and strengthens the settings default tests.
Highlights
Behavior changes worth knowing about
All changes
Fixes
Infrastructure and build
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.171-beta...1.3.177-beta
1.3.171-beta
A reliability-focused follow-up to 1.3.151-beta. It fixes several crashes and broken code fixes, checks the layout of multi-line collection expressions, and reduces false positives in SA1121, SA1143 and SA1653.
Highlights
<include>, crashes and an infinite loop in SA1500 and its code fix, crashes in the SA1642 and using-directive code fixes, and a using code fix that rewrote a non-genericSystem.ValueTuplealias. (#4380, #4383, #4382, #4384, #4381, #4385)IntPtrandUIntPtrwherenintandnuintwould be wrong, SA1653 ignores generated partial declarations such as WPF*.g.csfiles, and the SA1143 fix keeps multi-line branches intact. (#4395, #4393, #4392)Behavior changes worth knowing about
]shares a line with the last element. (#4396)IntPtrandUIntPtrin XML documentationcrefs, or in shared source compiled for targets wherenintisn't equivalent. (#4395)<summary>tags in generated partial declarations. (#4393)All changes
Fixes
Infrastructure and build
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.151-beta...1.3.171-beta
1.3.151-beta
A small follow-up to 1.3.149-beta. SA1143 now accepts conditional expressions whose condition spans several lines.
Behavior changes worth knowing about
?and:lines line up and are indented past the condition's last line. The code fix still flattens the condition onto one line. (#4374)Fixes
Infrastructure and build
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.149-beta...1.3.151-beta
1.3.149-beta
A follow-up to 1.3.133-beta, centered on code fixes: five rules that only reported problems now offer fixes, and code fixes keep the document's line endings. SA1202 also gets a configurable accessibility order. Thanks to @bjornhellander for moving the repo itself onto the latest StyleCop.Analyzers.
Highlights
<param>tags) and SA1653 (keep one partial<summary>, converting the others to<content>or removing duplicates). The SA1314 rename now also updates type parameter references increfs. (#4353, #4352, #4354, #4372, #4361)orderingRules.accessibilityOrdersetting, orstylecop.ordering.accessibilityOrderin EditorConfig, customizes the accessibility order. The default is unchanged. (#4359)Behavior changes worth knowing about
<content>. (#4372)All changes
Enhancements
Fixes
Documentation
Infrastructure and build
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.133-beta...1.3.149-beta
1.3.133-beta
A follow-up to 1.3.109-beta. It fixes how SA1600 handles the
documentInterfacessetting, fixes several crashes and code-fix bugs found by fuzzing, and adds a code fix for SA1648. Thanks to @sbe-schleupen for the SA1135 fix, their first contribution.Highlights
documentInterfacesadds to the general accessibility settings again, as it originally did, and"exposed"now uses each interface's effective accessibility. (#4346, #4343)<inheritdoc/>, and SA1315's message now names the expected parameter name. (#4337, #4351)Behavior changes worth knowing about
documentInterfaces: falseagain requires documentation on public interfaces and their members whendocumentExposedElementsis on. Earlier 1.3 betas had stopped requiring it, so warnings may come back. (#4346)documentInterfaces: "exposed"no longer reports members of interfaces that aren't actually exposed, such as internal interfaces whendocumentInternalElementsis false, or nested interfaces inside non-public types. (#4343)extern alias. (#4341)All changes
Fixes
Enhancements
Infrastructure and build
New Contributors
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.109-beta...1.3.133-beta
1.3.109-beta
A follow-up to 1.3.98-beta. It eases several layout rules that were too strict, including the new SA1143, adds a rule for generic
crefsyntax, and improves code fixes. Thanks to @bgrainger for the SA1143 fix, their first contribution.Highlights
??right after a switch expression's closing brace. (#4336, #4331, #4333, #4334)crefs, for exampleList<T>, and its code fix converts them toList{T}. (#4328)Behavior changes worth knowing about
{T}rather than escaped<T>increfattributes) is enabled as a warning. (#4328)All changes
Enhancements
Fixes
New Contributors
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.98-beta...1.3.109-beta
1.3.98-beta
This release adds three new rules and a long-requested code fix, makes member ordering and braceless guard clauses configurable, and tightens several existing rules. The package also has an icon now.
Highlights
?:) expressions are laid out consistently. SA1315 checks that overriding and implementing parameters keep their inherited names. SX1412 is an opt-in alternative to SA1412 that requires UTF-8 without a BOM. All three come with code fixes. (#4318, #4314, #4315)orderingRules.memberKindOrdersetting customizes the SA1201 member-kind order, andlayoutRules.allowBracelessIfStatementslets SA1501 and SA1503 allow compact guard clauses. Both are off by default. (#4324, #4319)Behavior changes worth knowing about
extern aliasdirectives using the same placement setting asusingdirectives. (#4313)[NotNullWhen(true)] out string? foo. (#4321)??mixed with&&or||without parentheses. (#4323)maintainabilityRules.topLevelTypessetting, so the expected file name may change. (#4316)All changes
Enhancements
Fixes
Documentation
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.82-beta...1.3.98-beta
1.3.82-beta
A small follow-up to 1.3.79-beta. The SA1504 code fix no longer drops comments or blank lines when it expands accessors onto multiple lines. The documentation's opening pages have also been reorganized. No diagnostics change in this release.
Fixes
Documentation
Full Changelog: DotNetAnalyzers/StyleCopAnalyzers@1.3.79-beta...1.3.82-beta
1.3.79-beta
This release follows 1.3.18-beta with two new rules, a round of fixes for long-standing false positives, and better code fixes. It also adds Simplified Chinese resources and documentation. Thanks to @melomory for contributing SA1317, their first contribution to the project.
Highlights
<summary>documentation on more than one part. (#3942, #4299)catchandfinallyblocks, SA1118 allows multi-line tuple arguments, SA1629 accepts!and?, and SA1515 and SA1005 ignore tool marker comments such as ReSharper, language injection andNOSONAR. SA1305 skipsDllImportparameters, and SA1402 and SA1649 accept supporting types in files with top-level statements. (#4290, #4284, #4298, #4302, #4297, #4306)zh-CN) resources and documentation, and finishes the Czech translations. (#4285, #4286)Behavior changes worth knowing about
<summary>, #4299) are both enabled by default as warnings. Codebases with non-Latin identifiers, or with summaries on several parts of a partial type, will see new diagnostics.&,|,^) and>>>, so mixed-precedence expressions using them get new diagnostics. (#4289)All changes
Enhancements
Description has been truncated