Skip to main content

v0.0.6

Better Auth Teams release with workspace team management and team-targeted invitations.

SectionHistory / Releases
UpdatedJul 6, 2026
AuthorTemplate Maintainers
Versionv0.0.6
Reading time2 min

v0.0.6

v0.0.6 enables Better Auth Teams and adds real workspace team management. Teams are explicit subgroups inside a workspace, and new workspaces do not create a default team automatically.

Highlights

  • Enabled Better Auth Teams for organization-backed workspaces.
  • Added Prisma persistence for teams, team members, invitation team targets, and active team sessions.
  • Added /w/:organizationKey/settings/teams as a real management page.
  • Added create, rename, delete, team-member add, and team-member remove flows.
  • Added optional team targeting to workspace invitations and invitation review surfaces.
  • Added English and Russian copy for team management and team-targeted invitations.

What changed for template users

Authorized members can manage explicit teams in workspace settings. Regular members can still view teams in read-only mode where access is allowed. Team names are unique inside a workspace, and team membership is limited to existing workspace members.

Invitations can target a team. When the invitee accepts, they join both the workspace and the selected team.

Upgrade notes

  • A Prisma migration is required for teams, team members, invitation team targets, and active team sessions.
  • New workspaces intentionally start with zero explicit teams.
  • Deleting the last explicit team is allowed; the workspace organization remains the all-members context.
  • Active team state is stored on the Better Auth session and can be cleared independently of the active workspace.

Quality

The release adds action, repository, schema, page, and invitation-loader tests for team creation, rename, delete, duplicate-name rejection, permission checks, member assignment, team-targeted invitations, active-team validation, and read-only page states.