[PR #1345] [MERGED] feat(username): add default validation and options for validating username #3767

Closed
opened 2026-03-13 11:10:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1345
Author: @Bekacru
Created: 2/3/2025
Status: Merged
Merged: 2/14/2025
Merged by: @Bekacru

Base: mainHead: fix/username


📝 Commits (5)

  • 6e6aec7 feat: add default validation and options for validating username
  • b0654fa chore: release v1.1.16-beta.5
  • ac2d865 fix: include update-user
  • 6a41f8a chore: release v1.1.16-beta.6
  • 300419a Merge branch 'main' into fix/username

📊 Changes

3 files changed (+181 additions, -9 deletions)

View changed files

📝 docs/content/docs/plugins/username.mdx (+57 -0)
📝 packages/better-auth/src/plugins/username/index.ts (+90 -1)
📝 packages/better-auth/src/plugins/username/username.test.ts (+34 -8)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1345 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 2/3/2025 **Status:** ✅ Merged **Merged:** 2/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/username` --- ### 📝 Commits (5) - [`6e6aec7`](https://github.com/better-auth/better-auth/commit/6e6aec7abdafc6c57333daf58bbac9f86bd10e21) feat: add default validation and options for validating username - [`b0654fa`](https://github.com/better-auth/better-auth/commit/b0654fadb783a2c15163d043c16050fab9cfb3ab) chore: release v1.1.16-beta.5 - [`ac2d865`](https://github.com/better-auth/better-auth/commit/ac2d8659ce68e17db15d93ecb7e6db93e1e17522) fix: include update-user - [`6a41f8a`](https://github.com/better-auth/better-auth/commit/6a41f8abc125d1d9c0ddb370f917188cb9f0999d) chore: release v1.1.16-beta.6 - [`300419a`](https://github.com/better-auth/better-auth/commit/300419a741b9681879a3063a7cec293ce147db97) Merge branch 'main' into fix/username ### 📊 Changes **3 files changed** (+181 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/username.mdx` (+57 -0) 📝 `packages/better-auth/src/plugins/username/index.ts` (+90 -1) 📝 `packages/better-auth/src/plugins/username/username.test.ts` (+34 -8) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:10:58 -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#3767