Skip to content

Releases: grpc/grpc-dart

2.8.0

12 Nov 11:54
5b0e942
Compare
Choose a tag to compare
  • Added support for client interceptors, which can be configured through
    Client constructor's interceptors parameter. Interceptors will be
    executed by Client.$createStreamingCall and Client.$createUnaryCall.
    Using interceptors requires regenerating client stubs using version 19.2.0 or
    newer of protobuf compiler plugin.
  • Client.$createCall is deprecated because it does not invoke client
    interceptors.
  • Fix issue #380 causing
    incorrect duplicated headers in gRPC-Web requests.
  • Change minimum required Dart SDK to 2.8 to enable access to Unix domain sockets.
  • Add support for Unix domain sockets in Socket.serve and ClientChannel.
  • Fix issue #331 causing
    an exception in GrpcWebClientChannel.terminate().

2.7.0

30 Oct 11:05
0589503
Compare
Choose a tag to compare

2.7.0

  • Added decoding/parsing of grpc-status-details-bin to pass all response
    exception details to the GrpcError thrown in Dart, via
    #349.
  • Dart SDK constraint is bumped to >=2.3.0 <3.0.0 due to language version
    in the generated protobuf code.

2.6.0

  • Create gRPC servers and clients with [Server|Client]TransportConnnection.
    This allows callers to propvide their own transport configuration, such
    as their own implementation of streams and sinks instead of sockets.

2.5.0

  • Expose a validateClient method for server credentials so gRPC server
    users may know when clients are loopback addresses.

2.4.1

  • Plumb stacktraces through request / response stream error handlers.
  • Catch and forward any errors decoding the response.

2.4.0

  • Add the ability to bypass CORS preflight requests.

Dart 2 fixes

05 Apr 08:15
8a397d8
Compare
Choose a tag to compare
  • Fixes for supporting Dart 2.

Server tweaks

19 Mar 10:32
db484e1
Compare
Choose a tag to compare
  • Moved TLS credentials for server into a separate class.
  • Added support for specifying the address for the server, and support for serving on an ephemeral port.

Channel credentials

27 Feb 09:17
Compare
Choose a tag to compare
  • Split out TLS credentials to a separate class.

Cloud Authentication

05 Feb 22:19
7621132
Compare
Choose a tag to compare
  • Added authentication metadata providers, optimized for use with Google Cloud.
  • Added service URI to metadata provider API, needed for Json Web Token generation.
  • Added authenticated cloud-to-prod interoperability tests.
  • Refactored connection logic to throw initial connection errors early.

Prepare for Dart 2

18 Jan 11:18
Compare
Choose a tag to compare
  • Updated generated code in examples using latest protoc compiler plugin.
  • Dart 2.0 fixes.
  • Changed license to Apache 2.0 to match grpc organization.

Metadata providers

15 Dec 12:06
Compare
Choose a tag to compare
  • Implemented support for per-RPC metadata providers. This can be used for authentication providers which may need to obtain or refresh a token before the RPC is sent.

First release

12 Oct 14:27
Compare
Choose a tag to compare
  • Core gRPC functionality is implemented and passes gRPC compliance tests.

The API is shaping up, but may still change as more advanced features are implemented.