Commit Graph

327 Commits

Author SHA1 Message Date
Tsavo Knott 1502c97f13 Update analysis_options.yaml 2025-03-30 16:24:24 -04:00
Tsavo Knott 548c306318 Update to Protobuf ^4.0.0 2025-03-30 16:23:21 -04:00
Tsavo Knott 6dc48c5f70 Merge branch 'master' 2025-03-30 16:20:21 -04: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
Tsavo Knott 6b2e15c007
Merge pull request #4 from open-runtime/aot_monorepo_compat
Update AOT Monorepo Compat
2025-01-03 14:38:52 -05:00
Tsavo Knott 25fc12e45f Update Pubspec 2025-01-03 14:35:07 -05:00
Tsavo Knott 08851011f0 Merge branch 'true_upstream_mirror' into aot_monorepo_compat 2025-01-03 14:32:35 -05:00
Tsavo Knott 97f8aee043 Revert "Merge branch 'merge_upstream_main_into_aot_monorepo_compat'"
This reverts commit 8c497fae08, reversing
changes made to 00b634fde4.
2025-01-03 14:30:29 -05:00
Tsavo Knott 8c497fae08 Merge branch 'merge_upstream_main_into_aot_monorepo_compat' 2025-01-03 13:31:42 -05:00
Tsavo Knott d43fabefdc Deps & Triple Check Tests 2025-01-03 13:27:48 -05:00
Tsavo Knott c5339134b3 Squashed commit of the following:
commit 471a8b377b
Author: Tsavo Knott <tsavo@pieces.app>
Date:   Fri Jan 3 13:02:16 2025 -0500

    Clean Up CI

commit 16328209c2
Author: Tsavo Knott <tsavo@pieces.app>
Date:   Fri Jan 3 13:00:20 2025 -0500

    True Upstream Master

commit 1dddfe0c96
Merge: 774bf81 c9d6286
Author: Tsavo Knott <102485237+tsavo-at-pieces@users.noreply.github.com>
Date:   Fri Jan 3 12:32:24 2025 -0500

    Merge pull request #2 from open-runtime/update-from-upstream

    Update from Upstream Master

commit c9d628640c
Merge: 774bf81 9a9c017
Author: Tsavo Knott <tsavo@pieces.app>
Date:   Fri Jan 3 12:31:33 2025 -0500

    Merge branch 'upstream-master' into update-from-upstream

commit 774bf81c73
Merge: 4a043fa 00eabed
Author: Tsavo Knott <102485237+tsavo-at-pieces@users.noreply.github.com>
Date:   Fri Jan 3 12:13:44 2025 -0500

    Merge pull request #1 from open-runtime/aot_monorepo_compat

    Merging AOT Monorepo Compat into our Main Branch

commit 9a9c01752c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Dec 17 09:58:22 2024 +0100

    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>

commit 3e94fecd14
Author: Moritz <mosum@google.com>
Date:   Tue Dec 17 09:53:02 2024 +0100

    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

commit 6676c20df2
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 16 13:37:35 2024 +0000

    Bump dart-lang/setup-dart from 1.6.5 to 1.7.0 (#746)

commit f61b9a3b37
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Nov 4 10:45:05 2024 +0000

    Bump actions/checkout from 4.2.0 to 4.2.2 (#744)

commit c0630106a9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Oct 1 08:51:16 2024 +0000

    Bump actions/checkout from 4.1.7 to 4.2.0 (#741)

commit 04ba68eb91
Author: Moritz <mosum@google.com>
Date:   Tue Oct 1 04:46:38 2024 -0400

    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>

commit f8bbdce629
Author: Kevin Moore <kevmoo@users.noreply.github.com>
Date:   Tue Sep 24 12:07:42 2024 -0700

    ignore unreachable_switch_default in weird switch case (#737)

commit 071ebc5f31
Author: steffenhaak <haak@aucentiq.com>
Date:   Fri Sep 6 17:13:11 2024 +0200

    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>

commit 81776333d9
Author: Moritz <mosum@google.com>
Date:   Fri Sep 6 15:09:54 2024 +0200

    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

commit 38ca626e0a
Author: Lasse R.H. Nielsen <lrn@google.com>
Date:   Mon Sep 2 16:58:43 2024 +0200

    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.

commit 4f6fe9b111
Author: c-lucera-pvotal <91328643+c-lucera-pvotal@users.noreply.github.com>
Date:   Wed Aug 28 08:18:15 2024 +0200

    fix: fix headers not completing when call is terminated (#728)

    Fixes #727

commit c18e185bb0
Author: Kevin Moore <kevmoo@users.noreply.github.com>
Date:   Wed Jul 24 14:24:57 2024 -0700

    Fix status badge (#726)

commit b999b64502
Author: Galen Warren <galen@cvillewarrens.com>
Date:   Wed Jul 17 08:11:29 2024 -0400

    feat: fix hang that occurs when hot restarting (#718)

commit bf8bbde34c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 1 11:56:47 2024 +0000

    Bump dart-lang/setup-dart from 1.6.4 to 1.6.5 (#720)

commit 4aa4c8cb8d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 1 11:52:08 2024 +0000

    Bump actions/checkout from 4.1.6 to 4.1.7 (#719)

commit dee1b2b43b
Author: Kevin Moore <kevmoo@users.noreply.github.com>
Date:   Wed May 29 17:23:53 2024 -0700

    Update pubspec.yaml

commit 52023d404e
Author: Kevin Moore <kevmoo@google.com>
Date:   Tue May 28 14:47:30 2024 -0700

    code fixes

commit ebb7368fa4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed May 22 06:56:00 2024 +0000

    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>

commit 4e65d4b795
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue May 21 11:05:38 2024 +0000

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

    Signed-off-by: dependabot[bot] <support@github.com>

commit 14954537f6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue May 21 11:01:10 2024 +0000

    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>

commit 6586b74969
Author: Sarah Zakarias <zarah@google.com>
Date:   Tue May 21 12:30:20 2024 +0200

    Add `topics` to `pubspec.yaml` (#712)

commit 9f65399e28
Author: Moritz <mosum@google.com>
Date:   Fri May 17 14:53:33 2024 +0200

    Move `codec.dart` to former place (#713)

commit 0d02e4386f
Author: Moritz <mosum@google.com>
Date:   Mon May 6 06:25:06 2024 -0700

    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

commit 078fd23bca
Author: Moritz <mosum@google.com>
Date:   Thu Apr 25 04:45:40 2024 -0700

    Remove generated `StatusCode` (#703)

    * Remove generated `StatusCode`

    * Rev version for breaking change

    * Upgrade min sdk version

    * Fix issues

commit bdbe5f5003
Author: Ruben Garcia <RubenGarcia@users.noreply.github.com>
Date:   Mon Apr 22 16:09:18 2024 +0200

    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)

commit bb8b6e5950
Author: Moritz <mosum@google.com>
Date:   Fri Apr 19 02:05:59 2024 -0700

    Make protobuf generated imports absolute (#696)

    * Make protobuf generated imports absolute

    * Stop test for now

commit b05fafe77c
Author: Moritz <mosum@google.com>
Date:   Mon Apr 15 04:43:26 2024 -0700

    Add Health workflow (#699)

    * Add Health workflow

    * Remove license check

commit aece2a4e3f
Author: Abdul Momin <98901875+Curious-x@users.noreply.github.com>
Date:   Mon Apr 15 12:53:00 2024 +0500

    Typo Correction in README.md (#695)

    Corrected typo "RPs" to "RPCs". To avoid confusion.
2025-01-03 13:18:53 -05:00
Tsavo Knott 471a8b377b Clean Up CI 2025-01-03 13:02:16 -05:00
Tsavo Knott 16328209c2 True Upstream Master 2025-01-03 13:00:20 -05:00
Tsavo Knott 00b634fde4 Update dart.yml 2025-01-03 12:46:55 -05:00
Tsavo Knott 55a8c68b14 Modify workflow to point at main 2025-01-03 12:46:05 -05:00
Tsavo Knott 1dddfe0c96
Merge pull request #2 from open-runtime/update-from-upstream
Update from Upstream Master
2025-01-03 12:32:24 -05:00
Tsavo Knott c9d628640c Merge branch 'upstream-master' into update-from-upstream 2025-01-03 12:31:33 -05:00
Tsavo Knott 774bf81c73
Merge pull request #1 from open-runtime/aot_monorepo_compat
Merging AOT Monorepo Compat into our Main Branch
2025-01-03 12:13:44 -05: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
Tsavo Knott 00eabed7f6 chore: Update Deps 2024-06-22 16:28:05 -04: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