Upgrading grpc 1 to 2
Unknown1.0.3 → 2.9.0
Fetching 13 releases from GitHub…0 / 13
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Dart SDK requirement changed in 2.8.0: >=2.0.0 <3.0.0 → >=2.8.0 <3.0.0.
Adds archive ^2.0.13, crypto ^2.1.4, fixnum ^0.10.11, protobuf ^1.0.1.
Moves async >=1.13.3 <3.0.0 → ^2.2.0, googleapis_auth ^0.2.5+3 → ^0.2.7, http >=0.11.3+17 <0.13.0 → ^0.12.0, http2 >=0.1.7 <2.0.0 → ^1.0.0, meta ^1.0.5 → ^1.1.6. Your build may pick other versions.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
class ClientConnection - removed:
class ServerHandler extends ServerHandler_ - removed:
ctor ClientConnection(this.host, this.port, this.options) - removed:
ctor ServerHandler(Service Function(String service) serviceLookup, stream, [List<Interceptor> interceptors = …]) - removed:
field ClientConnection.host: final String - removed:
field ClientConnection.options: final ChannelOptions - removed:
field ClientConnection.port: final int - removed:
get ClientCall.path: String - removed:
get ClientConnection.authority: String - removed:
get ClientConnection.state: ConnectionState - removed:
method ClientChannel.createCall<Q, R>( ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options): ClientCall<Q, R> - removed:
method ClientChannel.getConnection(): Future<ClientConnection> - removed:
method ClientChannel.shutdown(): Future<void> - removed:
method ClientChannel.terminate(): Future<void> - removed:
method ClientConnection.Function(ClientConnection connection): void - removed:
method ClientConnection.connectTransport(): Future<ClientTransportConnection> - removed:
method ClientConnection.dispatchCall(ClientCall call): void - removed:
method ClientConnection.makeRequest( String path, Duration timeout, Map<String, String> metadata): ClientTransportStream - removed:
method ClientConnection.shutdown(): Future<void> - removed:
method ClientConnection.terminate(): Future<void> - removed:
static method ClientConnection.createCallHeaders(bool useTls, String authority, String path, Duration timeout, Map<String, String> metadata, {String userAgent}): List<Header> - removed:
static method GrpcHttpEncoder.frame(List<int> payload): List<int> - removed:
variable defaultUserAgent: const - changed:
class ClientChannel → class ClientChannel extends ClientChannelBase - changed:
class GrpcError → class GrpcError implements Exception - changed:
class Server → class Server extends ConnectionServer - changed:
class ServerTlsCredentials → class ServerTlsCredentials extends ServerCredentials - changed:
ctor CallOptions( {Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers}) → ctor CallOptions({ Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers, Codec compression, }) - changed:
ctor ChannelOptions({ ChannelCredentials credentials, Duration idleTimeout, String userAgent, BackoffStrategy backoffStrategy, }) → ctor ChannelOptions({ this.credentials = …, this.idleTimeout = …, this.userAgent = …, this.backoffStrategy = …, this.connectionTimeout = …, this.codecRegistry, }) - changed:
ctor Client(this._channel, {CallOptions options}) → ctor Client(this._channel, {CallOptions options, Iterable<ClientInterceptor> interceptors}) - changed:
ctor ClientCall(this._method, this._requests, this.options) → ctor ClientCall(this._method, this._requests, this.options, [this._requestTimeline]) - changed:
ctor GrpcError.aborted([this.message]) → ctor GrpcError.aborted([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.alreadyExists([this.message]) → ctor GrpcError.alreadyExists([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.cancelled([this.message]) → ctor GrpcError.cancelled([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.custom(this.code, [this.message]) → ctor GrpcError.custom(this.code, [this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.dataLoss([this.message]) → ctor GrpcError.dataLoss([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.deadlineExceeded([this.message]) → ctor GrpcError.deadlineExceeded([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.failedPrecondition([this.message]) → ctor GrpcError.failedPrecondition([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.internal([this.message]) → ctor GrpcError.internal([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.invalidArgument([this.message]) → ctor GrpcError.invalidArgument([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.notFound([this.message]) → ctor GrpcError.notFound([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.ok([this.message]) → ctor GrpcError.ok([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.outOfRange([this.message]) → ctor GrpcError.outOfRange([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.permissionDenied([this.message]) → ctor GrpcError.permissionDenied([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.resourceExhausted([this.message]) → ctor GrpcError.resourceExhausted([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.unauthenticated([this.message]) → ctor GrpcError.unauthenticated([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.unavailable([this.message]) → ctor GrpcError.unavailable([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.unimplemented([this.message]) → ctor GrpcError.unimplemented([this.message, this.details, this.rawResponse]) - changed:
ctor GrpcError.unknown([this.message]) → ctor GrpcError.unknown([this.message, this.details, this.rawResponse]) - changed:
ctor Server(List<Service> services, [List<Interceptor> interceptors = …]) → ctor Server( List<Service> services, [ List<Interceptor> interceptors = …, CodecRegistry codecRegistry, ]) - changed:
field ClientChannel.host: final String → field ClientChannel.host: final Object - changed:
function grpcDecompressor(): StreamTransformer<GrpcMessage, GrpcMessage> → function grpcDecompressor({ CodecRegistry codecRegistry, }): StreamTransformer<GrpcMessage, GrpcMessage> - changed:
method Server.serve( {dynamic address, int port, ServerTlsCredentials security}): Future<void> → method Server.serve( {dynamic address, int port, ServerCredentials security, ServerSettings http2ServerSettings, int backlog = …, bool v6Only = …, bool shared = …}): Future<void> - added:
class BadRequest extends $pb.GeneratedMessage - added:
class BadRequest_FieldViolation extends $pb.GeneratedMessage - added:
class ClientInterceptor: abstract - added:
class ClientTransportConnector: abstract - added:
class ClientTransportConnectorChannel extends ClientChannelBase - added:
class Codec: abstract - added:
class CodecRegistry - added:
class ConnectionServer - added:
class DebugInfo extends $pb.GeneratedMessage - added:
class ErrorInfo extends $pb.GeneratedMessage - added:
class GzipCodec implements Codec - added:
class Help extends $pb.GeneratedMessage - added:
class Help_Link extends $pb.GeneratedMessage - added:
class IdentityCodec implements Codec - added:
class LocalizedMessage extends $pb.GeneratedMessage - added:
class PreconditionFailure extends $pb.GeneratedMessage - added:
class PreconditionFailure_Violation extends $pb.GeneratedMessage - added:
class QuotaFailure extends $pb.GeneratedMessage - added:
class QuotaFailure_Violation extends $pb.GeneratedMessage - added:
class RequestInfo extends $pb.GeneratedMessage - added:
class ResourceInfo extends $pb.GeneratedMessage - added:
class RetryInfo extends $pb.GeneratedMessage - added:
class ServerCredentials: abstract - added:
class ServerLocalCredentials extends ServerCredentials - added:
ctor BadRequest() - added:
ctor BadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor BadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor BadRequest_FieldViolation() - added:
ctor BadRequest_FieldViolation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor BadRequest_FieldViolation.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor ClientTransportConnectorChannel(this.transportConnector, {this.options = …}) - added:
ctor CodecRegistry({List<Codec> codecs = …}) - added:
ctor CodecRegistry.empty() - added:
ctor ConnectionServer( List<Service> services, [ List<Interceptor> interceptors = …, CodecRegistry codecRegistry, ]) - added:
ctor DebugInfo() - added:
ctor DebugInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor DebugInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor ErrorInfo() - added:
ctor ErrorInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor ErrorInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor GzipCodec() - added:
ctor Help() - added:
ctor Help.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor Help.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor Help_Link() - added:
ctor Help_Link.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor Help_Link.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor IdentityCodec() - added:
ctor LocalizedMessage() - added:
ctor LocalizedMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor LocalizedMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor PreconditionFailure() - added:
ctor PreconditionFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor PreconditionFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor PreconditionFailure_Violation() - added:
ctor PreconditionFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor PreconditionFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor QuotaFailure() - added:
ctor QuotaFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor QuotaFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor QuotaFailure_Violation() - added:
ctor QuotaFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor QuotaFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor RequestInfo() - added:
ctor RequestInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor RequestInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor ResourceInfo() - added:
ctor ResourceInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor ResourceInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
ctor RetryInfo() - added:
ctor RetryInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = …]) - added:
ctor RetryInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = …]) - added:
field CallOptions.compression: final Codec - added:
field ChannelOptions.codecRegistry: final CodecRegistry - added:
field ChannelOptions.connectionTimeout: final Duration - added:
field ClientTransportConnectorChannel.options: final ChannelOptions - added:
field ClientTransportConnectorChannel.transportConnector: final ClientTransportConnector - added:
field GrpcError.codeName: final String - added:
field GrpcError.details: final List<GeneratedMessage> - added:
field GrpcError.rawResponse: final Object - added:
function applicationDefaultCredentialsAuthenticator( List<String> scopes, ): Future<HttpBasedAuthenticator> - added:
get BadRequest.fieldViolations: $core.List<BadRequest_FieldViolation> - added:
get BadRequest.info_: $pb.BuilderInfo - added:
get BadRequest_FieldViolation.description: $core.String - added:
get BadRequest_FieldViolation.field_1: $core.String - added:
get BadRequest_FieldViolation.info_: $pb.BuilderInfo - added:
get ClientTransportConnector.authority: String - added:
get ClientTransportConnector.done: Future - added:
get Codec.encodingName: String - added:
get CodecRegistry.supportedEncodings: String - added:
get DebugInfo.detail: $core.String - added:
get DebugInfo.info_: $pb.BuilderInfo - added:
get DebugInfo.stackEntries: $core.List<$core.String> - added:
get ErrorInfo.domain: $core.String - added:
get ErrorInfo.info_: $pb.BuilderInfo - added:
get ErrorInfo.metadata: $core.Map<$core.String, $core.String> - added:
get ErrorInfo.reason: $core.String - added:
get GzipCodec.encodingName: String - added:
get Help.info_: $pb.BuilderInfo - added:
get Help.links: $core.List<Help_Link> - added:
get Help_Link.description: $core.String - added:
get Help_Link.info_: $pb.BuilderInfo - added:
get Help_Link.url: $core.String - added:
get IdentityCodec.encodingName: String - added:
get LocalizedMessage.info_: $pb.BuilderInfo - added:
get LocalizedMessage.locale: $core.String - added:
get LocalizedMessage.message: $core.String - added:
get PreconditionFailure.info_: $pb.BuilderInfo - added:
get PreconditionFailure.violations: $core.List<PreconditionFailure_Violation> - added:
get PreconditionFailure_Violation.description: $core.String - added:
get PreconditionFailure_Violation.info_: $pb.BuilderInfo - added:
get PreconditionFailure_Violation.subject: $core.String - added:
get PreconditionFailure_Violation.type: $core.String - added:
get QuotaFailure.info_: $pb.BuilderInfo - added:
get QuotaFailure.violations: $core.List<QuotaFailure_Violation> - added:
get QuotaFailure_Violation.description: $core.String - added:
get QuotaFailure_Violation.info_: $pb.BuilderInfo - added:
get QuotaFailure_Violation.subject: $core.String - added:
get RequestInfo.info_: $pb.BuilderInfo - added:
get RequestInfo.requestId: $core.String - added:
get RequestInfo.servingData: $core.String - added:
get ResourceInfo.description: $core.String - added:
get ResourceInfo.info_: $pb.BuilderInfo - added:
get ResourceInfo.owner: $core.String - added:
get ResourceInfo.resourceName: $core.String - added:
get ResourceInfo.resourceType: $core.String - added:
get ResponseStream.single: ResponseFuture<R> - added:
get RetryInfo.info_: $pb.BuilderInfo - added:
get RetryInfo.retryDelay: $1.Duration - added:
get ServerCredentials.securityContext: SecurityContext - added:
get ServerLocalCredentials.securityContext: SecurityContext - added:
method BadRequest.clone(): BadRequest - added:
method BadRequest.copyWith(void Function(BadRequest) updates): BadRequest - added:
method BadRequest.createEmptyInstance(): BadRequest - added:
method BadRequest_FieldViolation.clearDescription(): void - added:
method BadRequest_FieldViolation.clearField_1(): void - added:
method BadRequest_FieldViolation.clone(): BadRequest_FieldViolation - added:
method BadRequest_FieldViolation.copyWith( void Function(BadRequest_FieldViolation) updates): BadRequest_FieldViolation - added:
method BadRequest_FieldViolation.createEmptyInstance(): BadRequest_FieldViolation - added:
method BadRequest_FieldViolation.hasDescription(): $core.bool - added:
method BadRequest_FieldViolation.hasField_1(): $core.bool - added:
method Client.$createStreamingCall<Q, R>( ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions options}): ResponseStream<R> - added:
method Client.$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions options}): ResponseFuture<R> - added:
method ClientChannel.createConnection(): ClientConnection - added:
method ClientInterceptor.interceptStreaming<Q, R>( ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options, ClientStreamingInvoker<Q, R> invoker): ResponseStream<R> - added:
method ClientInterceptor.interceptUnary<Q, R>(ClientMethod<Q, R> method, Q request, CallOptions options, ClientUnaryInvoker<Q, R> invoker): ResponseFuture<R> - added:
method ClientTransportConnector.connect(): Future<ClientTransportConnection> - added:
method ClientTransportConnector.shutdown(): void - added:
method ClientTransportConnectorChannel.createConnection(): ClientConnection - added:
method Codec.compress(List<int> data): List<int> - added:
method Codec.decompress(List<int> data): List<int> - added:
method CodecRegistry.lookup(String codecName): Codec - added:
method ConnectionServer.lookupService(String service): Service - added:
method ConnectionServer.serveConnection(ServerTransportConnection connection): Future<void> - added:
method ConnectionServer.serveStream_(ServerTransportStream stream): ServerHandler_ - added:
method DebugInfo.clearDetail(): void - added:
method DebugInfo.clone(): DebugInfo - added:
method DebugInfo.copyWith(void Function(DebugInfo) updates): DebugInfo - added:
method DebugInfo.createEmptyInstance(): DebugInfo - added:
method DebugInfo.hasDetail(): $core.bool - added:
method ErrorInfo.clearDomain(): void - added:
method ErrorInfo.clearReason(): void - added:
method ErrorInfo.clone(): ErrorInfo - added:
method ErrorInfo.copyWith(void Function(ErrorInfo) updates): ErrorInfo - added:
method ErrorInfo.createEmptyInstance(): ErrorInfo - added:
method ErrorInfo.hasDomain(): $core.bool - added:
method ErrorInfo.hasReason(): $core.bool - added:
method GzipCodec.compress(List<int> data): List<int> - added:
method GzipCodec.decompress(List<int> data): List<int> - added:
method Help.clone(): Help - added:
method Help.copyWith(void Function(Help) updates): Help - added:
method Help.createEmptyInstance(): Help - added:
method Help_Link.clearDescription(): void - added:
method Help_Link.clearUrl(): void - added:
method Help_Link.clone(): Help_Link - added:
method Help_Link.copyWith(void Function(Help_Link) updates): Help_Link - added:
method Help_Link.createEmptyInstance(): Help_Link - added:
method Help_Link.hasDescription(): $core.bool - added:
method Help_Link.hasUrl(): $core.bool - added:
method IdentityCodec.compress(List<int> data): List<int> - added:
method IdentityCodec.decompress(List<int> data): List<int> - added:
method LocalizedMessage.clearLocale(): void - added:
method LocalizedMessage.clearMessage(): void - added:
method LocalizedMessage.clone(): LocalizedMessage - added:
method LocalizedMessage.copyWith(void Function(LocalizedMessage) updates): LocalizedMessage - added:
method LocalizedMessage.createEmptyInstance(): LocalizedMessage - added:
method LocalizedMessage.hasLocale(): $core.bool - added:
method LocalizedMessage.hasMessage(): $core.bool - added:
method PreconditionFailure.clone(): PreconditionFailure - added:
method PreconditionFailure.copyWith(void Function(PreconditionFailure) updates): PreconditionFailure - added:
method PreconditionFailure.createEmptyInstance(): PreconditionFailure - added:
method PreconditionFailure_Violation.clearDescription(): void - added:
method PreconditionFailure_Violation.clearSubject(): void - added:
method PreconditionFailure_Violation.clearType(): void - added:
method PreconditionFailure_Violation.clone(): PreconditionFailure_Violation - added:
method PreconditionFailure_Violation.copyWith( void Function(PreconditionFailure_Violation) updates): PreconditionFailure_Violation - added:
method PreconditionFailure_Violation.createEmptyInstance(): PreconditionFailure_Violation - added:
method PreconditionFailure_Violation.hasDescription(): $core.bool - added:
method PreconditionFailure_Violation.hasSubject(): $core.bool - added:
method PreconditionFailure_Violation.hasType(): $core.bool - added:
method QuotaFailure.clone(): QuotaFailure - added:
method QuotaFailure.copyWith(void Function(QuotaFailure) updates): QuotaFailure - added:
method QuotaFailure.createEmptyInstance(): QuotaFailure - added:
method QuotaFailure_Violation.clearDescription(): void - added:
method QuotaFailure_Violation.clearSubject(): void - added:
method QuotaFailure_Violation.clone(): QuotaFailure_Violation - added:
method QuotaFailure_Violation.copyWith( void Function(QuotaFailure_Violation) updates): QuotaFailure_Violation - added:
method QuotaFailure_Violation.createEmptyInstance(): QuotaFailure_Violation - added:
method QuotaFailure_Violation.hasDescription(): $core.bool - added:
method QuotaFailure_Violation.hasSubject(): $core.bool - added:
method RequestInfo.clearRequestId(): void - added:
method RequestInfo.clearServingData(): void - added:
method RequestInfo.clone(): RequestInfo - added:
method RequestInfo.copyWith(void Function(RequestInfo) updates): RequestInfo - added:
method RequestInfo.createEmptyInstance(): RequestInfo - added:
method RequestInfo.hasRequestId(): $core.bool - added:
method RequestInfo.hasServingData(): $core.bool - added:
method ResourceInfo.clearDescription(): void - added:
method ResourceInfo.clearOwner(): void - added:
method ResourceInfo.clearResourceName(): void - added:
method ResourceInfo.clearResourceType(): void - added:
method ResourceInfo.clone(): ResourceInfo - added:
method ResourceInfo.copyWith(void Function(ResourceInfo) updates): ResourceInfo - added:
method ResourceInfo.createEmptyInstance(): ResourceInfo - added:
method ResourceInfo.hasDescription(): $core.bool - added:
method ResourceInfo.hasOwner(): $core.bool - added:
method ResourceInfo.hasResourceName(): $core.bool - added:
method ResourceInfo.hasResourceType(): $core.bool - added:
method RetryInfo.clearRetryDelay(): void - added:
method RetryInfo.clone(): RetryInfo - added:
method RetryInfo.copyWith(void Function(RetryInfo) updates): RetryInfo - added:
method RetryInfo.createEmptyInstance(): RetryInfo - added:
method RetryInfo.ensureRetryDelay(): $1.Duration - added:
method RetryInfo.hasRetryDelay(): $core.bool - added:
method ServerCredentials.validateClient(Socket socket): bool - added:
method ServerLocalCredentials.validateClient(Socket socket): bool - added:
method ServerTlsCredentials.validateClient(Socket socket): bool - added:
set BadRequest_FieldViolation.description($core.String v) - added:
set BadRequest_FieldViolation.field_1($core.String v) - added:
set DebugInfo.detail($core.String v) - added:
set ErrorInfo.domain($core.String v) - added:
set ErrorInfo.reason($core.String v) - added:
set Help_Link.description($core.String v) - added:
set Help_Link.url($core.String v) - added:
set LocalizedMessage.locale($core.String v) - added:
set LocalizedMessage.message($core.String v) - added:
set PreconditionFailure_Violation.description($core.String v) - added:
set PreconditionFailure_Violation.subject($core.String v) - added:
set PreconditionFailure_Violation.type($core.String v) - added:
set QuotaFailure_Violation.description($core.String v) - added:
set QuotaFailure_Violation.subject($core.String v) - added:
set RequestInfo.requestId($core.String v) - added:
set RequestInfo.servingData($core.String v) - added:
set ResourceInfo.description($core.String v) - added:
set ResourceInfo.owner($core.String v) - added:
set ResourceInfo.resourceName($core.String v) - added:
set ResourceInfo.resourceType($core.String v) - added:
set RetryInfo.retryDelay($1.Duration v) - added:
static field ErrorInfo...hasRequiredFields: final $pb.BuilderInfo - added:
static method BadRequest.create(): BadRequest - added:
static method BadRequest.createRepeated(): $pb.PbList<BadRequest> - added:
static method BadRequest.getDefault(): BadRequest - added:
static method BadRequest_FieldViolation.create(): BadRequest_FieldViolation - added:
static method BadRequest_FieldViolation.createRepeated(): $pb.PbList<BadRequest_FieldViolation> - added:
static method BadRequest_FieldViolation.getDefault(): BadRequest_FieldViolation - added:
static method ClientCall.audiencePath(ClientMethod method): String - added:
static method DebugInfo.create(): DebugInfo - added:
static method DebugInfo.createRepeated(): $pb.PbList<DebugInfo> - added:
static method DebugInfo.getDefault(): DebugInfo - added:
static method ErrorInfo.create(): ErrorInfo - added:
static method ErrorInfo.createRepeated(): $pb.PbList<ErrorInfo> - added:
static method ErrorInfo.getDefault(): ErrorInfo - added:
static method Help.create(): Help - added:
static method Help.createRepeated(): $pb.PbList<Help> - added:
static method Help.getDefault(): Help - added:
static method Help_Link.create(): Help_Link - added:
static method Help_Link.createRepeated(): $pb.PbList<Help_Link> - added:
static method Help_Link.getDefault(): Help_Link - added:
static method LocalizedMessage.create(): LocalizedMessage - added:
static method LocalizedMessage.createRepeated(): $pb.PbList<LocalizedMessage> - added:
static method LocalizedMessage.getDefault(): LocalizedMessage - added:
static method PreconditionFailure.create(): PreconditionFailure - added:
static method PreconditionFailure.createRepeated(): $pb.PbList<PreconditionFailure> - added:
static method PreconditionFailure.getDefault(): PreconditionFailure - added:
static method PreconditionFailure_Violation.create(): PreconditionFailure_Violation - added:
static method PreconditionFailure_Violation.createRepeated(): $pb.PbList<PreconditionFailure_Violation> - added:
static method PreconditionFailure_Violation.getDefault(): PreconditionFailure_Violation - added:
static method QuotaFailure.create(): QuotaFailure - added:
static method QuotaFailure.createRepeated(): $pb.PbList<QuotaFailure> - added:
static method QuotaFailure.getDefault(): QuotaFailure - added:
static method QuotaFailure_Violation.create(): QuotaFailure_Violation - added:
static method QuotaFailure_Violation.createRepeated(): $pb.PbList<QuotaFailure_Violation> - added:
static method QuotaFailure_Violation.getDefault(): QuotaFailure_Violation - added:
static method RequestInfo.create(): RequestInfo - added:
static method RequestInfo.createRepeated(): $pb.PbList<RequestInfo> - added:
static method RequestInfo.getDefault(): RequestInfo - added:
static method ResourceInfo.create(): ResourceInfo - added:
static method ResourceInfo.createRepeated(): $pb.PbList<ResourceInfo> - added:
static method ResourceInfo.getDefault(): ResourceInfo - added:
static method RetryInfo.create(): RetryInfo - added:
static method RetryInfo.createRepeated(): $pb.PbList<RetryInfo> - added:
static method RetryInfo.getDefault(): RetryInfo - added:
typedef ClientStreamingInvoker<Q, R> = ResponseStream<R> Function( ClientMethod method, Stream<Q> requests, CallOptions options) - added:
typedef ClientUnaryInvoker<Q, R> = ResponseFuture<R> Function( ClientMethod method, Q request, CallOptions options) - added:
variable isTimelineLoggingEnabled: bool
- added:
class CallOptions - added:
class ChannelOptions - added:
class ClientCall<Q, R> implements Response - added:
class ClientChannel extends ClientChannelBase - added:
class ClientChannelBase: abstract implements ClientChannel - added:
class ClientConnection: abstract - added:
class Codec: abstract - added:
class CodecRegistry - added:
class GrpcError implements Exception - added:
class GrpcHttpDecoder extends Converter<StreamMessage, GrpcMessage> - added:
class GrpcMessage: abstract - added:
class GrpcTransportStream: abstract - added:
class GzipCodec implements Codec - added:
class IdentityCodec implements Codec - added:
ctor CallOptions({ Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers, Codec compression, }) - added:
ctor CallOptions.from(Iterable<CallOptions> options) - added:
ctor ChannelOptions({ this.credentials = …, this.idleTimeout = …, this.userAgent = …, this.backoffStrategy = …, this.connectionTimeout = …, this.codecRegistry, }) - added:
ctor ClientCall(this._method, this._requests, this.options, [this._requestTimeline]) - added:
ctor ClientChannel(this.host, {this.port = …, this.options = …}) - added:
ctor ClientChannelBase() - added:
ctor CodecRegistry({List<Codec> codecs = …}) - added:
ctor CodecRegistry.empty() - added:
ctor GrpcError.aborted([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.alreadyExists([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.cancelled([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.custom(this.code, [this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.dataLoss([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.deadlineExceeded([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.failedPrecondition([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.internal([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.invalidArgument([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.notFound([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.ok([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.outOfRange([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.permissionDenied([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.resourceExhausted([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unauthenticated([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unavailable([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unimplemented([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unknown([this.message, this.details, this.rawResponse]) - added:
ctor GzipCodec() - added:
ctor IdentityCodec() - added:
field CallOptions.compression: final Codec - added:
field CallOptions.metadata: final Map<String, String> - added:
field CallOptions.metadataProviders: final List<MetadataProvider> - added:
field CallOptions.timeout: final Duration - added:
field ChannelOptions.backoffStrategy: final BackoffStrategy - added:
field ChannelOptions.codecRegistry: final CodecRegistry - added:
field ChannelOptions.connectionTimeout: final Duration - added:
field ChannelOptions.credentials: final ChannelCredentials - added:
field ChannelOptions.idleTimeout: final Duration - added:
field ChannelOptions.userAgent: final String - added:
field ClientCall.String>>(): final - added:
field ClientCall.isCancelled: bool - added:
field ClientCall.options: final CallOptions - added:
field ClientChannel.host: final Object - added:
field ClientChannel.options: final ChannelOptions - added:
field ClientChannel.port: final int - added:
field GrpcError.code: final int - added:
field GrpcError.codeName: final String - added:
field GrpcError.details: final List<GeneratedMessage> - added:
field GrpcError.message: final String - added:
field GrpcError.rawResponse: final Object - added:
function frame(List<int> rawPayload, [Codec codec]): List<int> - added:
function grpcDecompressor({ CodecRegistry codecRegistry, }): StreamTransformer<GrpcMessage, GrpcMessage> - added:
function toTimeoutString(Duration duration): String - added:
get ClientCall.headers: Future<Map<String, String>> - added:
get ClientCall.response: Stream<R> - added:
get ClientCall.trailers: Future<Map<String, String>> - added:
get ClientConnection.authority: String - added:
get ClientConnection.scheme: String - added:
get Codec.encodingName: String - added:
get CodecRegistry.supportedEncodings: String - added:
get GrpcError.hashCode: int - added:
get GrpcTransportStream.incomingMessages: Stream<GrpcMessage> - added:
get GrpcTransportStream.outgoingMessages: StreamSink<List<int>> - added:
get GzipCodec.encodingName: String - added:
get IdentityCodec.encodingName: String - added:
method CallOptions.mergedWith(CallOptions other): CallOptions - added:
method ClientCall.cancel(): Future<void> - added:
method ClientCall.onConnectionError(error): void - added:
method ClientCall.onConnectionReady(ClientConnection connection): void - added:
method ClientChannel.createConnection(): ClientConnection - added:
method ClientChannelBase.createCall<Q, R>( ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options): ClientCall<Q, R> - added:
method ClientChannelBase.createConnection(): ClientConnection - added:
method ClientChannelBase.getConnection(): Future<ClientConnection> - added:
method ClientChannelBase.shutdown(): Future<void> - added:
method ClientChannelBase.terminate(): Future<void> - added:
method ClientConnection.dispatchCall(ClientCall call): void - added:
method ClientConnection.makeRequest(String path, Duration timeout, Map<String, String> metadata, ErrorHandler onRequestFailure, {CallOptions callOptions}): GrpcTransportStream - added:
method ClientConnection.shutdown(): Future<void> - added:
method ClientConnection.terminate(): Future<void> - added:
method Codec.compress(List<int> data): List<int> - added:
method Codec.decompress(List<int> data): List<int> - added:
method CodecRegistry.lookup(String codecName): Codec - added:
method GrpcError.operator ==(other): bool - added:
method GrpcError.toString(): String - added:
method GrpcHttpDecoder.convert(StreamMessage input): GrpcMessage - added:
method GrpcHttpDecoder.startChunkedConversion(Sink<GrpcMessage> sink): Sink<StreamMessage> - added:
method GrpcTransportStream.terminate(): Future<void> - added:
method GzipCodec.compress(List<int> data): List<int> - added:
method GzipCodec.decompress(List<int> data): List<int> - added:
method IdentityCodec.compress(List<int> data): List<int> - added:
method IdentityCodec.decompress(List<int> data): List<int> - added:
static method ClientCall.audiencePath(ClientMethod method): String - added:
typedef void ErrorHandler(error, StackTrace stackTrace)
- added:
class CallOptions - added:
class GrpcError implements Exception - added:
class GrpcWebClientChannel extends ClientChannelBase - added:
class HttpBasedAuthenticator: abstract extends BaseAuthenticator - added:
class JwtServiceAccountAuthenticator extends BaseAuthenticator - added:
class Response: abstract - added:
class ResponseFuture<R> extends DelegatingFuture<R> with _ResponseMixin<dynamic, R> - added:
class ResponseStream<R> extends DelegatingStream<R> with _ResponseMixin<dynamic, R> - added:
class StatusCode - added:
class WebCallOptions extends CallOptions - added:
ctor CallOptions({ Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers, Codec compression, }) - added:
ctor CallOptions.from(Iterable<CallOptions> options) - added:
ctor GrpcError.aborted([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.alreadyExists([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.cancelled([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.custom(this.code, [this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.dataLoss([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.deadlineExceeded([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.failedPrecondition([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.internal([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.invalidArgument([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.notFound([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.ok([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.outOfRange([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.permissionDenied([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.resourceExhausted([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unauthenticated([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unavailable([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unimplemented([this.message, this.details, this.rawResponse]) - added:
ctor GrpcError.unknown([this.message, this.details, this.rawResponse]) - added:
ctor GrpcWebClientChannel.xhr(this.uri) - added:
ctor JwtServiceAccountAuthenticator(String serviceAccountJson) - added:
ctor ResponseFuture(this._call) - added:
ctor ResponseStream(this._call) - added:
ctor WebCallOptions( {Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers, bool bypassCorsPreflight, bool withCredentials}) - added:
field CallOptions.compression: final Codec - added:
field CallOptions.metadata: final Map<String, String> - added:
field CallOptions.metadataProviders: final List<MetadataProvider> - added:
field CallOptions.timeout: final Duration - added:
field GrpcError.code: final int - added:
field GrpcError.codeName: final String - added:
field GrpcError.details: final List<GeneratedMessage> - added:
field GrpcError.message: final String - added:
field GrpcError.rawResponse: final Object - added:
field GrpcWebClientChannel.uri: final Uri - added:
field WebCallOptions.bypassCorsPreflight: final bool - added:
field WebCallOptions.withCredentials: final bool - added:
get GrpcError.hashCode: int - added:
get JwtServiceAccountAuthenticator.projectId: String - added:
get Response.headers: Future<Map<String, String>> - added:
get Response.trailers: Future<Map<String, String>> - added:
get ResponseStream.single: ResponseFuture<R> - added:
method CallOptions.mergedWith(CallOptions other): CallOptions - added:
method GrpcError.operator ==(other): bool - added:
method GrpcError.toString(): String - added:
method GrpcWebClientChannel.createConnection(): ClientConnection - added:
method HttpBasedAuthenticator.obtainAccessCredentials(String uri): Future<void> - added:
method HttpBasedAuthenticator.obtainCredentialsWithClient( http.Client client, String uri): Future<auth.AccessCredentials> - added:
method JwtServiceAccountAuthenticator.obtainAccessCredentials(String uri): Future<void> - added:
method Response.cancel(): Future<void> - added:
method WebCallOptions.mergedWith(CallOptions other): CallOptions - added:
static field StatusCode.aborted: const - added:
static field StatusCode.alreadyExists: const - added:
static field StatusCode.cancelled: const - added:
static field StatusCode.dataLoss: const - added:
static field StatusCode.deadlineExceeded: const - added:
static field StatusCode.failedPrecondition: const - added:
static field StatusCode.internal: const - added:
static field StatusCode.invalidArgument: const - added:
static field StatusCode.notFound: const - added:
static field StatusCode.ok: const - added:
static field StatusCode.outOfRange: const - added:
static field StatusCode.permissionDenied: const - added:
static field StatusCode.resourceExhausted: const - added:
static field StatusCode.unauthenticated: const - added:
static field StatusCode.unavailable: const - added:
static field StatusCode.unimplemented: const - added:
static field StatusCode.unknown: const - added:
typedef FutureOr<void> MetadataProvider( Map<String, String> metadata, String uri) - added:
variable isTimelineLoggingEnabled: bool
- removed:
class Server - removed:
ctor ClientChannel(this.host, {this.port = …, this.options = …}) - removed:
ctor Server(List<Service> services, [List<Interceptor> interceptors = …]) - removed:
field ClientChannel.host: final String - removed:
field ClientChannel.options: final ChannelOptions - removed:
field ClientChannel.port: final int - removed:
get Server.port: int - removed:
method ClientChannel.getConnection(): Future<ClientConnection> - removed:
method Server.lookupService(String service): Service - removed:
method Server.serve( {dynamic address, int port, ServerTlsCredentials security}): Future<void> - removed:
method Server.serveStream(ServerTransportStream stream): void - removed:
method Server.serveStream_(ServerTransportStream stream): ServerHandler_ - removed:
method Server.shutdown(): Future<void> - changed:
class ClientChannel → class ClientChannel: abstract - changed:
ctor CallOptions( {Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers}) → ctor CallOptions({ Map<String, String> metadata, Duration timeout, List<MetadataProvider> providers, Codec compression, }) - changed:
ctor Client(this._channel, {CallOptions options}) → ctor Client(this._channel, {CallOptions options, Iterable<ClientInterceptor> interceptors}) - added:
class ClientInterceptor: abstract - added:
field CallOptions.compression: final Codec - added:
get ResponseStream.single: ResponseFuture<R> - added:
method Client.$createStreamingCall<Q, R>( ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions options}): ResponseStream<R> - added:
method Client.$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions options}): ResponseFuture<R> - added:
method ClientInterceptor.interceptStreaming<Q, R>( ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options, ClientStreamingInvoker<Q, R> invoker): ResponseStream<R> - added:
method ClientInterceptor.interceptUnary<Q, R>(ClientMethod<Q, R> method, Q request, CallOptions options, ClientUnaryInvoker<Q, R> invoker): ResponseFuture<R> - added:
typedef ClientStreamingInvoker<Q, R> = ResponseStream<R> Function( ClientMethod method, Stream<Q> requests, CallOptions options) - added:
typedef ClientUnaryInvoker<Q, R> = ResponseFuture<R> Function( ClientMethod method, Q request, CallOptions options) - added:
typedef FutureOr<void> MetadataProvider( Map<String, String> metadata, String uri)