grpc-dart

The Dart language implementation of gRPC.

APACHE-2.0 License

Stars
825
Committers
64

Bot releases are hidden (Show)

grpc-dart - package:grpc v3.2.4 Latest Release

Published by mosuem about 1 year ago

  • Forward internal GrpcError on when throwing while sending a request.
  • Add support for proxies, see #33.
  • Remove canceled ServerHandlers from tracking list.
  • Fix regression on fetching the remote address of a closed socket.
grpc-dart - package:grpc v3.2.3

Published by mosuem over 1 year ago

  • Add const constructor to GrpcError fixing #606.
  • Make GrpcError non-final to allow implementations.
  • Only send keepalive pings on open connections.
  • Fix interop tests.
grpc-dart - package:grpc v3.2.0

Published by mosuem over 1 year ago

  • ChannelOptions now exposes connectTimeout, which is used on the
    socket connect. This is used to specify the maximum allowed time to wait
    for a connection to be established. If connectTime is longer than the system
    level timeout duration, a timeout may occur sooner than specified in
    connectTimeout. On timeout, a SocketException is thrown.
  • Require Dart 2.17 or greater.
  • Fix issue #51, add support for custom error handling.
  • Expose client IP address to server
  • Add a channelShutdownHandler argument to ClientChannel and the subclasses.
    This callback can be used to react to channel shutdown or termination.
  • Export the Code protobuf enum from the grpc.dart library.
  • Require Dart 3.0.0 or greater.
grpc-dart - package:grpc v3.2.0

Published by mosuem over 1 year ago

  • ChannelOptions now exposes connectTimeout, which is used on the
    socket connect. This is used to specify the maximum allowed time to wait
    for a connection to be established. If connectTime is longer than the system
    level timeout duration, a timeout may occur sooner than specified in
    connectTimeout. On timeout, a SocketException is thrown.
  • Require Dart 2.17 or greater.
  • Fix issue #51, add support for custom error handling.
  • Expose client IP address to server
  • Add a channelShutdownHandler argument to ClientChannel and the subclasses.
    This callback can be used to react to channel shutdown or termination.
  • Export the Code protobuf enum from the grpc.dart library.
  • Require Dart 3.0.0 or greater.
grpc-dart - 3.1.0

Published by mraleph almost 2 years ago

  • Expose a stream for connection state changes on ClientChannel to address
    #428.
    This allows users to react to state changes in the connection.
  • Fix #576: set default
    :authority value for UDS connections to localhost instead of using
    UDS path. Using path triggers checks in HTTP2 servers which
    attempt to validate :authority value.
grpc-dart - 3.0.2

Published by mraleph about 3 years ago

  • Fix compilation on the Web with DDC.
grpc-dart - 3.0.0

Published by mraleph about 3 years ago

  • Migrate library and tests to null safety.
  • Require Dart 2.12 or greater.
grpc-dart - 3.0.1

Published by mraleph about 3 years ago

  • Require package:googleapis_auth ^1.1.0
  • Fix issues #421 and #458. Validate responses according to gRPC/gRPC-Web protocol specifications: require 200 HTTP status and a supported Content-Type header to be present, as well
    as grpc-status: 0 header. When handling malformed responses make effort to translate HTTP statuses into gRPC statuses.
  • Add GrpcOrGrpcWebClientChannel which uses gRPC on all platforms except web, on which it uses gRPC-web.
  • GrpcError now exposes response trailers via GrpcError.trailers.
grpc-dart - 2.9.0

Published by mraleph over 3 years ago

  • Added support for compression/decompression, which can be configured through
    ChannelOptions constructor's codecRegistry parameter or adding the
    grpc-accept-encoding to metadata parameter of CallOptions on the client
    side and codecRegistry parameter to Server on the server side.
    Outgoing rpc can be compressed using the compression parameter on the
    CallOptions.
  • Fix issue #206. Prevent an
    exception to be thrown when a web connection stream is closed.
  • Add XHR raw response to the GrpcError for a better debugging
    (PR #423).

Note: this is the last release supporting SDK < 2.12. Next release will
be nullsafe and thus require SDK >= 2.12.

grpc-dart - 2.8.0

Published by mraleph almost 4 years ago

  • 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().
grpc-dart - 2.7.0

Published by mraleph almost 4 years ago

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.
grpc-dart - Dart 2 fixes

Published by jakobr-google over 6 years ago

  • Fixes for supporting Dart 2.
grpc-dart - Server tweaks

Published by jakobr-google over 6 years ago

  • 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.
grpc-dart - Channel credentials

Published by jakobr-google over 6 years ago

  • Split out TLS credentials to a separate class.
grpc-dart - Cloud Authentication

Published by jakobr-google over 6 years ago

  • 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.
grpc-dart - Prepare for Dart 2

Published by jakobr-google almost 7 years ago

  • Updated generated code in examples using latest protoc compiler plugin.
  • Dart 2.0 fixes.
  • Changed license to Apache 2.0 to match grpc organization.
grpc-dart - Metadata providers

Published by jakobr-google almost 7 years ago

  • 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.
grpc-dart - First release

Published by jakobr-google about 7 years ago

  • 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.