Releases · dotnet/yarp
2.3.0This release supports .NET 8.0 and newer. See Getting Started.
Note that while this version also includes targets for .NET 6 and .NET 7, those runtimes are no longer supported.
The Yarp.ReverseProxy packages are available on NuGet.org.
Breaking changesDebug
severity (#2765 by @MihaZupan).
ForwarderError.ResponseBodyCanceled
and UpgradeResponseCanceled
are no longer logged with a Warning
severity.RequestCanceled
, RequestBodyCanceled
, and UpgradeRequestCanceled
.HttpRequestMessage.Content
property in a request transform will throw an exception (#2722 by @MihaZupan).
HttpVersionPolicy
during HTTP version negotiation (#2729 by @MihaZupan).
HttpVersionPolicy
disallowed it. This was breaking scenarios such as outgoing HTTP/2 WebSockets without TLS.RequestCreation
error.Version=2.0, Policy=RequestVersionOrLower
.AddForwarded
and AddXForwarded
request transforms that allow you to opt-out of removing the other variant of the header (#2728 by @rkargMsft).
ctx.AddForwarded(removeAllXForwardedHeaders: false); ctx.AddXForwarded(removeForwardedHeader: false);
For a full list of changes see here.
2.2.0This release supports .NET 6.0 and .NET 8.0. See Getting Started.
The Yarp.ReverseProxy packages are available on NuGet.org.
Breaking changesForwarded
transform now prefers the IPv4 form for dual-mode sockets (#2509 by @rkargMsft).
127.0.0.1
is used instead of ::ffff:127.0.0.1
.X-Forwarded-For
in 2.2.0-preview.1 (#2400).WebSocketCloseReason.ActivityTimeout
enum value (#2571 by @MihaZupan).TlsFrameHelper.ParsingStatus
API (#2587 by @wfurt).
For a full list of changes see here.
2.2.0-Preview.1This release supports .NET 6.0 and .NET 8.0. See Getting Started.
The Yarp.ReverseProxy packages are available on NuGet.org.
Breaking changesHeaderMatchMode.NotExists
now also matches headers with an empty value (#2412 by @qianyuansun).
NotExists
exactly the opposite of Exists
. Previously, empty values would not match either mode.Debug
severity (#2503 by @MihaZupan).
ForwarderError.RequestCanceled
, RequestBodyCanceled
, and UpgradeRequestCanceled
are now logged under a new ILogger
event with a Debug
severity. Other errors continue to be logged under the existing event with a Warning
severity.ForwarderError
s remains the same.IKestrelTelemetryConsumer
(#2360 by @ajay-sainy).OutputCachePolicy
in the route configuration (#2328 by @witskeeper).
X-Forwarded-For
now prefers the IPv4 form for dual-mode sockets (#2400 by @hacst).
127.0.0.1
is used instead of ::ffff:127.0.0.1
.Healthy
instead of Unknown
(#2415 by @robbieknuth).
Unknown
until enough health probes have been sent.Query
property to active health check configuration (#2421 by @robbieknuth).
Path
could have been specified, and ?
would be escaped to %3F
.HttpSysDelegator
for detaching from and re-initializing queues (#2426 by @NGloreous).HttpSysDelegator
(#2487 by @NGloreous).OperationCanceledException
s thrown by response transforms as part of error handling are now ignored (#2452 by @MihaZupan).UseRequestTimeouts
was too strict (#2501 by @MihaZupan).For a full list of changes see here.
2.1.0 2.1.0-Preview.1 2.0.1 Security Patch 1.1.2 Security Patch 2.0.0This release supports .NET 6.0 and .NET 7.0. See Getting Started.
The Yarp.ReverseProxy packages are available on NuGet.org.
Breaking changesHttpTransformer
overloads that don't accept a CancellationToken
have been marked as obsolete (#2016).
HttpTransformer
, you should update the implementation to override the overloads which accept the CancellationToken
instead.ForwarderError.RequestCreation
that is reported if a request transform throws an exception (#2016).ProxyResponse
is null
) (#2016).CancellationToken
(parameter to IHttpForwarder.SendAsync
) was reported as RequestTimedOut
instead of RequestCanceled
(#2016).For a full list of changes see here.
2.0.0-RC.1This release supports .NET 6.0 and .NET 7.0. See Getting Started.
The Yarp.ReverseProxy packages are available on NuGet.org.
Breaking changesCookie
to HashCookie
(#1989).
SocketsHttpHandler.ConnectTimeout
by default (#1991). You may observe different exceptions being reported by the proxy in failure scenarios when destination servers aren't responding. See #1678 for more context on this change.TlsHandshakeType.KeyEpdate
has been corrected to KeyUpdate
(#1614).RateLimiterPolicy
on a route from the configuration (#1967). See the Rate Limiting documentation for more details.MaxRequestBodySize
on a route from the configuration (#1947).InMemoryConfigProvider
as a built-in API (#1732). You no longer have to copy the implementation from the samples :)IConfigChangeListener
interface you can implement to receive notifications when and if configuration has been applied (#1734).IHttpForwarder.SendAsync
overload that accepts a cancellation token (#1985).ISessionAffinityPolicy
(#1990).ReassignProxyRequest
that also accepts a route (#1760).HeaderMatchMode.NotExists
mode to header routing (#1806).AddMetricsConsumer
helper method to make it easier to register a consumer with multiple IMetricsConsumer
s (#1899).IForwarderHttpClientFactory
and also call ConfigureHttpClient
as the two are mutually exclusive (#1805).Content-Length: 0
header on responses that don't allow bodies (#1813).Strict-Transport-Security
header (#1984).For a full list of changes see here.
1.1.1This release supports .NET Core 3.1, .NET 5.0, and .NET 6.0. See Getting Started.
The Yarp.ReverseProxy packages are available on NuGet.org.
Changes:
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4