Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 7.17 KB

ReleaseNotes.md

File metadata and controls

71 lines (46 loc) · 7.17 KB

Autumn 2026 (version 25.1) a.k.a. "Rise of Ocelot" release

Milestone: Autumn'26 Codenamed: Rise of Ocelot Read the Docs: Ocelot 25.1 with PDF

ℹ️ About

Warning

Version 25.1 is in development! Full changelog: release/25.0...develop Read the latest 25.0 release notes here: v25.0

🆕 What's New?

  • HTTP Handler: The "Pass-through Credentials" feature was added by @Sacrilege in pull request #1521.

    This feature is the result of updates to three Ocelot features: Configuration, Authentication, and Authorization. Note that the HTTP Handler, a SocketsHttpHandler object, is created by MessageInvokerPool.

    • Configuration: The HTTP Handler options schema was extended for downstream credential handling.

      The configuration model now exposes UseCredentials for route-level HTTP handler setup, allowing Ocelot to initialize SocketsHttpHandler.Credentials with the default network credentials used by the current execution context. This complements the Authentication and Authorization features by enabling Windows-authenticated downstream calls to be configured per route without changing the broader gateway behavior.

    • Authentication: The "Pass Through Authentication" feature.

      When HTTP Handler options UseCredentials is enabled for a route, Ocelot initializes SocketsHttpHandler.Credentials to use default credentials for the outbound HTTP request. This is especially useful for Windows Integrated Authentication scenarios, including NTLM and Kerberos, where the downstream service or proxy expects the caller's identity to be propagated without explicitly setting credentials in code. The setting is scoped to the route, which keeps authentication behavior predictable and avoids forcing a global credential policy across every downstream service. For .NET developers, this is the same general pattern described by WebClient.UseDefaultCredentials, but applied at the Ocelot HTTP Handler level for downstream requests.

    • Authorization: Route-level credential configuration was aligned with authorization scenarios through the "Pass Through Authorization" feature.

      Authorization rules remain claim-based and route-scoped, while UseCredentials controls how the downstream HTTP client authenticates to the target service. This allows Windows-authenticated routes to coexist with existing route policy checks and claim requirements without altering the authorization model itself.

  • Aggregation: The "Upstream HTTP Methods" feature was added by @crb02005 in pull request #1389.

    Aggregate routes can now accept HTTP methods other than GET and proxy/forward request bodies to downstream services. The UpstreamHttpMethod option is available per aggregate route and globally in GlobalConfiguration, and the two lists are merged. The default method, used as a fallback when JSON configuration is absent, can also be customized in C# by overriding the DefaultHttpMethod property of AggregatesCreator.

  • Request Proxying: The multipart/form-data Content-Type header handling was improved by @rodri-oliveira-dev in pull request #2421.

    Ocelot now preserves multipart boundaries and file payloads when routing and multiplexing (aggregation) upload requests across downstream services, and the new documentation explains the supported scenarios and validation coverage for file uploads. This feature is especially useful for BFF scenarios where a single upstream request may need to be routed to multiple downstream services, each of which may require access to the same uploaded files or form data. Thorough testing was performed to ensure that Ocelot correctly handles multipart requests following RFC 7578 specification.

🆙 What's Updated?

To be added...

📦 Patches

  • Error Codes: Issue #1687 was patched by @rodri-oliveira-dev in pull request #2420.

    Ocelot now returns 504 Gateway Timeout when a downstream request times out, in accordance with RFC 9110. Client-request cancellation behavior and existing QoS/circuit-breaker behavior remain unchanged. Related timeout tests and documentation were updated accordingly.

  • Authorization: Issue #679 was patched by @Ommmarr111 in pull request #2414.

    RouteClaimsRequirement authorization options now preserve URL-shaped claim type keys such as http://schemas.microsoft.com/ws/2008/06/identity/claims/role when loaded from configuration. ASP.NET Core's binder previously split keys on : and silently discarded the requirement, causing standard .NET claim types to stop matching routes. The fix reconstructs the original keys after binding so authorization policies continue to work correctly.