Packages

@better-auth/cli

1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.What to use instead
Your version

1.3.10

15 Sep 2025Where it was published

1.4.22 is the newest release of 1.x.

npm marks 1.3.10 as deprecated: Package no longer supported. Contact Support at npmjs.com/support for more info.

In short

1 security4 new20 fixed1 internal

  • Security

    organization: [security] updateOrgRole should check for userId properly

Release note

The section about @better-auth/cli of a note shared by several packages.

Maintenance update: We fixed lots of issues from the community. Thanks to everyone for contributing to better-auth.

Features

  • Add getActiveRoleMember

  • Database transaction support

  • sqlite: Remove autoincrement for SQLite

Bug Fixes

  • Ignore cookiecache on auth sensitive functions

  • Custom field for refreshTokenExpiresAt

  • Return local IP in development mode

  • Make cookie cache respect dontRememberMe mode

  • Normalize zod imports

  • Check endpoint conflicts respect method

  • Respect username validator

  • Set clientId in ProviderOptions to unknown by default

  • Pick the first clientId for oauth provider

  • Remove use of global.crypto

  • Should infer types correctly when empty list of plugins is provided

  • Correct MongoDB adapter import path in CLI

  • Make sure fetch function doesn't get called repeatedly on onMount

  • Prevent lastLoginMethod plugin from setting cookie on failed auth

  • cli: info shows the correct version

  • cli: Add missing JSON type to schema generation

  • organization: checkRolePermission shouldn't be a promise

  • organization: Member and team hooks should apply on create organization

  • organization: Before org create hooks not applying customized data

  • Security

    organization: [security] updateOrgRole should check for userId properly

  • organization: Restrict role check by user id

  • tiktok: Remove client_secrect from authorizationUrl

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.