Skip to content

GoForge v0.20.0

Choose a tag to compare

@ShanilKoshitha ShanilKoshitha released this 14 Sep 20:15
· 42 commits to main since this release
273f735

GoForge v0.20.0 adds named, expiring personal API tokens to fresh format-14 applications.

Highlights:

  • Create, list, and revoke tokens through ordinary JSON controllers or the CSRF-protected account-security page.
  • Return the raw token exactly once while persisting only a selector and cryptographic digest.
  • Authenticate strict Bearer credentials as the existing auth.User, preserving application-owned policies and SQL scopes.
  • Invalidate prior tokens when credentials are rotated through password change, password reset, or sign-out-everywhere.
  • Keep routes, middleware, repositories, migrations, controllers, and views as inspectable application-owned Go, SQL, and Forge templates.

Fresh format-14 source intentionally pins the public v0.19.0 runtime because this workflow adds application-owned source and requires no new runtime package.

Install:

go install github.com/ShanilKoshitha/goforge/cmd/forge@v0.20.0

See the personal API token guide for the generated workflow and security model.