Skip to content

2.1.0-Preview.1

Pre-release
Pre-release

Choose a tag to compare

@benjaminpetit benjaminpetit released this 13 Nov 21:35
· 246 commits to main since this release
1fd229d

This release supports .NET 6.0, 7.0, and 8.0. See Getting Started.

The Yarp.ReverseProxy packages are available on NuGet.org.

Breaking changes

  • The default IAvailableDestinationsPolicy has been changed from HealthyAndUnknown to HealthyOrPanic by @Tratcher in #2171
    • This new default allows the proxy to serve at least some requests even if all destinations are unhealthy.
  • We're now using the new TimeProvider type by @Tratcher in #2108
    • The old IClock interface was marked obsolete and is no longer used by YARP.

Other changes

  • Update log level to warning for unsuccessful proxying by @kheardCB in #2044
  • Fix an issue where destinations are compared against themselves by @felipeogarcia in #2065
  • Workaround EventListener bug when consuming metrics by @MihaZupan in #2104
  • Add .NET 8 TFM, clean up new warnings by @Tratcher in #2105
  • Fix extended connect check condition by @benjaminpetit in #2119
  • Adding distinct activity for distributed tracing to YARP by @samsp-msft in #2098
  • Perf improvements by @MihaZupan in #2127
  • Enable AOT Compatibility by @eerhardt in #2144
  • Enable AOT compatibility for Yarp.Telemetry.Consumption by @eerhardt in #2146
  • Added more direct routing APIs by @davidfowl in #2147
  • Add [StringSyntax("Route")] to route patterns by @divyeshio in #2156
  • Forwarder blame improvements by @Tratcher in #2167
  • Add cluster destination address validation by @hahn-kev in #2184
  • Overload constructors for ClusterState and DestinationState to enable unit testing by @antonybstack in #2198
  • Changed streaming flag to empty string when logging no gRPC request by @marekott in #2200
  • Add IDestinationResolver for resolving cluster destination addresses by @ReubenBond in #2210
  • Request body exception status code granularity by @antonybstack in #2227
  • Improve diagnostics for IDestinationResolver exceptions by @ReubenBond in #2241
  • Improve route string syntax usage by @JamesNK in #2253
  • 💡Feat: allow for simpler override of Response header encoding of Forwarded Requests by @ChintanRaval in #2254
  • Update NotContains match mode for Header and QueryParameters to support missing/empty values by @evmurphy in #2258
  • Add Request Header From Route by @daniel-steinmann in #2262
  • Use SearchValues in RequestUtilities.EncodePath by @MihaZupan in #2267
  • React to runtime EventSource changes by @MihaZupan in #2268
  • Use frozen collections by @MihaZupan in #2272

New Contributors

Pull Requests: query
Full Changelog: v2.0.0...v2.1.0-preview.1