Kevin Moore
1327ad7416
Spelling fixes ( #443 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-02-01 09:16:10 +01:00
Ivan Inozemtsev
1e1831a187
Migrate grpc to null safety ( #432 )
2021-01-29 12:40:52 +01:00
Vyacheslav Egorov
d3f0ec7f37
Release 2.9.0 ( #437 )
2021-01-28 13:19:14 +01:00
Ankur Jain
c48af638a5
Support message compression ( #409 )
...
* Added support for compression/decompression, which can be configured through
`ChannelOptions` constructor's `codecRegistry` parameter or adding the
`grpc-accept-encoding` to `metadata` parameter of `CallOptions` on the client
side and `codecRegistry` parameter to `Server` on the server side.
Outgoing rpc can be compressed using the `compression` parameter on the
`CallOptions`.
Closes #6
2020-12-11 09:52:24 +01:00
Vyacheslav Egorov
5b0e9429b8
Release 2.8.0 ( #399 )
2020-11-12 12:53:46 +01:00
Isaac Saldana
275cc544c9
Fix concurrent modification error in GrpcWebClientChannel.terminate
...
Fixes #331
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2020-11-12 12:52:04 +01:00
Vyacheslav Egorov
e634f9749f
Fix for duplicate headers ( #397 )
2020-11-12 09:51:57 +01:00
Lei Liu
52bea07000
Add support for unix domain sockets ( #327 )
...
Fixes #299
2020-11-11 15:43:05 +01:00
Vyacheslav Egorov
cb1c0ea8b3
Update pubspec.yaml, CHANGELOG.md and expand deprecation notice ( #378 )
...
* Opt grpc_web_server.dart out of NNBD.
2020-11-03 14:21:04 +01:00
Vyacheslav Egorov
0589503800
Bump SDK constraint and add dependency on fixnum ( #377 )
2020-10-30 12:04:57 +01:00
Andrew Coutts
b6e40c34e3
Add decoded grpc-status-details-bin details to GrpcError ( #349 )
...
Closes #209
2020-10-27 17:07:58 +01:00
Nic Hite
fa6b127dca
Create gRPC servers and clients with TransportConnections. ( #364 )
...
* Create gRPC servers and clients with TransportConnections.
* switch class ordering to put base class first.
2020-10-05 19:34:39 -07:00
Nic Hite
a657916168
Add client validation to server credentials ( #363 )
...
* Add ability to validate clients to server credentials.
2020-09-29 11:55:28 -07:00
Nic Hite
a774583de0
Beef up exception handling in gRPC code. ( #360 )
...
* Beef up exception handling in gRPC code.
* Verify default stacktrace isn't used in exceptions
2020-09-29 01:01:18 -07:00
Nic Hite
bb4eab0f1f
Add browser features to Dart gRPC-web for parity with JS implementation. ( #347 )
...
* Add bypassCorsPreflight capability to gRPC-web Dart.
* fix tests and run dartfmt.
* remove print statement
* dartfmt
* Update pubspec.
* Fix changelog.
* Fix tests
* final dartfmt
* Respond to requested changes.
* revert extra newline in changelog
Co-authored-by: Michael Thomsen <mit@google.com>
2020-09-24 21:52:35 -07:00
Vyacheslav Egorov
b70f069671
Prepare to publish 2.2.3 ( #355 )
2020-09-21 12:18:36 +02:00
Patrice Chalin
5891eb81bb
Relax crypto version constraint (for Flutter) ( #322 )
2020-08-04 10:19:36 +02:00
Patrice Chalin
3d9c8c760c
Fix typo in changelog: grpc-web.dart -> grpc_web.dart ( #323 )
2020-08-03 22:22:11 +02:00
Jonas Finnemann Jensen
449faa80ee
Added Application Default Credentials Support ( #315 )
...
* Application Default Credentials support
* Prepare a 2.2.0 release of grpc
* Update CHANGELOG.md
Co-authored-by: Sigurd Meldgaard <sigurdm@google.com>
Co-authored-by: Sigurd Meldgaard <sigurdm@google.com>
2020-06-11 14:18:30 +02:00
Sigurd Meldgaard
6061512afa
Grpc-web Handle empty trailers ( #247 )
...
* Grpc-web Handle empty trailers
2019-11-07 10:52:13 +01:00
Sigurd Meldgaard
588c21e542
Avoid sending headers as trailers twice ( #244 )
2019-10-24 09:35:28 +02:00
Sigurd Meldgaard
20352dd718
Use host without port as authority when making secure connection ( #238 )
2019-09-09 09:41:56 +02:00
Sigurd Meldgaard
b7be3af34b
Fix use of authority when making a secure connection
2019-08-22 14:26:29 +02:00
Sigurd Meldgaard
992e2dcc29
Improve connection handling ( #231 )
...
* Improve connection handling
* Address review. Add round-trip-test
2019-08-19 15:31:16 +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
Sigurd Meldgaard
c415d0f4e2
update changelog ( #183 )
2019-06-03 15:04:10 +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
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
Sigurd Meldgaard
f48144271c
Update CHANGELOG.md ( #151 )
2019-01-22 13:26:58 +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
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
Michael Thomsen
ee1b0f9141
Prepare 0.5.0 release ( #94 )
...
* Prepare 0.5.0 release
2018-07-10 14:45:22 +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