From c9c134b643a0ecd5f34c14e9910a661a61232c86 Mon Sep 17 00:00:00 2001 From: zugdev Date: Mon, 30 Mar 2026 00:35:29 -0300 Subject: [PATCH] fix: remove replace directives and bump deps to latest stable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 #37 Fixes #42 Fixes #47 Ref #49 --- go.mod | 12 ++++-------- go.sum | 16 ++++++++-------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index deda8d3..3a0a442 100644 --- a/go.mod +++ b/go.mod @@ -6,17 +6,13 @@ toolchain go1.22.1 require ( github.com/joho/godotenv v1.5.1 - github.com/supabase-community/auth-go v1.4.0 - github.com/supabase-community/functions-go v0.0.0-20220927045802-22373e6cb51d - github.com/supabase-community/postgrest-go v0.0.11 + github.com/supabase-community/auth-go v1.5.0 + github.com/supabase-community/functions-go v0.1.0 + github.com/supabase-community/postgrest-go v0.0.12 github.com/supabase-community/storage-go v0.7.0 ) require ( - github.com/google/uuid v1.6.0 // indirect + github.com/google/uuid v1.3.0 // indirect github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect ) - -replace github.com/supabase-community/postgrest-go => github.com/roja/postgrest-go v0.0.11 - -replace github.com/supabase-community/functions-go => github.com/roja/functions-go v0.0.2 diff --git a/go.sum b/go.sum index bb65aac..28e9535 100644 --- a/go.sum +++ b/go.sum @@ -1,21 +1,21 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/jarcoal/httpmock v1.3.1 h1:iUx3whfZWVf3jT01hQTO/Eo5sAYtB2/rqaUuOtpInww= github.com/jarcoal/httpmock v1.3.1/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/roja/functions-go v0.0.2 h1:fh+1XHtZ7HdJJAwHoJCyT6IHIHXIBpQ6fcS4dWDCKtI= -github.com/roja/functions-go v0.0.2/go.mod h1:nnIju6x3+OZSojtGQCQzu0h3kv4HdIZk+UWCnNxtSak= -github.com/roja/postgrest-go v0.0.11 h1:vGgsfL4+Tvkpbukneo4fPy/43gbeWSSlKmum9+pwDCI= -github.com/roja/postgrest-go v0.0.11/go.mod h1:cw6LfzMyK42AOSBA1bQ/HZ381trIJyuui2GWhraW7Cc= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/supabase-community/auth-go v1.4.0 h1:5dS0NB9TKdT3zwaQqHJhrTFXvAcIC2/EDVC9dEV0wnY= -github.com/supabase-community/auth-go v1.4.0/go.mod h1:Ww/iTwJNJZh//HwEl0i/vgC2JUgRwU+s3B8HfBqClas= +github.com/supabase-community/auth-go v1.5.0 h1:UB20FCsAaUqh9hE04BGE1BMHZNGK/8wuZzqAfFLgceo= +github.com/supabase-community/auth-go v1.5.0/go.mod h1:OEpaFGdeQeZyQSfUB5E/p6870Z8XVm99c0hdbvfVzCw= +github.com/supabase-community/functions-go v0.1.0 h1:6K26R1CL4qMjH6CxvmEtV/PP3lX2vTxo63mYJ30jhy0= +github.com/supabase-community/functions-go v0.1.0/go.mod h1:nnIju6x3+OZSojtGQCQzu0h3kv4HdIZk+UWCnNxtSak= +github.com/supabase-community/postgrest-go v0.0.12 h1:4xJmimJra904t6Rj+umPyu1qm6ih7rhd7fvgqAblajc= +github.com/supabase-community/postgrest-go v0.0.12/go.mod h1:cw6LfzMyK42AOSBA1bQ/HZ381trIJyuui2GWhraW7Cc= github.com/supabase-community/storage-go v0.7.0 h1:cJ8HLbbnL54H5rHPtHfiwtpRwcbDfA3in9HL/ucHnqA= github.com/supabase-community/storage-go v0.7.0/go.mod h1:oBKcJf5rcUXy3Uj9eS5wR6mvpwbmvkjOtAA+4tGcdvQ= github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 h1:nrZ3ySNYwJbSpD6ce9duiP+QkD3JuLCcWkdaehUS/3Y=