Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go get and go get -u are installing with an older-version of client.go #50

Open
ZanzyTHEbar opened this issue May 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ZanzyTHEbar
Copy link

Bug report

Describe the bug

When i add the module using the go cli the client.go file is outdated and does not contain the new methods for setting the auth token. However, when i go to the github these methods are present.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Install the module with go get github.com/supabase-community/postgrest-go or go get -u github.com/supabase-community/postgrest-go

Expected behavior

I expect the new methods to be present. This issue is breaking supabase-community/supabase-go due to this issue.

Screenshots

image

As can be seen in this screen shot, the 0.0.10v release, which is the newest, still has the ``TokenAuth` method and none of the new methods.

System information

  • OS: Windows
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-go v0.02
  • Version of postgres-go: v0.0.10

Additional context

Add any other context about the problem here.

@tranhoangvuit
Copy link
Contributor

tranhoangvuit commented May 29, 2024

Hi @ZanzyTHEbar, sorry for the missing information. We separated TokenAuth into SetApiKey and SetAuthToken for better readability in the new tag v0.0.11

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants