rifeplight
ff2e25f516
refactor: use strings.Builder to improve performance
...
Signed-off-by: rifeplight <rifeplight@outlook.com>
2025-10-29 15:59:34 +08:00
vastonus
f575e91b2c
refactor: use slices.Contains to simplify code ( #536 )
...
Signed-off-by: vastonus <vastonus@outlook.com>
2025-10-16 07:57:01 -04:00
dependabot[bot]
ed672b2bc9
Bump google.golang.org/protobuf from 1.36.8 to 1.36.10 ( #535 )
...
Bumps google.golang.org/protobuf from 1.36.8 to 1.36.10.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.10
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-10-06 15:17:34 -04:00
PietroPasotti
eab6c910a6
add arm build for snap ( #534 )
2025-09-29 09:41:10 -04:00
dependabot[bot]
60e53f304f
Bump google.golang.org/protobuf from 1.36.7 to 1.36.8 ( #527 )
...
Bumps google.golang.org/protobuf from 1.36.7 to 1.36.8.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.8
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-08-25 19:09:35 -04:00
dependabot[bot]
f093930c85
Bump google.golang.org/protobuf from 1.36.6 to 1.36.7 ( #525 )
...
Bumps google.golang.org/protobuf from 1.36.6 to 1.36.7.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.7
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-08-13 12:09:18 -04:00
Mikel Olasagasti Uranga
7ad93a42d9
test: Update TLS error checks for Go 1.25 compatibility ( #522 )
...
The error message for client certificate failures changed in Go 1.25.
Update tests to check for both the old ("bad certificate") and new
("handshake failure") error strings to support multiple Go versions.
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2025-07-24 18:11:12 -04:00
dependabot[bot]
7155fb6211
Bump golang.org/x/oauth2 from 0.14.0 to 0.27.0 in the go_modules group ( #520 )
...
Bumps the go_modules group with 1 update: [golang.org/x/oauth2](https://github.com/golang/oauth2 ).
Updates `golang.org/x/oauth2` from 0.14.0 to 0.27.0
- [Commits](https://github.com/golang/oauth2/compare/v0.14.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-version: 0.27.0
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-18 14:47:35 -04:00
dependabot[bot]
f28d506cea
Bump golang.org/x/net from 0.36.0 to 0.38.0 in the go_modules group ( #517 )
...
Bumps the go_modules group with 1 update: [golang.org/x/net](https://github.com/golang/net ).
Updates `golang.org/x/net` from 0.36.0 to 0.38.0
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-16 20:05:23 -04:00
dependabot[bot]
58ccc6321e
Bump google.golang.org/protobuf from 1.36.5 to 1.36.6 ( #515 )
...
* Bump google.golang.org/protobuf from 1.36.5 to 1.36.6
Bumps google.golang.org/protobuf from 1.36.5 to 1.36.6.
---
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>
* fix?
---------
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-04-09 11:11:29 -04:00
dependabot[bot]
b519ffc959
Bump golang.org/x/net from 0.33.0 to 0.36.0 in the go_modules group ( #511 )
...
Bumps the go_modules group with 1 update: [golang.org/x/net](https://github.com/golang/net ).
Updates `golang.org/x/net` from 0.33.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 11:01:11 -04:00
PietroPasotti
3a8fa31879
Snap: strict confinement, stable grade and docs ( #514 )
2025-03-18 23:01:48 -04:00
zhyuri
614b1687cf
Restore Unix socket support ( #498 )
...
https://github.com/fullstorydev/grpcurl/issues/496
Restore -unix to working properly by default with the default dialer.
2025-03-18 08:47:55 -04:00
Gustavo Passini
30f87c1323
Set GOWORK=off and GOPATHS=-trimpath when building ( #513 )
2025-03-17 16:42:39 -04:00
PietroPasotti
78655b4786
snap init ( #512 )
2025-03-13 10:13:48 -04:00
Joshua Humphries
d00c28104b
avoid overflow in various timeouts ( #505 )
2025-02-19 11:36:35 -05:00
dependabot[bot]
9e3e083f29
Bump google.golang.org/protobuf from 1.36.4 to 1.36.5 ( #509 )
...
Bumps google.golang.org/protobuf from 1.36.4 to 1.36.5.
---
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>
2025-02-10 18:03:32 -05:00
dependabot[bot]
c32936d71e
Bump golang.org/x/net from 0.25.0 to 0.33.0 ( #508 )
...
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 18:44:47 +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