dependabot[bot]
cc0b822127
Bump golang.org/x/net from 0.25.0 to 0.33.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.25.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-28 18:40:51 +00:00
dependabot[bot]
f3c8ec2564
Bump google.golang.org/protobuf from 1.34.2 to 1.36.4 ( #506 )
...
* Bump google.golang.org/protobuf from 1.34.2 to 1.36.4
Bumps google.golang.org/protobuf from 1.34.2 to 1.36.4.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* ignore deprecations
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
2025-01-28 18:39:59 +00:00
Joshua Humphries
7e1a6c9068
Update to v1.17.0 of jhump/protoreflect ( #502 )
...
* update to v1.17.0 of jhump/protoreflect
* add lint:ignore annotations to fix CI
2025-01-13 10:33:18 -05:00
Edward Newman
b9a11e9fea
update core Go version in go.mod to 1.21 ( #495 )
2024-11-28 11:13:36 -05:00
Or Shachar
bc5cf811a0
chore: update to Golang 1.23 ( #485 )
...
* chore: update to Golang 1.23
* chore: configure cci to build with 1.23
Signed-off-by: Or Shachar <orchoock@gmail.com>
* Update config.yml
---------
Signed-off-by: Or Shachar <orchoock@gmail.com>
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
2024-10-25 13:22:52 +00:00
ironhide0396
fb49f049e6
Update README.md ( #353 )
...
Updating README to add information about the usage of headers/metadata in the rpc request.
2024-10-11 10:40:52 -04:00
Nathan Mische
cdb43b08fa
Remove custom dialer in order to use the default grpc-go dialer, which supports proxies. ( #480 )
2024-10-03 11:43:25 -04:00
Scott Blum
56181ba330
makefile updates ( #484 )
2024-09-09 09:53:40 -04:00
Hector Oliveros
46c38b351a
feat: Add functionality to export proto files ( #475 )
...
* Add functionality to export proto files
Added a new function, `WriteProtoFiles` in `desc_source.go` which is used to generate .proto files. The process involves resolving symbols from the descriptor source and writing their definitions to a designated output directory. The corresponding flag `--proto-out` has been included in `grpcurl.go` to allow users to specify the directory path.
* Refactor file creation error handling
The code for file creation and error handling in desc_source.go has been refactored. Previously, the file closure operation was executed irrespective of whether the file was created successfully or not. Now, the file will only be closed if it was successfully created, improving error handling.
* Update 'proto-out' command to 'proto-out-dir'
The command for exporting proto files and setting the output directory has been updated from 'proto-out' to 'proto-out-dir'. This change has been made both in the README and the grpcurl go file. This makes the command name more descriptive, accurately reflecting its functionality.
* fix import sort
* Reorder file close operation in error handling
The file close operation has been moved within the error handling of the 'PrintProtoFile' function. Previously, it was being executed before this function, now it's executed immediately after. Moreover, an additional close operation has been added after the function success ensuring the file is properly closed in all scenarios.
* Update grpcurl commands in README
The grpcurl commands for exporting proto files and protoset files in the README are updated. The IP address has been changed to localhost and port number to '8787'. Also, the service name is adjusted to 'my.custom.server.Service'. Instructions for use of specific command options are added for enhanced clarity.
* Refactor error handling in file creation
The code responsible for error handling during file creation in the desc_source.go file has been streamlined. This modification simplifies the code by reducing unnecessary condition checks and redundant file closure action after an error has occurred.
* Refactor proto file writing into separate function
The file writing process for protobuf files has been extracted into a new function called writeProtoFile(). This refactoring simplifies the main function. The code is cleaner and more manageable this way, improving maintainability and readability.
* Refactor writeProtoFile function for better error handling
Streamlined the writeProtoFile function in desc_source.go file. Simplified path calculations and improved error messages for file-creation functions, making it easier to trace the exact point of failure and enhance the debugging process.
2024-07-12 12:47:32 -04:00
dependabot[bot]
a05d48d6dd
Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 ( #470 )
...
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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>
2024-06-17 14:39:52 -04:00
Philipp Glaser
fc63514da1
add 32bit arm build targets ( #461 )
2024-06-17 11:00:36 -04:00
dependabot[bot]
e14d9f769a
Bump google.golang.org/protobuf from 1.34.0 to 1.34.1 ( #465 )
...
Bumps google.golang.org/protobuf from 1.34.0 to 1.34.1.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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>
2024-05-13 12:43:39 -04:00
Violin
239dde4a62
feat: introduce transparent client side health check ( #463 )
2024-05-08 10:47:02 -04:00
dependabot[bot]
80e833a557
Bump google.golang.org/protobuf ( #460 )
...
Bumps google.golang.org/protobuf from 1.33.1-0.20240408130810-98873a205002 to 1.34.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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>
2024-05-07 08:37:54 -04:00
dependabot[bot]
6fccd7757e
Bump golang.org/x/net from 0.22.0 to 0.23.0 ( #458 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 09:38:45 -04:00
Gustavo Passini
400fa5f2d3
Update Dockerfile to use Go v1.21 ( #455 )
2024-04-10 11:33:24 -04:00
goodfirm
0e13e85e65
chore: fix some typos in comments ( #454 )
...
Signed-off-by: goodfirm <fanyishang@yeah.net>
2024-04-10 09:51:09 -04:00
Joshua Humphries
07361b21ea
Use latest protoreflect to fix some bugs ( #453 )
...
* update to latest jhump/protoreflect
* be lenient when possible if server cannot furnish all dependencies
* move linting back to go 1.21 instead of latest go 1.22
* make staticcheck happy
2024-04-09 17:50:10 -04:00
Gustavo Passini
8e76884d21
Brand name update ( #452 )
2024-04-09 16:19:28 -04:00
dependabot[bot]
805ce40c63
Bump github.com/golang/protobuf from 1.5.3 to 1.5.4 ( #448 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.5.3...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
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>
2024-03-11 08:31:42 -04:00
Albin Parou
93ea011b36
goreleaser: bump version & add nfmp support ( #440 )
2024-02-26 09:09:32 -05:00
Paul Chesnais
5592211a41
Enable xDS credentials ( #424 )
...
* Enable xDS credentials
This change should be relatively straightforward. It is a noop outside of the
context of xDS (as demonstrated by the fact that the tests all pass), but it
enables xDS-provided certificates (i.e. the ones that would be
provided/specified in GRPC_XDS_BOOTSTRAP). See proposal
[A29](https://github.com/grpc/proposal/blob/master/A29-xds-tls-security.md#go )
for additional detail.
* Only enable xds credentials if the target is an xDS target
* Update after merge
2024-02-12 13:49:16 -05:00
dependabot[bot]
184c8f70b5
Bump github.com/jhump/protoreflect from 1.15.5 to 1.15.6 ( #446 )
...
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/jhump/protoreflect/releases )
- [Commits](https://github.com/jhump/protoreflect/compare/v1.15.5...v1.15.6 )
---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
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>
2024-02-07 12:30:33 -05:00
Kristopher Wuollett
149a93e0ec
Use localhost for default unix domain socket authority ( #445 )
2024-01-30 11:38:15 -05:00
dependabot[bot]
252b57fd45
Bump github.com/jhump/protoreflect from 1.15.4 to 1.15.5 ( #443 )
...
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect ) from 1.15.4 to 1.15.5.
- [Release notes](https://github.com/jhump/protoreflect/releases )
- [Commits](https://github.com/jhump/protoreflect/compare/v1.15.4...v1.15.5 )
---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
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>
2024-01-29 13:38:20 -05:00
KaibutsuX
24b80dfed8
Added initial support for -t flag to show timings ( #428 )
...
* Added initial support for -t flag to show timings
Shows very basic timing data for the Dial stage (TLS setup and
BlockingDial) and InvokeRPC method as well as the total time.
* Made timing data part of the very verbose functionality
* cleanup
* fix
---------
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
2024-01-23 19:04:51 -05:00
Michael Diamond
334e3f56de
Expand the documentation of -max-time to clarify this sets the RPC timeout ( #435 )
...
Notably, this adds the words "timeout" and "deadline" to this help text which is helpful for discovering this flag.
2024-01-09 11:39:10 -05:00
dependabot[bot]
f4157743ed
Bump github.com/jhump/protoreflect from 1.15.3 to 1.15.4 ( #436 )
...
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect ) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/jhump/protoreflect/releases )
- [Commits](https://github.com/jhump/protoreflect/compare/v1.15.3...v1.15.4 )
---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
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>
2024-01-08 16:59:50 -05:00
dependabot[bot]
79fb35f680
Bump google.golang.org/protobuf from 1.31.0 to 1.32.0 ( #437 )
...
* Bump google.golang.org/protobuf from 1.31.0 to 1.32.0
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* go mod tidy?
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
2023-12-26 09:20:30 -05:00
Scott Blum
7ccaf0a21f
indent: rip out old go 1.9 support
2023-11-22 08:54:31 -05:00
ns-yuhanl
6093b09afa
Bump golang.google.org/grpc to v1.57.1 ( #427 )
...
* Bump golang.google.org/grpc to v1.57.1
See https://github.com/advisories/GHSA-m425-mq94-257g
* Revert "Bump golang.google.org/grpc to v1.57.1"
This reverts commit 385868b36b .
* Bump golang.google.org/grpc to v1.57.1
2023-10-26 12:39:52 -04:00
Gustavo Passini
70c215f7e2
Update Tarball URL used by Homebrew ( #421 )
2023-10-24 15:33:15 -04:00
Gustavo Passini
28c0ee28f0
Disable CGO for improved compatibility across distros ( #420 )
...
* Disable CGO for improved compatibility across distros
* Enabled CGO in tests for the race detector
2023-10-24 11:53:47 -04:00
dependabot[bot]
bc2944de97
Bump golang.org/x/net from 0.9.0 to 0.17.0 ( #419 )
...
* Bump golang.org/x/net from 0.9.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* manual go.sum
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
2023-10-12 14:45:27 +00:00
Michael Primeaux
7a845ca5e9
SIGSEGV: panic: runtime error: invalid memory address or nil pointer dereference in protoreflect ( #416 )
...
* SIGSEGV: panic: runtime error: invalid memory address
- Executed the updatedeps make target
- protoreflect upgraded to v1.15.3, which addresses this panic.
* Reverted. Only updated protoreflect.
2023-10-03 16:42:07 -04:00
Jonathan Beaulieu
c17f0782f7
Added alts credential option ( #341 )
...
* Added alts credential option
Added flag that sets up ALTS credentials to connect to gRPC services using Application Layer Transport Security.
Reference: https://grpc.io/docs/languages/go/alts/
Fixes : #333
* Added ALTS client options as cmd arguments.
* Update target service accounts docs
Co-authored-by: Joshua Humphries <2035234+jhump@users.noreply.github.com>
* Applied feedback
* Small fix: removed indirection on usetls
---------
Co-authored-by: Joshua Humphries <2035234+jhump@users.noreply.github.com>
2023-09-25 13:57:49 -04:00
Scott Blum
42f63028d4
Update go.mod, goreleaser for v1.8.8 ( #413 )
...
* Update go.mod, goreleaser for v1.8.8
* move ci check to go 1.20
* debug
* ci diff
2023-09-22 16:21:54 -04:00
Valters Jansons
743e60a4c9
Run tests on Go 1.21 ( #408 )
...
* Run tests on Go 1.21
For the most part, there are no breaking changes.
However, the expired certificate is now showing "expired certificate"
although previously it showed a simpler "bad certificate" which was
hard-coded into the TLS settings test scenario.
* Simplify condition for certificate error
Instead of two `expired certificate` and `bad certificate` comparisons, we can just check for `certificate` in error output. This satisfies us when checking there is something wrong with the certificate.
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
---------
Co-authored-by: Scott Blum <dragonsinth@gmail.com>
2023-08-31 12:14:34 -04:00
Valters Jansons
b7a5d3bba8
Update `protoreflect` v1.15.2 and `grpc` v1.57.0 ( #406 )
...
The proposal already exists by Dependabot, but the version bump pulls
in `grpc.reflection.v1.ServerReflection` resulting in minor test change
being required.
Transient dependency `github.com/bufbuild/protocompile` is now added,
and requires at least Go 1.18. This PR includes the version removal.
2023-08-31 12:14:03 -04:00
Valters Jansons
2a29c1e64b
Use `grpc.reflection.v1.ServerReflection` ( #407 )
...
The proper `v1` gRPC reflection has been around for a bit.
The "client auto" mechanism still supports falling back to `v1alpha`.
Not many support the `v1`, but we should default to it when possible.
2023-08-31 12:13:33 -04:00
dependabot[bot]
9a59bed1d2
Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 ( #401 )
...
Bumps google.golang.org/protobuf from 1.30.0 to 1.31.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-06-26 12:05:13 -04:00
dependabot[bot]
ae7dadff19
Bump google.golang.org/grpc from 1.55.0 to 1.56.1 ( #400 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.55.0 to 1.56.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-06-26 11:38:28 -04:00
Sophy Cao
3961a33e7f
Fix issues with error details ( #379 )
...
Co-authored-by: Erik Engberg <ejohansson@spotify.com>
2023-06-22 12:58:51 -04:00
Joshua Humphries
d5b8e4d4ce
fix nil-dereference panic ( #395 )
2023-05-12 12:50:32 -04:00
dependabot[bot]
0efcfa65f2
Bump google.golang.org/grpc from 1.54.0 to 1.55.0 ( #390 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.54.0 to 1.55.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.54.0...v1.55.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-05-09 20:08:41 -04:00
Joshua Humphries
fae58803d9
Add "checkgenerate" make target to CI ( #385 )
2023-04-18 12:09:16 -04:00
dependabot[bot]
1fda47eb90
Bump google.golang.org/grpc from 1.53.0 to 1.54.0 ( #383 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.53.0 to 1.54.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.54.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
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-03-27 10:01:15 -04:00
dependabot[bot]
031cd3d1e7
Bump google.golang.org/protobuf from 1.29.1 to 1.30.0 ( #378 )
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.29.1...v1.30.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-03-20 09:58:32 -04:00
dependabot[bot]
a5037bdf4a
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 ( #376 )
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.29.0...v1.29.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 23:11:32 +00:00
dependabot[bot]
4775fb574b
Bump google.golang.org/protobuf from 1.28.1 to 1.29.0 ( #375 )
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.1 to 1.29.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.1...v1.29.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
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-03-13 09:12:47 -04:00