Skip to content

fix: remove replace directives and bump deps to latest stable#57

Open
zugdev wants to merge 1 commit into
supabase-community:mainfrom
zugdev:fix/go-mod-deps
Open

fix: remove replace directives and bump deps to latest stable#57
zugdev wants to merge 1 commit into
supabase-community:mainfrom
zugdev:fix/go-mod-deps

Conversation

@zugdev

@zugdev zugdev commented Mar 30, 2026

Copy link
Copy Markdown

Fixes #56
Fixes #37
Fixes #42
Fixes #47
Fixes #49

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

go get github.com/supabase-community/supabase-go silently installs v0.0.4, from 2024, which still depends on the archived gotrue-go. The latest tag v.0.0.5 has a malformed name (extra dot) so Go tooling skips it entirely.

go.mod on main has replace directives pointing postgrest-go and functions-go to personal forks (github.com/roja/*), which means even building from source pulls stale dependencies that are behind the community repos.

What is the new behavior?

Remove both replace directives and bump all dependencies to their latest stable versions:

Dependency Before After
postgrest-go v0.0.11 (roja fork) v0.0.12 (community)
functions-go v0.0.2 (roja fork) v0.1.0 (community)
auth-go v1.4.0 v1.5.0
storage-go v0.7.0 v0.7.0 (unchanged)

All version bumps are API compatible. postgrest-go v0.0.12 brings concurrent-safe headers, context on Execute, and idiomatic error handling. auth-go v1.5.0 adds the resend endpoint and enhanced OTP/verify methods.

A properly tagged v0.0.6 release should be shipped after merge so go get resolves the current code.

Remove replace directives for postgrest-go and functions-go that pointed
to personal forks (roja/*), breaking go get for all consumers.

Dependency updates:
- postgrest-go: v0.0.11 (roja fork) → v0.0.12 (community)
- functions-go: v0.0.2 (roja fork) → v0.1.0 (community)
- auth-go: v1.4.0 → v1.5.0 (adds resend endpoint, enhanced OTP/verify)

postgrest-go v0.0.12 is API-compatible with the fork — no code changes
needed in client.go beyond removing stale comments.

Fixes supabase-community#37
Fixes supabase-community#42
Fixes supabase-community#47
Ref supabase-community#49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant