Releases: grpc/grpc-node
Releases · grpc/grpc-node
grpc-health-check 2.0.1
@grpc/grpc-js 1.10.0
Changelog
- Add server interceptors support (#2650) (details in gRFC L112)
- Deprecate
Server#start
(#2597) (details in gRFC L107) - Add
Server#unbind
(#2612) (details in gRFC L109) - Add
Server#drain
(#2616) (details in gRFC L111) - Export type
VerifyOptions
(#2637 contributed by @chakhsu)
Experimental API Changes
- Added:
Endpoint
endpointToString
endpointHasAddress
LeafLoadBalancer
HealthListener
SubchannelInterface#isHealthy
SubchannelInterface#addHealthStateWatcher
SubchannelInterface#removeHealthStateWatcher
SubchannelWrapper#setHealthy
selectLbConfigFromList
parseLoadBalancingConfig
OutlierDetectionRawConfig
EndpointMap
- Moved out of the
experimental
namespace:ServiceConfig
MethodConfig
LoadBalancingConfig
(now a simple raw object type)RetryPolicy
- Removed:
getFirstUsableConfig
validateLoadBalancingConfig
OutlierDetectionLoadBalancingConfig
- Modified:
LoadBalancer#updateAddressList
: The first argument now has typeEndpoint[]
instead ofSubchannelAddress[]
ResolverListener#onSuccessfulResolution
: The first argument now has typeEndpoint[]
instead ofSubchannelAddress[]
registerLoadBalancerType
: The second argument, aLoadBalancerConstructor
now takes a second argumentoptions: ChannelOptions
ConfigSelector
: Now accepts an additional argumentchannelId: number
QueuePicker
: The constructor now accepts an additional optional argumentchildPicker: Picker
, which theQueuePicker
instance will delegate to if provided.
@grpc/grpc-js-xds 1.10.0
- Implement gRFC A52: gRPC xDS Custom Load Balancer Configuration (#2555)
- Implement gRFC A42: xDS Ring Hash LB Policy (#2568)
- Note: This feature is not compatible with Node 14 or below. To disable it in those versions, set the environment variable
GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH=false
.
- Note: This feature is not compatible with Node 14 or below. To disable it in those versions, set the environment variable
- Implement the xDS part of gRFC A62:
pick_first
: sticky TRANSIENT_FAILURE and address order randomization (Currently experimental, enabled by environment variableGRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG
) (#2572)
@grpc/grpc-js 1.9.14
@grpc/reflection 1.0.1
- Fix bug that would cause some requests after the first request to fail (#2632 contributed by @gawsoftpl)
@grpc/grpc-js 1.9.13
- Fix a bug that could cause the Node process to close early when establishing a connection while a request is pending (#2626)
@grpc/reflection 1.0.0
@grpc/grpc-js 1.9.12
- Fix a bug that could cause connectivity state information to become stale in some circumstances (#2623)
@grpc/grpc-js 1.9.11
@grpc/grpc-js 1.9.10
- Provide the correct port to the proxy when connecting to a target without an explicitly specified port (#2608 contributed by @segevfiner)
- Properly handle goaway events with no additional data attached (#2611)