Vyacheslav Egorov
4775078b8c
Fix interop tests ( #513 )
2021-08-10 11:15:39 +02:00
Vyacheslav Egorov
e9ad5ab16b
Fix CI
...
* Reformat code with dev build of dartfmt
* Download envoy package manually
2021-08-10 11:04:11 +02:00
Alexander Bosak
c982597fae
useTestCA argument checking fix ( #495 )
2021-07-01 14:06:25 +02:00
Alexander
6d9bb1057a
Fix interop/bin/server.dart after NNBD migration ( #494 )
2021-06-30 14:24:45 +02:00
Bálint Böde
f5508d9801
Fix a typo on the inner invoker parameters ( #492 )
2021-06-29 23:56:12 +02:00
Tyler Gaw
f23070ee85
grpc_or_grpcweb.dart: exporting shared types #486 ( #487 )
2021-06-13 08:24:28 +02:00
Piotr Morgwai Kotarbinski
d4504dacf1
GrpcOrGrpcWeb: provide more flexible constructors ( #484 ) ( #485 )
2021-06-08 11:14:57 +02:00
Piotr Morgwai Kotarbinski
7c8fca7195
GrpcOrGrpcWeb: remove checking if ports are different ( #482 ) ( #483 )
...
* GrpcOrGrpcWeb: remove checking if ports are different (#482 )
Using the same port is a standard for AspNetCore gRPC server.
* improve source docs
2021-06-03 12:56:02 +02:00
Piotr Morgwai Kotarbinski
e88b84a993
Add GrpcOrGrpcWebClientChannel ( #457 ) ( #479 )
2021-06-02 12:25:23 +02:00
EPNW
b272632450
Make clientCertificate available in ServiceCall ( #472 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-05-11 13:35:36 +02:00
Vyacheslav Egorov
2f5ef8c663
Fix directives_ordering lint ( #473 )
2021-05-03 17:00:44 +02:00
Kevin Moore
9a4493f934
Update dependencies ( #471 )
2021-04-22 14:28:30 -07:00
Daniel Brauner
6c16fceb2a
Be more resilient to broken deployments ( #460 )
...
Require 200 HTTP status and a supported Content-Type
header to be present in a response.
When handling malformed responses make effort
to translate HTTP statuses into gRPC statuses as
gRPC protocol specification recommends.
Fixes #421
Fixes #458
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-03-22 17:22:32 +01:00
Kevin Moore
fb0c27a78a
Require latest googleapis_auth to avoid deprecated API usage ( #455 )
2021-03-08 14:32:55 -08:00
Kevin Moore
ee0e7ec351
Avoid completing multiplet times for one error ( #454 )
...
Also:
* updated SDK constraint to stable
* Use latest Dart action install
* Test on oldest supported SDK
2021-03-08 09:55:59 -08:00
Kevin Moore
def1a19339
Prepare for stable v3 release ( #452 )
2021-02-11 15:36:03 -08:00
Sam Rawlins
7e8952c352
Bump mockito to breaking change with fixes ( #450 )
2021-02-04 09:42:29 +01:00
Ji Li
eedc9acdc8
Make status code name as a getter to sync with internal impl ( #439 )
2021-02-02 12:13:54 -08:00
Kevin Moore
afea2e71d8
fix spelling of repository, add missing dev_dependency on pkg:path ( #449 )
2021-02-01 20:43:22 +01:00
Kevin Moore
97b8e47224
Move to published, null-safey packages ( #441 )
...
* Move to published, null-safey packages
Also updated homepage -> repository
* unblocked to publish grpc!
2021-02-01 19:53:21 +01:00
Ivan Inozemtsev
d7dc79971e
Update interop to null-safe grpc-dart ( #448 )
...
Also replace dependency_overrides with published versions
2021-02-01 15:38:31 +01:00
Kevin Moore
b437d1089d
Update example pubspecs ( #442 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-02-01 09:18:39 +01:00
Kevin Moore
1327ad7416
Spelling fixes ( #443 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-02-01 09:16:10 +01:00
Kevin Moore
32fbc03c63
Enable and fix pedantic v1.9 lints ( #445 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-02-01 09:12:26 +01:00
Kevin Moore
cbec527ba7
Fix grpc-web example, update documentation ( #446 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-02-01 09:04:30 +01:00
Kevin Moore
b8adf24ec4
Regenerate proto code with latest generator ( #444 )
2021-02-01 09:03:11 +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
17c0d37ae5
Proper NPE fix ( #436 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-01-28 13:10:58 +01:00
Ji Li
2584a5e536
Add XHR raw response to the GrpcError for a better debugging ( #423 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-01-28 12:33:41 +01:00
Ankur Jain
0eb331f157
Fix potential NPE ( #435 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2021-01-27 23:51:24 +01:00
Ankur Jain
b2f1f697be
Export codecRegistry for connection interface. ( #434 )
2021-01-27 23:50:21 +01:00
Michael Thomsen
f28a9d9d6d
Create SECURITY.md ( #433 )
2021-01-26 14:56:10 +01:00
Vyacheslav Egorov
fbcb426f21
Make sure that grpc_web.dart builds on the Web ( #427 )
...
c48af63
accidentally introduced a dependency on VM specific libraries in the shared code
Fix envoy configuration to make sure grpcweb tests runs
2021-01-22 15:35:21 +01:00
Luis Alejandro Herrera León
93c21feb56
Prevent an exception to be thrown when a web connection stream is closed ( #414 )
2020-12-20 23:05:59 +01:00
Vyacheslav Egorov
ed960c26c6
Avoid deprecated List() constructor. ( #415 )
...
Enable prefer_collection_literals lint.
2020-12-17 10:50:45 +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
Kevin Moore
e51c5a3d5d
Add weekly cron to GitHub workflow ( #407 )
...
Make sure we keep working as we roll new dev releases
2020-12-03 20:25:27 +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
f1c475603f
Cleanups ( #398 )
...
* Regenerate protobuf files using newest protoc plugin
* Fix lints everywhere
* Remove visibleForTesting from profile.dart
2020-11-12 11:36:59 +01:00
Vyacheslav Egorov
e634f9749f
Fix for duplicate headers ( #397 )
2020-11-12 09:51:57 +01:00
Ben Konyi
b8197a5897
Add timeline logging to grpc client ( #392 )
...
Co-authored-by: Zichang Guo <zichangguo@google.com>
2020-11-11 15:51:16 +01:00
Zbigniew Mandziejewicz
8b71a9dab2
Ensure CallOptions merge preserves Web specific options
2020-11-11 15:49:39 +01:00
Lei Liu
52bea07000
Add support for unix domain sockets ( #327 )
...
Fixes #299
2020-11-11 15:43:05 +01:00
Michael Thomsen
5b3a125914
Fix badge in readme ( #391 )
2020-11-04 09:38:16 +01:00
Vyacheslav Egorov
1ea269916d
Remove Travis ( #393 )
2020-11-04 08:39:40 +01:00
Vyacheslav Egorov
4d55137ef4
Enable Web tests and make sure to install right channel ( #390 )
2020-11-04 08:33:18 +01:00
Michael Thomsen
3a1c57530f
Update README.md ( #388 )
2020-11-03 23:09:17 +01:00
Michael Thomsen
0c4d83ab7a
Update dart.yml: Add matrix for 'analyze' job ( #389 )
2020-11-03 23:08:06 +01:00