Skip to content

chore(deps): bump @convex-dev/auth from 0.0.98 to 2.0.0 - #44

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/convex-dev/auth-2.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/convex-dev/auth-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @convex-dev/auth from 0.0.98 to 2.0.0.

Changelog

Sourced from @​convex-dev/auth's changelog.

2.0.0

First stable release of v2. Breaking changes from 2.0.0-beta.0 — see the upgrade steps.

Upgrading from beta.0

  1. Upgrade convex to 1.48.0 or later.
  2. Use convexAuthProvider() in convex/auth.config.ts. The deployment now issues the JWTs, so remove the JWT_PRIVATE_KEY and JWKS environment variables.
  3. Mount the core component as auth; the componentName option is gone.
  4. Update the user callbacks (createUser, onSignIn): they receive method: { name, profile } instead of provider: { name, profile }, and no account ID. Method names are now "usernamePassword" and "usernamePasskey". For OAuth, profile.id is the provider's account ID.
  5. Migrate the data:
    • optionally, copy the OAuth rows of auth/accounts into the accounts table of their component (authGoogle, authGithub, authApple). An OAuth user without a copied row gets a new app user on their next sign-in.
    • clear authAnonymous/accounts, then delete auth/accounts.
    • clear auth/sessions and auth/refreshTokens, which signs every user out.

Breaking changes

  • Sessions are now stateful: a JWT is only valid while its session lives, and its sub is the session ID. Use getAuthUserId to get the user.
  • Each OAuth component keeps its own accounts table and its own getUserIdByAccount. The core's getUserIdByAccount is removed.
  • Renamed completeSignUp/useCompleteSignUp to completeSignUpWithEmailPassword/useCompleteSignUpWithEmailPassword, *ProviderOptions to *Options, and the test helpers register*Provider to register*.
  • Renamed the refresh-token TTL option to refreshInactivityTimeoutSeconds, and added sessionMaxLifetimeSeconds (default 30 days).
  • setPassword of the password component requires minimumLength.
  • Component functions that trust their caller's arguments now have an _internal_dangerous_ prefix (for example auth.public.signIn).
  • Errors use consistent codes: NOT_LOGGED_IN, INCORRECT_CODE, and OTHER_ERROR for OAuth client errors.
  • Removed the npx @convex-dev/auth CLI. The anonymous method, TOTP, and the API for custom OAuth providers are no longer exported.

New

  • Session revocation. Password recovery signs out all of the user's sessions, and clients sign out as soon as their session is revoked.
  • @convex-dev/auth/methods/username-passkey/react-custom for React Native and other custom passkey integrations.
  • The passkey origin can be an array.

... (truncated)

Commits
  • f73ec43 2.0.0
  • 97b829c Point the package homepage at the v2 release docs (#896)
  • add4571 Update dependency jsdom to v31 (#864)
  • 9d1cf25 Add a react-custom entry for native passkey integration (#892)
  • a594829 Rename verifiedBy to authenticatedBy (#891)
  • fd06a18 Prefix the component functions that need a redesign with `_internal_dangerous...
  • b99e842 Require the core to be mounted as auth (#842)
  • ccf8a39 Rename the "provider" callback argument to "method", and also rename method n...
  • c818b9f Prefix the component functions that miss a current-user check with `_internal...
  • 91d1626 Change the sessions table’s provider to component (#861)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 19, 2026
Bumps [@convex-dev/auth](https://github.com/convex/convex-auth/tree/HEAD/packages/core) from 0.0.98 to 2.0.0.
- [Release notes](https://github.com/convex/convex-auth/releases)
- [Changelog](https://github.com/convex/convex-auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/convex/convex-auth/commits/v2.0.0/packages/core)

---
updated-dependencies:
- dependency-name: "@convex-dev/auth"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bun/convex-dev/auth-2.0.0 branch from b7f36b4 to 70a3a57 Compare November 20, 2026 09:56
@hyochan hyochan closed this in a6ac96c Nov 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/bun/convex-dev/auth-2.0.0 branch November 20, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants