Releases: grpc/grpc-node
Releases · grpc/grpc-node
@grpc/grpc-js 1.12.2
- Use
util.promisify
instead offs/promises
for Node 12 compatibility (#2838)
@grpc/grpc-js 1.12.1
- Port bugfixes from 1.11.x into 1.12.x (#2836)
@grpc/grpc-js 1.12.0
Changelog
- Provide the method_name for the CallCredentials callback generateMetadata (#2814 contributed by @becoded)
- Add an optional
rejectUnauthorized
field to theVerifyOptions
interface, which can be passed as an argument tocredentials.createSsl
andcreateFromSecureContext
(#2812 contributed by @vinothsa4891)
Experimental API changes
Added:
CaCertificateUpdate
CaCertificateUpdateListener
IdentityCertificateUpdate
IdentityCertificateUpdateListener
CertificateProvider
FileWatcherCertificateProvider
FileWatcherCertificateProviderConfig
createCertificateProviderChannelCredentials
createCertificateProviderServerCredentials
Modified:
LoadBalancer
: The constructor now takes an additional argument of typeChannelCredentials
.ChannelControlHelper#createSubchannel
: Now takes an additional argument of typeChannelCredentials | null
. This should be passed along if overriding this function.LeafLoadBalancer
: The constructor now takes an additional argument of typeChannelCredentials
.
@grpc/grpc-js-xds 1.12.0
- Enable dualstack socket support by default in xDS clients (#2832)
@grpc/grpc-js 1.11.3
- Ensure the client queries the name resolver again after connections drop while using the round_robin load balancing policy (#2825)
@grpc/grpc-js 1.11.2
@grpc/grpc-js 1.11.1
@grpc/grpc-js 1.11.0
Changelog
- Add Server connection injection API as described in gRFC L114 (#2675)
- Implement support for an alternate DNS resolver that supports custom authorities (#2776 contributed by @gkampitakis)
- Add a channel option to configure retry attempt limits (#2795)
- Add a
getHost
method to server call objects (#2783, #2793) - Fix typos and omissions in service config validation errors (#2782 contributed by @matthewbinshtok)
Experimental API changes
Added:
splitHostPort
HostPort
createServerCredentialsWithInterceptors
@grpc/grpc-js-xds 1.11.0
@grpc/grpc-js 1.10.11
- Fix a bug that caused clients to reconnect unnecessarily while no requests are pending. (#2784)
- Fix a bug that caused clients to fail to re-establish existing connections while waiting for DNS results (#2784)
- Fix a bug that caused servers to sometimes not close idle connections depending on timing (#2790)
- Fix a bug that caused calls to be pending indefinitely while unable to start after a channel is closed (#2791)