Nate Bosch
e8893cd08a
Extend StreamView over DelegatingStream ( #619 )
...
The `StreamView` class from the SDK provides all the worthwhile behavior
of `DelegatingStream` and the latter may soon be deprecated.
2023-04-19 09:55:56 -07:00
dependabot[bot]
20bad4c410
Bump actions/checkout from 3.3.0 to 3.5.0 ( #615 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](ac59398561...8f4b7f8486 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 10:04:30 -07:00
dependabot[bot]
d8adea21fb
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 ( #616 )
...
Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/dart-lang/setup-dart/releases )
- [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md )
- [Commits](a57a6c04cf...d6a63dab33 )
---
updated-dependencies:
- dependency-name: dart-lang/setup-dart
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 09:56:51 -07:00
dependabot[bot]
eb833d3f1c
Bump dart-lang/setup-dart from 1.3.0 to 1.4.0 ( #608 )
...
Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/dart-lang/setup-dart/releases )
- [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md )
- [Commits](6a218f2413...a57a6c04cf )
---
updated-dependencies:
- dependency-name: dart-lang/setup-dart
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 22:34:40 -08:00
dependabot[bot]
b757b80769
Bump actions/checkout from 3.2.0 to 3.3.0 ( #603 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](755da8c3cf...ac59398561 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>
2023-02-03 13:49:32 -08:00
Brett Morgan
3f223823ea
Add `pub` updates to `dependabot` ( #602 )
2023-02-01 19:21:57 +11:00
Kevin Moore
375d1f3e75
examples/grpc-web: support latest build_web_compilers ( #601 )
2023-01-30 13:49:28 -08:00
nghialv
d4d0f80d02
Fix wrong command in readme of example ( #600 )
2023-01-20 10:36:57 +01:00
dependabot[bot]
867d1173fa
Bump actions/checkout from 3.1.0 to 3.2.0 ( #598 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](93ea575cb5...755da8c3cf )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 14:46:13 -08:00
Vyacheslav Egorov
26deabdfd2
Revert "Remove or skip callbacks on old connections" ( #593 )
2022-12-13 21:40:09 +01:00
Ben Getsug
d0e3a4c706
Expose client IP address to server ( #590 )
2022-12-13 09:12:28 +01:00
Jakob Borg
4dc6e2b252
Remove or skip callbacks on old connections ( #522 )
...
Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
Fixes https://github.com/grpc/grpc-dart/issues/521
2022-12-12 10:43:16 +01:00
MattyBoy
60311a7492
Added ability to set connectTimeout of socket ( #575 )
2022-12-12 09:54:23 +01:00
Ben Getsug
6c0829ed8b
Custom Error Handling for Server ( #588 )
...
Closes https://github.com/grpc/grpc-dart/issues/51
2022-12-01 11:29:57 +01:00
Kevin Moore
dbf5421eb6
Cleanup: update to and use latest pkg:lints with associated fixes ( #587 )
...
Bump min Dart SDK for grpc to 2.17
Regenerate all code
Fix generate scripts
Add dependabot
2022-10-31 11:47:31 -07:00
Vyacheslav Egorov
19ba902d7e
Add false_secrets to pubspec.yaml ( #586 )
2022-10-27 15:02:22 +02:00
Vyacheslav Egorov
e97711aece
Prepare 3.1.0 release ( #585 )
2022-10-27 13:55:39 +02:00
Vyacheslav Egorov
27a235976a
Change default authority for UDS connections. ( #577 )
...
We were using path to the UDS socket itself, which is incorrect `:authority` value.
This was tripping checks in some HTTP2 protocol implementations.
Instead default `:authority` to `localhost`, which in line with other gRPC implementations.
Fixes #576
2022-09-08 14:41:34 +02:00
Rui Craveiro
b8f872a3dc
Send trailers included on GrpcError object ( #538 )
2022-08-23 12:40:03 +02:00
Cobinja
af965f15f7
Expose onConnectionStateChanged for channels ( #565 )
...
Co-authored-by: Vyacheslav Egorov <vegorov@google.com>
2022-08-15 15:03:51 +02:00
Alexander Aprelev
94b71a3e1c
Ensure server's security context is used for the server. ( #547 )
2022-04-27 13:03:08 +02:00
Brett Morgan
7e2c2665cf
Migrate examples to Dart null safety ( #536 )
2022-01-04 10:05:22 +10:00
Kevin Moore
151fa904b4
Remove unnecessary imports and superfluous type checks ( #525 )
2021-10-05 08:39:00 -07:00
Kevin Moore
276fd5a70f
Fix web build by using build_runner directly ( #523 )
2021-09-13 10:51:20 -07:00
Vyacheslav Egorov
7cced9282a
Fix compilation with DDC ( #516 )
...
b272632450 exposed client certificate through
`X509Certificate? get clientCertificate;` getter on `ServiceCall` class. This broke
compilation of `grpc_web` code using DDC, but not dart2js. Turns out that dart2js is
happy to compile any code using `dart:io` (though the result will not run if you try
to use any of those APIs), but DDC rejects such code eagerly. `package:test` runs
tests through `dart2js` so DDC breakage was not really caught by CI.
Unfortunately this discrepancy between DDC and dart2js puts us in some really weird
spot: most of our tests are platform independent, but most of those tests also
pull in `dart:io` through transitive dependencies.
This commit is the most minimal change we could make to allow the code compile both
on the Web and natively.
A proper fix should be to go through tests one-by-one and make sure that those that
need to run on the Web don't import `dart:io`, but we don't have time to do that
right now.
This commit also adds a smoke test to the CI to verify that `grpc_web` example
builds with DDC.
2021-08-16 14:52:36 +02:00
Vyacheslav Egorov
c2fb47c8a4
Prepare to release 3.0.1 ( #514 )
2021-08-10 12:03:14 +02:00
Kenneth Gulbrandsøy
acd2e93a25
Add custom trailers to GrpcError ( #493 )
2021-08-10 11:53:09 +02:00
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