Skip to content

Commit

Permalink
Merge pull request #59 from josephschorr/remove-v0
Browse files Browse the repository at this point in the history
Remove the v0 API (except developer)
  • Loading branch information
josephschorr committed Jun 6, 2022
2 parents fe11c14 + 6d1c60d commit 3d090b4
Show file tree
Hide file tree
Showing 42 changed files with 3,881 additions and 10,475 deletions.
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.

0 comments on commit 3d090b4

Please sign in to comment.