Sigurd Meldgaard
1213bc546b
Relax dependency on package:meta ( #227 )
2019-08-08 13:34:51 +02:00
Sigurd Meldgaard
3aeafa77cb
Improve error handling ( #204 )
...
* Improve error handling
1) Let GrpcError implement exception
As the user is (usually) expected to catch these they should implement
Exception.
There is a bigger clean-up in splitting off the GrpcError.internal as
that seems to be for invariant violations
2) Convert some thrown strings into exceptions.
2019-07-03 09:26:45 +02:00
Sigurd Meldgaard
9d2a469655
Provide scheme as part of audience ( #211 )
2019-06-28 15:24:59 +02:00
Sigurd Meldgaard
dcac905a13
Fix interop ( #207 )
...
* Fix computation of authority
2019-06-27 14:43:15 +02:00
Sigurd Meldgaard
054ac9de3c
Fix imports ( #199 )
2019-06-25 13:00:58 +02:00
Sigurd Meldgaard
91564ff7aa
grpc-web support ( #191 )
...
* grpc-web support
This commits merges the grpc-web branch into master.
It is based on work by https://github.com/fuzzybinary .
2019-06-17 13:31:07 +02:00
Brett Morgan
6c0f61aaf6
Updating for Protobuf 0.13 ( #190 )
2019-06-14 09:24:05 +02:00
Ivan
c65afe9ec0
Add userAgent for ChannelOptions ( #155 )
...
Add userAgent for ChannelOptions
2019-05-28 12:31:35 +02:00
Sigurd Meldgaard
56c77f84ae
bump_version ( #165 )
2019-04-03 15:15:01 +02:00
Sigurd Meldgaard
92731e1a71
Cancel `ServerHandler` when `ServerTransportConnection.incomingStreams` is closed ( #164 )
...
* Cancel ServerHandler when connection closes
2019-04-03 14:57:55 +02:00
Sigurd Meldgaard
d7ae930e7f
Revert "Support grpc-web" ( #159 )
...
This reverts commit d58659507c .
Development of grpc-web will continue on the branch
https://github.com/grpc/grpc-dart/tree/grpc-web until it is ready.
2019-03-18 13:46:50 +01:00
Jeff Ward
d58659507c
Support grpc-web
2019-03-15 12:51:06 +01:00
Sigurd Meldgaard
76159960e2
Add service_api.dart with platform independent exports ( #152 )
2019-01-24 13:44:59 +01:00
Ivan
d62009e9fb
Update dependencies(http2,mockito) ( #145 )
2019-01-22 13:08:25 +01:00
Michael Thomsen
ae9a7c7142
Graduate package to 1.0 stable ( #143 )
...
* Update README.md
* Update pubspec.yaml
* Update CHANGELOG.md
* Extend the package description
2018-12-17 15:49:14 +01:00
Sigurd Meldgaard
e0d0516c9c
Version bump to publish without stray files ( #142 )
2018-12-13 12:21:59 +01:00
Alexandre Ardhuin
921f4df0b9
don't throw on closing channel not open ( #128 )
...
Don't throw on closing channel not open
2018-11-12 14:54:11 +01:00
Sigurd Meldgaard
c252ada1a5
Don't rely on package:test internals ( #136 )
2018-11-05 15:39:51 +01:00
Sigurd Meldgaard
175910c58a
Update dependencies ( #127 )
2018-10-24 12:49:33 +02:00
Alexandre Ardhuin
3e3ba6682f
allows async interceptors ( #120 )
...
* allows async interceptors
* prevent chunks to come before starting streaming request
2018-09-18 08:17:39 +02:00
Sigurd Meldgaard
97e47bd3e7
Version bump ( #118 )
2018-09-07 10:27:05 +02:00
Alexandre Ardhuin
1051232d17
bump versions for dart 2 ( #117 )
2018-09-07 10:09:52 +02:00
Sigurd Meldgaard
561f8fe716
Make Status codes `static const` instead of `static final`. ( #104 )
...
Make Status codes `static const` instead of `static final`.
This enables using the codes in switch statements and default values.
2018-08-06 13:47:45 +02:00
Sigurd Meldgaard
17ce11f7fc
Allow for non ascii headers ( #103 )
2018-07-19 15:46:23 +02:00
Bob Nystrom
238fd7ec67
Finish migrating to the Dart 2 core library constants. ( #101 )
2018-07-19 15:16:58 +02:00
Michael Thomsen
c32a9e97be
Use new Dart 2 APIs ( #99 )
...
* Upgrade to Dart 2 APIs
* Run dartfmt
* Update CHANGELOG.md
* Update pubspec.yaml
2018-07-13 12:57:18 +02:00
Michael Thomsen
72aac2adbe
Declare Dart 2.0 compatability ( #98 )
...
* Widen Dart SDK constraint to support Dart 2.0 stable
* Update CHANGELOG.md
2018-07-12 11:28:46 +02:00
German Saprykin
847a3625e1
Added interceptors. ( #86 )
...
* Add draft implementation of interceptors.
* Fix review comment.
* Revert example files.
* Revert interop files.
* Revert interop files.
* Format.
* Fix typos.
2018-07-09 16:57:07 +02:00
Sigurd Meldgaard
694332921a
Update test dependencies ( #92 )
...
* Update test dependencies
* Revert "Update test dependencies"
This reverts commit 86a6ae2dad .
* Update test dependencies
* Fix use of mockito when
* NOP
* Revert "NOP"
This reverts commit dec6a5a57a .
* Upgrade mockito
* Increase SDK dependency
* Increase deleay to trigger timeout
* Reintroduce include
* Relax sdk version constraint
2018-07-09 16:44:12 +02:00
Jakob Andersen
8a397d8c86
Prepare release 0.4.1 ( #80 )
2018-04-05 10:14:10 +02:00
Jakob Andersen
db484e154e
Prepare release 0.4.0 ( #65 )
2018-03-19 11:32:05 +01:00
Jakob Andersen
00bab79945
Widen version constraint for async. ( #64 )
...
Fixes #63 .
2018-03-16 11:31:09 +01:00
Jakob Roland Andersen
f6126c5325
Add direct dependency on package:http.
2018-02-27 10:21:39 +01:00
Jakob Roland Andersen
26cb308d36
Release 0.3.1
2018-02-27 10:15:15 +01:00
Jakob Andersen
7621132097
Authenticated cloud-to-prod interop tests. ( #55 )
...
Added authentication provider classes, and wired up the auth interop
tests.
Refactored connection logic to throw initial connection errors early.
Fixes #53
2018-02-05 23:17:16 +01:00
Jakob Andersen
eb5b80504d
Dart 2.0 fixes. ( #48 )
...
Updated generated code in examples using latest protoc compiler plugin.
Fixed uses-dynamic-as-bottom issues.
2018-01-12 15:20:03 +01:00
Jakob Andersen
b38b1cc7a2
Reorganize code for 0.2.0 release. ( #41 )
...
Split the large client/server.dart files into smaller pieces. This is in
preparation for splitting the HTTP/2 dependencies into a separate file
and make it easier to implement other transports.
2017-12-15 09:30:56 +01:00
Jakob Andersen
108181c2d2
Added support for metadata providers. ( #39 )
...
Provide a hook for metadata providers that need to generate their
metadata for each RPC. An example is authorization, where the provider
may need to refresh a token before it can provide the header.
Add stackdriver logging examplei to demonstrate calling a Google API.
Updated other examples to protobuf 0.6.0 (protoc plugin 0.7.8).
Updated SDK requirement to Dart 1.24.3, which adds support for creating a SecurityContext that trusts built-in roots, and support for ALPN on macOS.
2017-12-14 14:32:06 +01:00
Jakob Andersen
b82384ee08
Prepare release 0.1.0. ( #35 )
2017-10-12 16:26:00 +02:00
Jakob Roland Andersen
1b997ada42
Update change log and pubspec for release 0.0.1.
...
Really only released to reserve the name on pub.
2017-07-18 15:23:06 +02:00
Jakob Andersen
1d12c5b87d
Add basic server tests. ( #27 )
2017-07-18 15:14:13 +02:00
Jakob Andersen
ac317e6e4d
Add basic client tests. ( #26 )
2017-07-17 15:11:45 +02:00
Jakob Andersen
aefc45cbc0
Upgrade package:http2 dependency. ( #21 )
...
Picks up fix for sending endStream bit on the requested frame, instead
of on an empty data frame following it.
Needed for interoperability with the Go gRPC client, since it otherwise
failed to recognize the trailer frame sent from the server.
Fixes #13 .
2017-07-06 11:37:21 +02:00
Jakob Andersen
bf8fb94353
Initial import. ( #2 )
...
What works:
* Client and server can talk to each other, all 4 RPC variants.
* Client can talk to Go gRPC server.
What (probably) doesn't work:
* Anything else.
2017-06-28 14:53:42 +02:00