fix: remove replace directives and bump deps to latest stable#57
Open
zugdev wants to merge 1 commit into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-gosilently installs v0.0.4, from 2024, which still depends on the archivedgotrue-go. The latest tagv.0.0.5has a malformed name (extra dot) so Go tooling skips it entirely.go.modon main hasreplacedirectives 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
replacedirectives and bump all dependencies to their latest stable versions: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.6release should be shipped after merge sogo getresolves the current code.