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

Version 0.4.1 is not published to npm under the latest tag #39

Closed
2 tasks done
aloisklink opened this issue Jul 12, 2024 · 2 comments
Closed
2 tasks done

Version 0.4.1 is not published to npm under the latest tag #39

aloisklink opened this issue Jul 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@aloisklink
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The 0.4.1 release of @supabase/ssr is not published to npm under the latest tag. This means that most users won't automatically update to it, so they'd be affected by bugs like:

To Reproduce

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

  1. Go to https://www.npmjs.com/package/@supabase/ssr
  2. See that the latest version is 0.4.0, not 0.4.1 (since that's only under the patched tag)

This means that running npm install @supabase/ssr will install 0.4.0 and not 0.4.1. And any commands like npm update or @renovatebot or @dependabot will not show the updated version.

Expected behavior

The latest tag on NPM should be 0.4.1

Screenshots

image

image

System information

  • OS: Linux
  • Browser (if applies) N/A
  • Package manager, tested on both:
    • pnpm 9.5.0
    • npm 10.5.2
  • Version of supabase-js: 2.44.3
  • Version of Node.js: v20.13.1

Additional context

You should be able to use npm dist-tag to update the latest tag to 0.4.1, see https://docs.npmjs.com/cli/v10/commands/npm-dist-tag for instructions.

@aloisklink aloisklink added the bug Something isn't working label Jul 12, 2024
@silentworks
Copy link
Contributor

Version 0.5.0 was published as latest which contain the bug fixes mentioned above too.

@aloisklink
Copy link
Author

Version 0.5.0 was published as latest which contain the bug fixes mentioned above too.

That seems to have fixed it, at least for @renovatebot!

Hopefully in a week or two, we should see at https://www.npmjs.com/package/@supabase/ssr?activeTab=versions that everybody on 0.4.0 migrates to either 0.4.1 (e.g. if they had ^0.4.0 in their package.json) or 0.5.0!

Fixed by #28

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