Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the v0 API (except developer) #59

Merged
merged 3 commits into from Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Expand Up @@ -44,10 +44,10 @@ jobs:
with:
go-version: "^1.16"
- name: "Install local Go Protobuf plugins"
run: "go install github.com/envoyproxy/protoc-gen-validate@v0.6.1"
run: "go install github.com/envoyproxy/protoc-gen-validate@v0.6.7"
- uses: "actions/checkout@v2"
- uses: "bufbuild/buf-setup-action@v0.6.0"
with:
version: "1.0.0-rc12"
version: "1.3.1"
- name: "Generate & Diff Protos"
run: "./buf.gen.yaml && git diff --text && bash -c '[ $(git status --porcelain | tee /dev/fd/2 | wc -c) -eq 0 ]'"
6 changes: 0 additions & 6 deletions .golangci.yaml
Expand Up @@ -24,9 +24,3 @@ linters:
- "typecheck"
- "unused"
- "varcheck"
issues:
exclude-rules:
- linters:
- "staticcheck"
path: "v0" # Temporarily skip deprecation checks during grace period
text: "SA1019:"
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -18,7 +18,6 @@ Once stored, data can be performantly queried to answer questions such as "Does
Supported client API versions:
- [v1](https://buf.build/authzed/api/docs/main/authzed.api.v1)
- [v1alpha1](https://buf.build/authzed/api/docs/main/authzed.api.v1alpha1)
- "v0" - deprecated

You can find more info about the API in the [Authzed Documentation API Reference] or the [Authzed API Buf Registry repository].

Expand Down
2 changes: 1 addition & 1 deletion buf.gen.yaml
@@ -1,4 +1,4 @@
#!/usr/bin/env -S buf generate buf.build/authzed/api:86da72bc0f5dc8b7e26b2fdd609dec4ff2b09f1f --template
#!/usr/bin/env -S buf generate buf.build/authzed/api:3e463bb359cf56fc95dae28138cbe4f09c67aa17 --template
---
version: "v1"
plugins:
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Expand Up @@ -4,14 +4,13 @@ go 1.16

require (
github.com/authzed/grpcutil v0.0.0-20210913124023-cad23ae5a9e8
github.com/envoyproxy/protoc-gen-validate v0.6.1
github.com/envoyproxy/protoc-gen-validate v0.6.7
github.com/grpc-ecosystem/grpc-gateway/v2 v2.6.0
github.com/jzelinskie/stringz v0.0.0-20210414224931-d6a8ce844a70
github.com/stretchr/testify v1.7.0
golang.org/x/net v0.0.0-20210913180222-943fd674d43e // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af
google.golang.org/grpc v1.40.0
google.golang.org/protobuf v1.27.1
Expand Down
14 changes: 8 additions & 6 deletions go.sum

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