2.1.0-Preview.1
Pre-release
Pre-release
benjaminpetit
released this
13 Nov 21:35
·
143 commits
to main
since this release
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 fromHealthyAndUnknown
toHealthyOrPanic
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.
- The old
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
- @kheardCB made their first contribution in #2044
- @obenarchid made their first contribution in #2053
- @catcherwong made their first contribution in #2043
- @felipeogarcia made their first contribution in #2065
- @jonathantower made their first contribution in #2112
- @kyler-swanson made their first contribution in #2114
- @kant2002 made their first contribution in #2122
- @eerhardt made their first contribution in #2144
- @foostackdev made their first contribution in #2152
- @antonybstack made their first contribution in #2157
- @divyeshio made their first contribution in #2156
- @MilenaHristova made their first contribution in #2189
- @hahn-kev made their first contribution in #2184
- @kzhen made their first contribution in #2180
- @marekott made their first contribution in #2200
- @ReubenBond made their first contribution in #2210
- @HappyCodeSloth made their first contribution in #2231
- @JamesNK made their first contribution in #2253
- @ChintanRaval made their first contribution in #2254
- @evmurphy made their first contribution in #2258
- @daniel-steinmann made their first contribution in #2262
Pull Requests: query
Full Changelog: v2.0.0...v2.1.0-preview.1