Releases: grpc/grpc-dart
Releases · grpc/grpc-dart
package:grpc v4.0.0
package:grpc v3.2.4
- Forward internal
GrpcError
on when throwing while sending a request. - Add support for proxies, see #33.
- Remove canceled
ServerHandler
s from tracking list. - Fix regression on fetching the remote address of a closed socket.
package:grpc v3.2.3
- Add const constructor to
GrpcError
fixing #606. - Make
GrpcError
non-final to allow implementations. - Only send keepalive pings on open connections.
- Fix interop tests.
package:grpc v3.2.0
ChannelOptions
now exposesconnectTimeout
, which is used on the
socket connect. This is used to specify the maximum allowed time to wait
for a connection to be established. IfconnectTime
is longer than the system
level timeout duration, a timeout may occur sooner than specified in
connectTimeout
. On timeout, aSocketException
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 toClientChannel
and the subclasses.
This callback can be used to react to channel shutdown or termination. - Export the
Code
protobuf enum from thegrpc.dart
library. - Require Dart 3.0.0 or greater.
package:grpc v3.2.0
ChannelOptions
now exposesconnectTimeout
, which is used on the
socket connect. This is used to specify the maximum allowed time to wait
for a connection to be established. IfconnectTime
is longer than the system
level timeout duration, a timeout may occur sooner than specified in
connectTimeout
. On timeout, aSocketException
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 toClientChannel
and the subclasses.
This callback can be used to react to channel shutdown or termination. - Export the
Code
protobuf enum from thegrpc.dart
library. - Require Dart 3.0.0 or greater.
3.1.0
- 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 tolocalhost
instead of using
UDS path. Using path triggers checks in HTTP2 servers which
attempt to validate:authority
value.
3.0.2
3.0.1
- 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
asgrpc-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 viaGrpcError.trailers
.
3.0.0
2.9.0
- Added support for compression/decompression, which can be configured through
ChannelOptions
constructor'scodecRegistry
parameter or adding the
grpc-accept-encoding
tometadata
parameter ofCallOptions
on the client
side andcodecRegistry
parameter toServer
on the server side.
Outgoing rpc can be compressed using thecompression
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.