Commit Graph

305 Commits

Author SHA1 Message Date
Kevin Moore 5ba3745779
Allow the latest pkg:googleapis_auth (#775)
Closes https://github.com/grpc/grpc-dart/pull/772
2025-04-01 13:05:09 -07:00
dependabot[bot] aa915bf15b
Bump dart-lang/setup-dart from 1.7.0 to 1.7.1 (#761)
Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/dart-lang/setup-dart/releases)
- [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md)
- [Commits](e630b99d28...e51d8e571e)

---
updated-dependencies:
- dependency-name: dart-lang/setup-dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 14:45:14 -07:00
Slava Egorov 9a0b4642ef
Allow 4.0.0 version for protobuf dependency and prepare to release 4.0.3 (#774)
Fixes https://github.com/grpc/grpc-dart/issues/768
2025-03-31 15:42:24 +02:00
Moritz f077328341
Fix web and prepare to publish 4.0.2 2025-03-31 10:22:25 +02:00
Aran Donohue ebc838b66d
fix: update grpc_web_server.dart envoy config to support newer envoy version (#760)
Co-authored-by: Moritz <mosum@google.com>
2025-02-21 14:18:14 +01:00
Aran Donohue 6dfb4b43f3
fix: Updates the grpc-web example to avoid dart:html (#748)
* update: Migrate off legacy JS/HTML apis

* update: use dart.library.js_interop in place of dart.library.html

* update: dart format xhr_transport.dart and update dart sdk to v3.4.0 in workflows

* update: use if instead of switch case in xhr_transport.dart

* update: upgrade web package to v1.1.0

* refactor: use Uint8List for sending data over XHR rather than Int8List

* refactor: eta-reduction of call to request.setRequestHeader

* Convert grpc-web example to package:web

---------

Co-authored-by: minoic <minoic2020@gmail.com>
Co-authored-by: Moritz <mosum@google.com>
2025-02-21 14:11:03 +01:00
Aran Donohue 5ba28e3a1c
fix: Use package:web to get HttpStatus (#749)
* Use package:web to get HttpStatus

* docs: add CHANGELOG.md entry

---------

Co-authored-by: Moritz <mosum@google.com>
2025-02-21 10:29:12 +01:00
Aran Donohue 840661415d
Fix: Migrate off legacy JS/HTML APIs (#750)
* update: Migrate off legacy JS/HTML apis

* update: use dart.library.js_interop in place of dart.library.html

* update: dart format xhr_transport.dart and update dart sdk to v3.4.0 in workflows

* update: use if instead of switch case in xhr_transport.dart

* update: upgrade web package to v1.1.0

* refactor: use Uint8List for sending data over XHR rather than Int8List

* refactor: eta-reduction of call to request.setRequestHeader

* Update client_xhr_transport_test to avoid dart:html, updating xhr_transport to support testability

* fixup tests

---------

Co-authored-by: minoic <minoic2020@gmail.com>
Co-authored-by: Moritz <mosum@google.com>
2025-02-18 10:13:50 +01:00
Devon Carew 7f9042f79e
various analysis updates (#755)
* various analysis updates

* misc updates

* remove unintentional dartdoc comment

* Update CONTRIBUTING.md

Co-authored-by: Moritz <moritz@suemmermann.de>

* add ignore comments for use of deprecated apis

---------

Co-authored-by: Moritz <moritz@suemmermann.de>
2025-01-30 08:41:34 +01:00
dependabot[bot] 9a9c01752c
Bump vm_service from 14.3.1 to 15.0.0 (#751)
Bumps [vm_service](https://github.com/dart-lang/sdk/tree/main/pkg) from 14.3.1 to 15.0.0.
- [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/sdk/commits/HEAD/pkg)

---
updated-dependencies:
- dependency-name: vm_service
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz <mosum@google.com>
2024-12-17 09:58:22 +01:00
Moritz 3e94fecd14
Update health.yaml (#753)
* Update health.yaml

* Upgrade example

* Fixes

* try different syntax

* without endings

* test new wf

* new version

* Works, use main now

* Add changelog
2024-12-17 09:53:02 +01:00
dependabot[bot] 6676c20df2
Bump dart-lang/setup-dart from 1.6.5 to 1.7.0 (#746) 2024-12-16 13:37:35 +00:00
dependabot[bot] f61b9a3b37
Bump actions/checkout from 4.2.0 to 4.2.2 (#744) 2024-11-04 10:45:05 +00:00
dependabot[bot] c0630106a9
Bump actions/checkout from 4.1.7 to 4.2.0 (#741) 2024-10-01 08:51:16 +00:00
Moritz 04ba68eb91
Rev package:lints (#740)
* Rev package:lints

* Add changelog

* Run CI on 3.5.0

* Test with 3.2.0

* Update .github/workflows/dart.yml

Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>

* Update .github/workflows/dart.yml

Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>

---------

Co-authored-by: Kevin Moore <kevmoo@users.noreply.github.com>
2024-10-01 10:46:38 +02:00
Kevin Moore f8bbdce629
ignore unreachable_switch_default in weird switch case (#737) 2024-09-24 12:07:42 -07:00
steffenhaak 071ebc5f31
fix: keep alive timeout finishes transport instead of connection shutdown (#722)
* fix: keep alive timeout finishes transport instead of shutting down channel

* Update keepalive_test.dart

* Update CHANGELOG.md

---------

Co-authored-by: Moritz <mosum@google.com>
2024-09-06 17:13:11 +02:00
Moritz 81776333d9
Small fixes (#732)
* Small fixes

* Revert changes on file

* Add changelog

* Small fixes in keepalive test

* Add delay

* Fix symbol visibilty

* Add try catch for debugging

* Fail

* fail

* Use for loop
2024-09-06 15:09:54 +02:00
Lasse R.H. Nielsen 38ca626e0a
Use `Map.of` instead of `Map.from` in grpc client. (#724)
* Use `Map.of` instead of `Map.from` in grpc client.

`Map.of` creates a new map with the same keys, values and *type*
as the original map, when used without type arguments or context type,
where `Map.from` creates a `Map<dynamic, dynamic>`.
(This code failed on an attempt to make `Map.unmodifiable` be more
strictly typed, like `Map.of` instead of `Map.from`, showing that
an intermediate map had type `Map<dynamic, dynamic>` unnecessarily).

Same for using `List.of` instead of `List.from`.

The new code should be (microscopically) more efficient and type safe,
and is forwards-compatible with a stronger type on `Map.unmodifiable`.

(The code can be optimized more. For example
`List.of(list1)..addAll(list2)` can be just `list1 + list2` or
`[...list1, ...list2]`, both of which may know the total number
of elements when doing the initial list allocation.
This is a minimal change to allow the type changes for `.unmodifiable`
to get past this very initial blocker in internal tests.)

* Add changelog and minor version increment.

And my save removes trailing spaces.
2024-09-02 16:58:43 +02:00
c-lucera-pvotal 4f6fe9b111
fix: fix headers not completing when call is terminated (#728)
Fixes #727
2024-08-28 08:18:15 +02:00
Kevin Moore c18e185bb0
Fix status badge (#726) 2024-07-24 14:24:57 -07:00
Galen Warren b999b64502
feat: fix hang that occurs when hot restarting (#718) 2024-07-17 14:11:29 +02:00
dependabot[bot] bf8bbde34c
Bump dart-lang/setup-dart from 1.6.4 to 1.6.5 (#720) 2024-07-01 11:56:47 +00:00
dependabot[bot] 4aa4c8cb8d
Bump actions/checkout from 4.1.6 to 4.1.7 (#719) 2024-07-01 11:52:08 +00:00
Kevin Moore dee1b2b43b Update pubspec.yaml 2024-05-30 00:27:50 +00:00
Kevin Moore 52023d404e code fixes 2024-05-30 00:27:50 +00:00
dependabot[bot] ebb7368fa4 Bump lints from 3.0.0 to 4.0.0
Bumps [lints](https://github.com/dart-lang/lints) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/dart-lang/lints/releases)
- [Changelog](https://github.com/dart-lang/lints/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/lints/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: lints
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 00:27:50 +00:00
dependabot[bot] 4e65d4b795 ---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 06:54:01 +00:00
dependabot[bot] 14954537f6 Bump dart-lang/setup-dart from 1.6.2 to 1.6.4
Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.2 to 1.6.4.
- [Release notes](https://github.com/dart-lang/setup-dart/releases)
- [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md)
- [Commits](fedb1266e9...f0ead981b4)

---
updated-dependencies:
- dependency-name: dart-lang/setup-dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 11:05:02 +00:00
Sarah Zakarias 6586b74969
Add `topics` to `pubspec.yaml` (#712) 2024-05-21 12:30:20 +02:00
Moritz 9f65399e28
Move `codec.dart` to former place (#713) 2024-05-17 14:53:33 +02:00
Moritz 0d02e4386f
Remove dependency on `package:archive` (#707)
* Remove dependency on package:archive

* Test compression on vm only

* Add licenses

* Fix analyze issues

* Fix codec web

* Fix licenses

* Add changelog
2024-05-06 15:25:06 +02:00
Moritz 078fd23bca
Remove generated `StatusCode` (#703)
* Remove generated `StatusCode`

* Rev version for breaking change

* Upgrade min sdk version

* Fix issues
2024-04-25 13:45:40 +02:00
Ruben Garcia bdbe5f5003
Fix issue 669 (#693)
* Fix issue 669

* Update CHANGELOG.md

* Update CHANGELOG.md

* Fix dart format issue.
Fix prefer single quote issue.

* Update pubspec and changelog to avoid merge check
publish / validate
validate packages

* Add test for GRPC Compression Flag

* Fix dart analyze issues.

* Fix latest dart analyze issue (uninizialized variable)
2024-04-22 16:09:18 +02:00
Moritz bb8b6e5950
Make protobuf generated imports absolute (#696)
* Make protobuf generated imports absolute

* Stop test for now
2024-04-19 11:05:59 +02:00
Moritz b05fafe77c
Add Health workflow (#699)
* Add Health workflow

* Remove license check
2024-04-15 13:43:26 +02:00
Abdul Momin aece2a4e3f
Typo Correction in README.md (#695)
Corrected typo "RPs" to "RPCs". To avoid confusion.
2024-04-15 09:53:00 +02:00
dependabot[bot] 4a043fa236 Bump dart-lang/setup-dart from 1.6.0 to 1.6.2
Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/dart-lang/setup-dart/releases)
- [Changelog](https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md)
- [Commits](b64355ae6c...fedb1266e9)

---
updated-dependencies:
- dependency-name: dart-lang/setup-dart
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 08:16:55 +00:00
dependabot[bot] e54366e1e4
Bump vm_service from 13.0.0 to 14.0.0 (#684)
Bumps [vm_service](https://github.com/dart-lang/sdk/tree/main/pkg) from 13.0.0 to 14.0.0.
- [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/sdk/commits/HEAD/pkg)

---
updated-dependencies:
- dependency-name: vm_service
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 13:35:32 +01:00
dependabot[bot] d1e6c8ce11
Bump vm_service from 12.0.0 to 13.0.0 (#678) 2023-11-24 13:12:19 +00:00
dependabot[bot] f6ca15b599
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#680) 2023-11-24 13:04:03 +00:00
dependabot[bot] 9781c57262
Bump actions/checkout from 4.1.0 to 4.1.1 (#679)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 11:39:10 -07:00
dependabot[bot] b7f9115b98
Bump lints from 2.1.1 to 3.0.0 (#675) 2023-10-23 08:44:11 +00:00
dependabot[bot] e24550ae32
Bump vm_service from 11.10.0 to 12.0.0 (#673) 2023-10-19 14:37:48 +00:00
dependabot[bot] 6a92a47115
Bump actions/checkout from 3.6.0 to 4.1.0 (#671) 2023-10-02 08:57:55 +00:00
dependabot[bot] 5e2fb6a30a
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (#672) 2023-10-02 08:47:03 +00:00
Moritz c1fa94951a
Fix regression on fetching the remote address of a closed socket. (#664)
* Fix regression on fetching the remote address of a closed socket

* Changes as per review

* Add changelog entry

* Rev version for publish
2023-09-08 17:41:32 +02:00
dependabot[bot] dae290cc5a
Bump actions/checkout from 3.5.3 to 3.6.0 (#663) 2023-09-06 14:39:35 +00:00
Moritz cba40da0d8
Fix imports in `http2_connection.dart` (#662)
* Fix imports in `http2_connection.dart`

* Export `Proxy`

* dart fix

* Add documentation comment

* Add licenses
2023-08-24 11:50:01 +02:00
Moritz 3f05c37367
Remove canceled streams (#661)
* Remove canceled streams

* Inline variabel

* Add changelog

* Add test

* Add description to test

* More messages for less flakiness
2023-08-24 10:42:21 +02:00