[PR #8750] feat: expose plugin version #16435

Closed
opened 2026-04-13 10:31:14 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8750

State: closed
Merged: Yes


What is changing?
The BetterAuthPlugin interface now supports an optional version field which plugins can use to expose their version. All plugins we support were also updated to expose their version.

Note: tsdown is able to completely inline the version value down to a constant, should this should have minimal impact on bundle sizes.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8750 **State:** closed **Merged:** Yes --- **What is changing?** The `BetterAuthPlugin` interface now supports an optional `version` field which plugins can use to expose their version. All plugins we support were also updated to expose their version. **Note**: `tsdown` is able to completely inline the version value down to a constant, should this should have minimal impact on bundle sizes.
GiteaMirror added the pull-request label 2026-04-13 10:31:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16435