Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Jun 14:18
· 199 commits to main since this release

Better Auth for Go 1.0.0

First stable release of betterauth-go — a Go server compatible with Better Auth clients.

What's included

  • Auth core — sessions, cookies, CSRF, rate limiting, security hooks
  • HTTP routes — sign-in/up, email flows, sessions, users, OAuth
  • Plugins — organization, two-factor, bearer, OIDC, admin, and more
  • Stores — memory and SQL adapters (Postgres, SQLite, MySQL)
  • Providers — Google and GitHub OAuth
  • CLI — generate, migrate, secret, info, init
  • Go HTTP client — server-side Better Auth API client
  • Examples — React, Vue, Svelte, Expo, and basic Go server
  • Docs — GitHub Pages–ready documentation

Merged changes

  • Merge pull request #1 from patrickkabwe/feat/internal-crypto
  • Merge pull request #2 from patrickkabwe/feat/types-and-constants
  • Merge pull request #3 from patrickkabwe/feat/internal-apierror-oauth2
  • Merge pull request #4 from patrickkabwe/feat/internal-jwt-id
  • Merge pull request #5 from patrickkabwe/feat/store
  • Merge pull request #6 from patrickkabwe/feat/internal-cookie
  • Merge pull request #7 from patrickkabwe/feat/auth-core
  • Merge pull request #8 from patrickkabwe/feat/auth-routes
  • Merge pull request #9 from patrickkabwe/feat/providers
  • Merge pull request #10 from patrickkabwe/feat/auth-security
  • Merge pull request #12 from patrickkabwe/feat/auth-tests
  • Merge pull request #11 from patrickkabwe/feat/plugins
  • Merge pull request #13 from patrickkabwe/doc/documentation
  • Merge pull request #14 from patrickkabwe/examples
  • Merge pull request #15 from patrickkabwe/feat/cli

Install

Go module (library + CLI):

go get github.com/patrickkabwe/betterauth-go@v1.0.0
go install github.com/patrickkabwe/betterauth-go/cli@v1.0.0
betterauth --version

Prebuilt CLI — download the binary for your platform below, then:

chmod +x betterauth-<platform>   # macOS / Linux
./betterauth-<platform> secret

Assets

Platform Binary
macOS (Apple Silicon) betterauth-darwin-arm64
macOS (Intel) betterauth-darwin-amd64
Linux (amd64) betterauth-linux-amd64
Linux (arm64) betterauth-linux-arm64
Windows (amd64) betterauth-windows-amd64.exe
Windows (arm64) betterauth-windows-arm64.exe

Verify downloads with SHA256SUMS.

Full changelog: https://github.com/patrickkabwe/betterauth-go/commits/v1.0.0