Releases: grpc/grpc-dart
Releases · grpc/grpc-dart
package:grpc v4.2.0
- Export a protobuf generated symbol (
Any
) - Simplify hierarchy of
ResponseFuture
(no longer have a private class in the
type hierarchy) - Require Dart 3.8.
- Require package:googleapis_auth
- Require package:http 1.4.0
- Require package:lints 6.0.0
- Require package:protobuf 4.1.0
- Dart format all files for the new 3.8 formatter.
package:grpc v4.1.0
- Add a
serverInterceptors
argument toConnectionServer
. These interceptors are acting
as middleware, wrapping aServiceMethod
invocation. - Make sure that
CallOptions.mergeWith
is symmetric: givenWebCallOptions
it should returnWebCallOptions
.
package:grpc v4.0.4
- Allow the latest
package:googleapis_auth
.
package:grpc v4.0.3
- Widen
package:protobuf
constraint to allow version 4.0.0.
package:grpc v4.0.2
- Internal optimization to client code.
- Small fixes, such as ports in testing and enabling
timeline_test.dart
. - When the keep alive manager runs into a timeout, it will finish the transport instead of closing
the connection, as defined in the gRPC spec. - Upgrade to
package:lints
version 5.0.0 and Dart SDK version 3.5.0. - Upgrade
example/grpc-web
code. - Update xhr transport to migrate off legacy JS/HTML apis.
- Use
package:web
to getHttpStatus
. - Fix
package:web
deprecations.
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.