Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-08-11 | 13.5 kB | |
v1.3.5 source code.tar.gz | 2025-08-11 | 12.2 MB | |
v1.3.5 source code.zip | 2025-08-11 | 12.7 MB | |
Totals: 3 Items | 24.9 MB | 0 |
🚀 Features
- List organization memebrs with pagination and filter queries - by @Bekacru in https://github.com/better-auth/better-auth/issues/3581 (e8b3d)
- Return false from
generateId
callback to imply database-generated ID - by @aleclarson in https://github.com/better-auth/better-auth/issues/3723 (b2722) - Support multiple aud for apple oauth - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3710 (c7267)
- Allow
getUserInfo
to return number type - by @himself65 in https://github.com/better-auth/better-auth/issues/3816 (84b5d) - Remove revoked session from active sessions list - by @himself65 in https://github.com/better-auth/better-auth/issues/3820 (a54da)
- Add telemetry - by @frectonz, Kinfe123 and @himself65 in https://github.com/better-auth/better-auth/issues/3822 (1e673)
- cli:
- Added --yes for generate/migrate, deprecated --y - by @nktnet1 in https://github.com/better-auth/better-auth/issues/3542 (e11c5)
- oidc-provider:
- Add
client
to getAdditionalUserInfoClaim callback - by @grant0417 in https://github.com/better-auth/better-auth/issues/3790 (b2ac8) - Allow passing oauth consent code via query params - by @grant0417 in https://github.com/better-auth/better-auth/issues/3845 (18f72)
- organization:
- Additional fields support separate client-server projects - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3564 (a83cf)
- Add membersLimit param to allow to fetch more or less members than the membership limit - by @Bekacru in https://github.com/better-auth/better-auth/issues/3580 (518ab)
- Add option for requiring email verificaiton - by @Bekacru in https://github.com/better-auth/better-auth/issues/3785 (f88e4)
- passkey:
- Allow custom passkey name during registration - by @Fyoxy in https://github.com/better-auth/better-auth/issues/3587 (e5f3f)
- stripe:
- Create billing portal session - by @rhitune2 in https://github.com/better-auth/better-auth/issues/3625 (b5273)
🐞 Bug Fixes
- Shouldn't refresh a token if access token expires is undefined or null - by @Bekacru in https://github.com/better-auth/better-auth/issues/3577 (4d767)
- Ensure session is added to context when reading from cookie cache - by @gaganref in https://github.com/better-auth/better-auth/issues/3578 (01814)
- Make sveltekit plugin ALS-agnostic - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3533 (b5a4c)
- Use same expires at date for cookie session data payload and signature - by @PacifismPostMortem in https://github.com/better-auth/better-auth/issues/3283 (a9c19)
- Resolve notion oauth user info extraction - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3567 (7f508)
- Cast dates from db to Date when using date methods - by @erquhart in https://github.com/better-auth/better-auth/issues/3611 (5bfab)
- Twitter refresh token requires basic authentication - by @bytechase in https://github.com/better-auth/better-auth/issues/3652 (e4af2)
- Pass
loginHint
to Microsoft oauth URL - by @widavies in https://github.com/better-auth/better-auth/issues/3663 (29c0d) - Cast dates from session to Date when using date methods - by @erquhart in https://github.com/better-auth/better-auth/issues/3704 (14213)
- Incorrect initialization of remaining value within API key - by @eaoliver in https://github.com/better-auth/better-auth/issues/3648 (4833a)
- Add missing team reference in teamMember schema - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3801 (69d52)
- Await
ctx
in middleware - by @himself65 in https://github.com/better-auth/better-auth/issues/3783 (1bbdc) - Plugins options type compatibility issue with
exactOptionalPropertyTypes
enabled in ts-config - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3769 (24540) - Client secret should be optional in configuring the generic oauth plugin - by @frectonz and @Bekacru in https://github.com/better-auth/better-auth/issues/3824 (07ce7)
- Ensure zod v4 type annotations work with core types - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3834 (ae803)
- Remove deep array merge when merging hooks context - by @Adityakk9031 in https://github.com/better-auth/better-auth/issues/3160 (cf65b)
- Allow returning response object to skip after hooks - by @Bekacru in https://github.com/better-auth/better-auth/issues/3914 (eee0f)
- Handle inconsistent user update error in phone number plugin - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3925 (1ab4e)
- admin:
- Export type definitions from the admin plugin - by @daidr in https://github.com/better-auth/better-auth/issues/3628 (d1d59)
- cli:
--yes
option does not work on@better-auth/cli generate
- by @phanect in https://github.com/better-auth/better-auth/issues/3749 (2d8d0)- Prisma schema generate mismatch on custom plugin table names - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3021 (48063)
- Only show the overwrite message when the schema file exists and the code has changed - by @frectonz in https://github.com/better-auth/better-auth/issues/3826 (7c43f)
- deps:
- Update better-auth dependencies - in https://github.com/better-auth/better-auth/issues/3916 (5da96)
- expo:
- Improve cookie expiration handling - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3705 (67f84)
- generic-oauth:
- Set account id from mapped user fields when creating account - by @charlietlamb in https://github.com/better-auth/better-auth/issues/3649 (41146)
- jwt:
- Ensure alg is added to the jwks when generating via /token endpoint - by @elliottminns in https://github.com/better-auth/better-auth/issues/3601 (f9930)
- Expose jwt options to plugins - by @grant0417 in https://github.com/better-auth/better-auth/issues/3726 (60c92)
- magic-link:
- Magic link URL construction - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3770 (ec660)
- mcp:
- Redirect returns json instead of 302 - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3838 (53260)
- mssql:
- "text" datatype is not working with mssql - by @ludoblues in https://github.com/better-auth/better-auth/issues/3144 (1b614)
- org:
- Use correct slug lookup when setting active org - by @Kinfe123 (375ff)
- organization:
- Updated types for the user argument in
allowUserToCreateOrganization
to support custom fields - by @TimurBas in https://github.com/better-auth/better-auth/issues/3600 (7fa90) - Team members should be cleaned up on delete team - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3833 (9c4a7)
- Convert emails to lower case for invitation lookups - by @gwoodbridge in https://github.com/better-auth/better-auth/issues/3835 (15c1e)
- organizaton:
- Avoid cross organization member role updates - by @max-om in https://github.com/better-auth/better-auth/issues/3932 (553fd)
- plugins:
- Export siwe plugin - by @chunterb in https://github.com/better-auth/better-auth/issues/3503 (85415)
- reddit:
- Refresh access token should use
basic
auth - by @Kinfe123 in https://github.com/better-auth/better-auth/issues/3753 (669ce) - stripe:
- Prevent duplicate trials when switching plans - by @Bekacru in https://github.com/better-auth/better-auth/issues/3622 (c2fb1)
- Update customer id should also trigger secondary storage update - by @Bekacru in https://github.com/better-auth/better-auth/issues/3635 (a536d)
- Fallback to subscription id instead of picking the first sub if id is provided - by @Bekacru in https://github.com/better-auth/better-auth/issues/3696 (2ec8c)
- tiktok:
- Client id is not used for TikTok social provider - by @himself65 in https://github.com/better-auth/better-auth/issues/3846 (dabc5)
- username:
isUsernameAvailable
should validate usernames - by @ping-maxwell in https://github.com/better-auth/better-auth/issues/3680 (e60f7)isUsernameAvailable
should validate usernames " - by @Bekacru in https://github.com/better-auth/better-auth/issues/3680 and https://github.com/better-auth/better-auth/issues/3730 (4d85d)- Remove normalize transform for displayUsername - by @oskar-gmerek in https://github.com/better-auth/better-auth/issues/3912 (fa4c6)