Changelog
- Add
getAuthContext
method to client and server call classes (more details can be found in gRFC L35) (#2920) - Implement custom backend metrics support (gRFC A51) (#2978, #2983, #2985, #2986, #2999)
- Add
getConnectionInfo
method to theServerInterceptingCall
class (#2922) - Implement the
weighted_round_robin
load balancing policy (#2998) - Fix jitter behavior for client retries (#2960 contributed by @ekscentrysytet)
- Start connecting from a random index in the
round_robin
LB policy (#2979) - Send connection-level WINDOW_UPDATE at session start (#2971 contributed by @KoenRijpstra)
Experimental API Changes
Added:
CHANNEL_ARGS_CONFIG_SELECTOR_KEY
StatusOr<T>
CallStream
statusOrFromValue
statusOrFromError
Modified:
ResolverListener#onSuccessfulResolution
now has the signature(endpointList: StatusOr<Endpoint[]>, attributes: { [key: string]: unknown }, serviceConfig: StatusOr<ServiceConfig> | null, resolutionNote: string): boolean
LoadBalancer#updateAddressList
now has the signature `updateAddressList(endpointList: StatusOr<Endpoint[]>,lbConfig: TypedLoadBalancingConfig, channelOptions: ChannelOptions, resolutionNote: string): boolean