Skip to content

chore!: bump authorizer-proto-go to v0.2.0-rc.1 - #29

Merged
lakhansamani merged 1 commit into
mainfrom
chore/proto-go-rc1
Aug 7, 2026
Merged

chore!: bump authorizer-proto-go to v0.2.0-rc.1#29
lakhansamani merged 1 commit into
mainfrom
chore/proto-go-rc1

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Picks up the id-only DeleteUserRequest from authorizerdev/authorizer#753, released as authorizer-proto-go v0.2.0-rc.1.

Why this is a dependency bump and nothing else

DeleteUser passes *authorizerv1.DeleteUserRequest straight through to GraphQL/REST/gRPC, and nothing in this repo constructs the message — no test, README, or example. So the field rename lives entirely inside the generated package.

I verified that rather than assuming it, before the release existed: built and vetted this repo against the regenerated stubs via a local replace directive. Both exited 0, and go test failures were byte-identical to baseline (they need a live server with valid client config — pre-existing, unrelated).

BREAKING

Callers must build the request with Id instead of Email:

-client.DeleteUser(&authorizerv1.DeleteUserRequest{Email: "user@example.com"})
+client.DeleteUser(&authorizerv1.DeleteUserRequest{Id: user.Id})

Requires server 2.4.0+. The server removed the field rather than accepting both.

Verified against the real published module

go build and go vet both exit 0, and I checked the resolved module in the module cache rather than trusting the version string:

  • func (x *DeleteUserRequest) GetId() string — present
  • func (x *DeleteUserRequest) GetEmail() stringgone (0 matches)

Picks up the id-only DeleteUserRequest from authorizerdev/authorizer#753.

No call-site change is needed: DeleteUser passes *authorizerv1.DeleteUserRequest
straight through and nothing in this repo constructs the message, so the field
rename is entirely inside the generated package.

BREAKING CHANGE: callers must build DeleteUserRequest with Id instead of Email.
Requires server 2.4.0+.
@lakhansamani
lakhansamani merged commit b04c826 into main Aug 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant