Skip to content

@grpc/grpc-js 1.12.0

Compare
Choose a tag to compare
@murgatroid99 murgatroid99 released this 03 Oct 21:08
· 25 commits to @grpc/[email protected] since this release
8aacdfd

Changelog

  • Provide the method_name for the CallCredentials callback generateMetadata (#2814 contributed by @becoded)
  • Add an optional rejectUnauthorized field to the VerifyOptions interface, which can be passed as an argument to credentials.createSsl and createFromSecureContext (#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 type ChannelCredentials.
  • ChannelControlHelper#createSubchannel: Now takes an additional argument of type ChannelCredentials | null. This should be passed along if overriding this function.
  • LeafLoadBalancer: The constructor now takes an additional argument of type ChannelCredentials.