You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ship the four additive items from the 2026-06-22 consumer feedback session as a single v2.5.0 release. No breaking changes. Byte-stable public API preserved.
Shipping any one of these alone would leave consumers stitching together stopgaps. Together they kill the ~140 LOC of local workarounds our reference consumer is maintaining.
docs/MIGRATION.md v2.4 → v2.5 section (no break, but ergonomics shift)
New examples/hooks/ and examples/multi-tenant/
theauth.dev docs updated under Concepts > Hooks and Concepts > Tenancy
go test -race -count=3 ./... clean
No em dashes or en dashes added
Release tagged v2.5.0, signed per docs/RELEASING.md
Reference
Closes the gap with better-auth (TS) on hooks ergonomics while keeping the Go + RFC-complete + self-host triangle that nothing else owns. See conversation thread for full competitive read.
Goal
Ship the four additive items from the 2026-06-22 consumer feedback session as a single v2.5.0 release. No breaking changes. Byte-stable public API preserved.
Why a bundled release
Each item compounds the others:
OnSignupthat tenancy (feat(tenancy): public helpers + optional auto-create personal org (kill the SQL-seeding friction) #77) relies on for auto-provisioning.Shipping any one of these alone would leave consumers stitching together stopgaps. Together they kill the ~140 LOC of local workarounds our reference consumer is maintaining.
Scope
Config.Hookssurface (OnSignup, OnSignin, OnPasswordChange, OnMFAEnabled, OnTokenIssued, OnOrgSwitch)RequireAuthemits RFC 7807 (consistency withRequirePermission)internal/*Out of scope (explicitly)
/v3correction (chore(modpath): correct go.mod to /v3 per Go Semantic Import Versioning (deferred to v3.0.0) #80) — requires major version bump, deferred to a future v3.0.0Ship order
OnSignupfor tenant provisioning.Acceptance for the release
[2.5.0]section with grouped entriesdocs/MIGRATION.mdv2.4 → v2.5 section (no break, but ergonomics shift)examples/hooks/andexamples/multi-tenant/theauth.devdocs updated under Concepts > Hooks and Concepts > Tenancygo test -race -count=3 ./...cleanv2.5.0, signed perdocs/RELEASING.mdReference
Closes the gap with better-auth (TS) on hooks ergonomics while keeping the Go + RFC-complete + self-host triangle that nothing else owns. See conversation thread for full competitive read.
Source: consumer feedback session 2026-06-22