2.0.0
This release supports .NET 6.0 and .NET 7.0. See Getting Started.
The Yarp.ReverseProxy packages are available on NuGet.org.
Breaking changes
- Existing
HttpTransformeroverloads that don't accept aCancellationTokenhave been marked as obsolete (#2016).- If you have created a custom class that derives from
HttpTransformer, you should update the implementation to override the overloads which accept theCancellationTokeninstead. - Existing implementations that only override the obsolete overloads will continue working for the time being, but these overloads may be removed in a future major release.
- If you have created a custom class that derives from
- See 2.0.0-RC.1 release notes for the rest of the breaking changes between YARP 1.1 and 2.0.
Other changes
- Added a new enum value
ForwarderError.RequestCreationthat is reported if a request transform throws an exception (#2016). - Fixed a bug introduced in RC1 where custom response transform callbacks were not called on errors (when
ProxyResponseisnull) (#2016). - Fixed a bug where a request cancellation triggered by the manual
CancellationToken(parameter toIHttpForwarder.SendAsync) was reported asRequestTimedOutinstead ofRequestCanceled(#2016).
For a full list of changes see here.