Repository navigation
build(deps): the dependency refresh with Microsoft.OpenApi 3.11.0 (#829, step 4) - #875
Merged
Merged
Conversation
…ponents-key rule (#211)
Blind-Striker
force-pushed
the
build/829-package-refresh
branch
from
November 15, 2026 00:24
5d413ba to
9714c69
Compare
6 tasks done
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.
What
Step 4 of #829: the dependency refresh, one commit per class, in the order
docs/engineering/workflow.mdsets. Step 4 also takes #211..NET servicing (
59b47204): every10.0.13pin moves to the10.0.15servicing release, not to11.0.0, so .NET 10 consumers keep a 10.x floor. Shipped floors that move:net472andnetstandard2.0:System.Text.Json,System.Threading.Channels,System.Collections.Immutable,Microsoft.Bcl.AsyncInterfaces,Microsoft.Bcl.MemoryandMicrosoft.Bcl.TimeProvider;OpenCodeDotNet.Sdk.Extensions, on every target:Microsoft.Extensions.DependencyInjection.AbstractionsandMicrosoft.Extensions.Options.ConfigurationExtensions.The CHANGELOG line says so. No security advisory of the .NET 10.0.14 or 10.0.15 release lists these packages.
Generator and tooling (
edf62eed):Microsoft.CodeAnalysis.CSharp5.12.0,Microsoft.SourceLink.GitHub11.0.100, and the four OpenTelemetry packages 1.21.0.Spectre.Console.Cli.Extensions.DependencyInjectionstays at 0.30.0. This is the maintainers' decision, an exception to the latest-stable refresh rule.net11.0dependency group that needsMicrosoft.Extensions.DependencyInjection11.x, against the 10.0.15 floor that class 1 keeps. For example, 0.34.0 needs ≥ 11.0.0, while itsnet10.0group needs ≥ 10.0.15.net11.0beside the direct 10.0.15 pin. The benchmark host'snet11.0leg fails with NU1605. 0.30.0 has nonet11.0group, so .NET 11 falls back to itsnet10.0group (≥ 10.0.12).Microsoft.OpenApi3.11.0, which closes Bump Microsoft.OpenApi once a release carries microsoft/OpenAPI.NET#3108 #211 (03b3c960). 3.11.0 carries the upstream fix (OpenAPI.NET pull request 3108) for the timeout-bound components-key regex this repository reported. Before deleting its own replacement rule, the generator confirmed the fix in the shipped assembly:lib/net8.0asset.OpenApiComponentsRules.KeyRegexreturns a source-generated regex. Its runner (Scan,TryFindNextPossibleStartingPosition,TryMatchAtCurrentPosition) never callsCheckTimeout. The constructor still stores 100 ms, but nothing on the match path reads it.netstandard2.0asset still builds an interpreted regex with that timeout, but the generator does not load it.The change itself:
ComponentKeyRuleand its installation go. The reader runs the library's default rule set, and the stream still stays open for the raw re-parse.SpecReaderComponentKeyTests.docs/architecture/protocol-and-generation.mdnow says the reader runs the default rule set, and the Bump Microsoft.OpenApi once a release carries microsoft/OpenAPI.NET#3108 #211 bullet leaves the ROADMAP:Analyzers (
11f9f0b3):Meziantou.Analyzer3.0.340 andSonarAnalyzer.CSharp10.36.0.15337. Neither raises a new diagnostic.Test stack (
9714c694):TUnit1.85.0,Microsoft.Testing.Extensions.HangDump2.5.3 andVerify.TUnit33.4.0;Testably.Abstractions11.0.0 andTestably.Abstractions.Testing8.0.0, which need no call-site change;2027-11.Every other central pin stays where it is. Nothing under
src/changes, and generated output is identical (generate --verify).ADR-0034 impact
Patch-level. The packages' public surface and behaviour are unchanged. Only the dependency floors in item 1 move, within the same .NET 10 servicing line, and the CHANGELOG records them under Unreleased. Package validation against
1.1.0passes.Verification
Linux, at this head:
generate --verifyandrefresh-spec --verify;1.1.0;Refs #829
Closes #211