Skip to content

Upgrade dependencies and bump authzed/api to v1.45.4#35

Merged
goodhamgupta merged 4 commits into
goodhamgupta:mainfrom
tonnenpinguin:chore/upgrade
Apr 8, 2026
Merged

Upgrade dependencies and bump authzed/api to v1.45.4#35
goodhamgupta merged 4 commits into
goodhamgupta:mainfrom
tonnenpinguin:chore/upgrade

Conversation

@tonnenpinguin

@tonnenpinguin tonnenpinguin commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

I regenerated the api client based on authzed/api v1.45.4
Google RPC types are no longer taken from Buf; they come from the googleapis Hex package (pulled in via grpc). I updated the Makefile accordingly.

Important: Users need to add GRPC.Client.Supervisor to their supervision tree (e.g. {GRPC.Client.Supervisor, []} in the app’s children). The gRPC client needs this supervisor to open connections.

Aside from that, typical app code can stay the same if you already pass a single target string to the client.

Authzed.Api.V1.Client

Client.new/3 now takes a single endpoint string (e.g. "host:port"), matching GRPC.Stub.connect/2 (including typed forms like ipv4:… / ipv6:… where appropriate).
Client.new/4 (host + port) remains for backward compatibility but is @deprecated. It no longer calls the deprecated GRPC.Stub.connect/3 path (which can surface as warnings or break warnings_as_errors). Instead it builds a target string and delegates to new/3, so deprecation is our compile-time @deprecated, not the library’s runtime warning.

- Bump version to 1.7.0
- Update grpc and protobuf dependencies to versions 0.11.0 and 0.16.0 respectively
- Remove deprecated Google RPC modules from the codebase
- Add GRPC.Client.Supervisor to the supervision tree in the documentation
- Clean up docker-compose-test.yml by removing the version line
Comment thread Makefile
@goodhamgupta goodhamgupta merged commit f59aefb into goodhamgupta:main Apr 8, 2026
2 checks passed
@goodhamgupta

Copy link
Copy Markdown
Owner

Apologies this took a while to review. Merged now and deployed! 🎉 Thank you!

@tonnenpinguin tonnenpinguin deleted the chore/upgrade branch April 8, 2026 07:09
@tonnenpinguin

Copy link
Copy Markdown
Contributor Author

No worries! It might be worth to put the note about the changed supervision tree into the release note though!

Important: Users need to add GRPC.Client.Supervisor to their supervision tree (e.g. {GRPC.Client.Supervisor, []} in the app’s children). The gRPC client needs this supervisor to open connections.

@goodhamgupta

Copy link
Copy Markdown
Owner

Nice catch! Updated it now: https://github.com/goodhamgupta/authzed_ex/releases/tag/v1.7.0

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.

2 participants