Skip to content

Commit

Permalink
Update deps (#44)
Browse files Browse the repository at this point in the history
* Update deps and Go
* Use latest version of the package
* Add install-deps targets to install protobuf deps
* Regenerate stubs
* Remove unused/commented config
* Update PR template
* Add dependabot config
* Update deps
  • Loading branch information
mostafa authored Jan 25, 2025
1 parent 52879f3 commit 8f55506
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 123 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
- [ ] I have rebased my branch on top of the latest main branch.
- [ ] I have performed a self-review of my own code.
- [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] I have added docstring(s) and type annotations to my code.
- [ ] I have added/updated docstring(s) and type annotations to my code.
- [ ] I have made corresponding changes to the documentation (docs).
- [ ] I have added tests for my changes.
- [ ] I have signed all the commits.

## Legal Checklist

Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ gen:
update-all:
go get -u ./...
go mod tidy

install-deps:
@go install github.com/bufbuild/buf/cmd/buf@latest
@go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
@go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
@go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
6 changes: 0 additions & 6 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
version: v1
# managed:
# enabled: true
plugins:
- name: go-grpc
out: .
Expand All @@ -11,7 +9,3 @@ plugins:
- plugin: buf.build/community/pseudomuto-doc
out: plugin/v1
opt: markdown,plugin.md
# - name: python_betterproto
# out: .
# - name: java
# out: .
2 changes: 1 addition & 1 deletion databases/postgres/query_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package postgres
import (
"fmt"

pgAnalyze "github.com/pganalyze/pg_query_go/v5"
pgAnalyze "github.com/pganalyze/pg_query_go/v6"
pgQuery "github.com/wasilibs/go-pgquery"
)

Expand Down
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
module github.com/gatewayd-io/gatewayd-plugin-sdk

go 1.23.4
go 1.23.5

require (
github.com/expr-lang/expr v1.16.9
github.com/hashicorp/go-hclog v1.6.3
github.com/hashicorp/go-plugin v1.6.2
github.com/jackc/pgx/v5 v5.7.1
github.com/pganalyze/pg_query_go/v5 v5.1.0
github.com/hashicorp/go-plugin v1.6.3
github.com/jackc/pgx/v5 v5.7.2
github.com/pganalyze/pg_query_go/v6 v6.0.0
github.com/prometheus/client_golang v1.20.5
github.com/redis/go-redis/v9 v9.7.0
github.com/rs/zerolog v1.33.0
github.com/stretchr/testify v1.10.0
github.com/wasilibs/go-pgquery v0.0.0-20241011013927-817756c5aae4
google.golang.org/grpc v1.69.0
google.golang.org/protobuf v1.35.2
github.com/wasilibs/go-pgquery v0.0.0-20241226024732-8bfaa0ac5969
google.golang.org/grpc v1.70.0
google.golang.org/protobuf v1.36.4
)

require (
Expand All @@ -27,19 +27,19 @@ require (
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.61.0 // indirect
github.com/prometheus/common v0.62.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/tetratelabs/wazero v1.8.2 // indirect
github.com/wasilibs/wazero-helpers v0.0.0-20240620070341-3dff1577cd52 // indirect
golang.org/x/net v0.32.0 // indirect
golang.org/x/sys v0.28.0 // indirect
github.com/wasilibs/wazero-helpers v0.0.0-20250123031827-cd30c44769bb // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250124145028-65684f501c47 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
71 changes: 36 additions & 35 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8f55506

Please sign in to comment.