Skip to content

Commit

Permalink
Task: Upgrade to v1.35.0 (#29)
Browse files Browse the repository at this point in the history
* Upgrade buf schema to v1.35.0

* Add generated files

* Upgrade package version to 1.3.0
  • Loading branch information
goodhamgupta authored Sep 8, 2024
1 parent 67e157e commit c7c9734
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ plugins:
opt:
- plugins=grpc
inputs:
- module: "buf.build/authzed/api:v1.34.0 "
- module: "buf.build/authzed/api:v1.35.0 "
- module: "buf.build/googleapis/googleapis"

16 changes: 16 additions & 0 deletions lib/api/materialize/v0/watchpermissionsets.pb.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ defmodule Authzed.Api.Materialize.V0.WatchPermissionSetsResponse do
json_name: "lookupPermissionSetsRequired",
oneof: 0
)

field(:breaking_schema_change, 4,
type: Authzed.Api.Materialize.V0.BreakingSchemaChange,
json_name: "breakingSchemaChange",
oneof: 0
)
end

defmodule Authzed.Api.Materialize.V0.Cursor do
Expand All @@ -50,6 +56,7 @@ defmodule Authzed.Api.Materialize.V0.Cursor do
field(:token, 4, type: Authzed.Api.V1.ZedToken)
field(:starting_index, 5, type: :uint32, json_name: "startingIndex")
field(:completed_members, 6, type: :bool, json_name: "completedMembers")
field(:starting_key, 7, type: :string, json_name: "startingKey")
end

defmodule Authzed.Api.Materialize.V0.LookupPermissionSetsRequest do
Expand All @@ -58,6 +65,7 @@ defmodule Authzed.Api.Materialize.V0.LookupPermissionSetsRequest do
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"

field(:limit, 1, type: :uint32)
field(:optional_at_revision, 2, type: Authzed.Api.V1.ZedToken, json_name: "optionalAtRevision")

field(:optional_starting_after_cursor, 4,
type: Authzed.Api.Materialize.V0.Cursor,
Expand Down Expand Up @@ -135,6 +143,14 @@ defmodule Authzed.Api.Materialize.V0.LookupPermissionSetsRequired do
field(:required_lookup_at, 1, type: Authzed.Api.V1.ZedToken, json_name: "requiredLookupAt")
end

defmodule Authzed.Api.Materialize.V0.BreakingSchemaChange do
@moduledoc false

use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"

field(:change_at, 1, type: Authzed.Api.V1.ZedToken, json_name: "changeAt")
end

defmodule Authzed.Api.Materialize.V0.WatchPermissionSetsService.Service do
@moduledoc false

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Authzed.MixProject do
use Mix.Project

@version "1.2.0"
@version "1.3.0"
@repo_url "https://github.com/goodhamgupta/authzed_ex/"

def project do
Expand Down

0 comments on commit c7c9734

Please sign in to comment.