New features
- Sidecar: per-route override gating. New
Sidecar:AllowOverridesconfiguration section provides explicit, per-route control over whetheroptionsOverride.*query-string parameters are honored. Authenticated routes default to allowing overrides (preserving existing behavior); unauthenticated routes default to rejecting them.optionsOverride.BaseUrlis unconditionally rejected on all routes as a hardening measure. See #3794.
Bug fixes
- Fix
AccountController.Challengeredirect URI validation to reject percent-encoded protocol-relative bypasses (%2F%2F,%5C%2F, etc.) that could be decoded by misconfigured reverse proxies. See #3792.
Behavior changes
- DownstreamApi: reserved header filtering. Headers supplied via
DownstreamApiOptions.ExtraHeaderParameterswhose names match reserved HTTP headers (Authorization,Host,Content-Length,Proxy-Authorization,Sec-*,Proxy-*, etc.) or duplicate a header the library already set are now silently skipped. A warning-level log entry (ReservedHeaderIgnored/DuplicateHeaderIgnored) is emitted so operators can spot misconfigurations. No exception is thrown. See #3793.
Dependencies updates
- Update Azure.Identity 1.11.4 → 1.17.2 and establish Microsoft.Extensions.* 8.0.x minimum on older TFMs. Azure.Identity 1.17.2 (sovereign-cloud fixes) pulls in Azure.Core 1.50.0, which introduces a transitive dependency on
Microsoft.Extensions.DependencyInjection.Abstractions8.0.2 on non-framework-coupled TFMs (net462, net472, netstandard2.0). This caused aCS0433type collision with the previously-pinnedMicrosoft.Extensions.DependencyInjection2.1.0. Rather than patch individual packages, the entireMicrosoft.Extensions.*stack on these older TFMs has been bumped to 8.0.x, closing several 5-year version gaps and aligning with the net8.0 baseline. If your application targets net462, net472, or netstandard2.0, your resolvedMicrosoft.Extensions.*versions will increase (e.g.,Extensions.Http3.1.3 → 8.0.0,Extensions.DependencyInjection2.1.0 → 8.0.0,Extensions.Caching.Memory2.1.0/6.0.2 → 8.0.1). Applications already targeting net8.0+ are unaffected. See #3787. - Bump
System.Text.Json8.0.5 → 8.0.6 (CVE-2024-43485). See #3787. - Bump
Microsoft.AspNetCore.DataProtectionto 10.0.7 for CVE fix on net10.0. See #3796. - Bump
OpenTelemetry.Exporter.OpenTelemetryProtocol1.14.0 → 1.15.3. See #3788.
Full Changelog: 4.8.0...4.9.0