Releases: grpc/grpc-dart
Releases · grpc/grpc-dart
2.8.0
- Added support for client interceptors, which can be configured through
Client
constructor'sinterceptors
parameter. Interceptors will be
executed byClient.$createStreamingCall
andClient.$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
andClientChannel
. - Fix issue #331 causing
an exception inGrpcWebClientChannel.terminate()
.
2.7.0
2.7.0
- Added decoding/parsing of
grpc-status-details-bin
to pass all response
exception details to theGrpcError
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
- Fixes for supporting Dart 2.
Server tweaks
- 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
- Split out TLS credentials to a separate class.
Cloud Authentication
- 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
- 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
- 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
- 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.