latest0.6.1

Changelog

Product updates, package releases, and documentation improvements for AuthInGo.

Demo API endpoint polish

Playground examples now point at the hosted demo auth backend so the docs can run live authentication flows.

PlaygroundDocsDemo API
View git log

Changed

  • Updated playground configuration to use the deployed AuthInGo demo endpoint.
  • Kept examples editable while preserving the official React SDK file structure.

Refresh rotation and cross-tab sessions

AuthInGo gained stronger session lifecycle behavior across the Go core, PostgreSQL adapter, React SDK, and docs playgrounds.

CoreReact SDKSessionsPostgres
View git log

Added

  • Refresh token rotation for persistent, database-backed sessions.
  • Cross-tab logout synchronization in the React SDK.
  • Hosted demo server configuration for cross-site cookie testing.

Improved

  • Expanded documentation around React SDK usage, session checks, and Postgres storage.
  • Added the playground shell used by the interactive docs examples.

Project licensing

The repository now includes a formal MIT license for clearer reuse and contribution expectations.

Project
View git log

Added

  • Added the MIT license to the AuthInGo repository.

Package documentation indexing

Go package-level docs were added so AuthInGo surfaces more cleanly on pkg.go.dev.

DocsGo
View git log

Added

  • Added package-level doc.go files for Go documentation indexing.

Automated session garbage collection

Expired database sessions are now cleaned up automatically by the AuthInGo engine.

CoreSessions
View git log

Added

  • Introduced a background cleanup loop for expired sessions.
  • Kept session cleanup behind the storage adapter interface.

Global AuthProvider for React

The React SDK gained global auth state, session checking, and logout helpers for app-wide authentication flows.

React SDKProvider
View git log

Added

  • Introduced the global AuthProvider and useAuth hook.
  • Added silent session refresh handling in the client fetcher.
  • Updated documentation for the React authentication flow.

Refresh tokens and Postgres adapter split

AuthInGo added persistent refresh sessions and moved PostgreSQL storage into an isolated adapter module.

PostgresSessionsAdapter
View git log

Added

  • Added refresh token rotation support for long-lived sessions.
  • Separated the PostgreSQL adapter into its own module.

Initial Go release

The first AuthInGo release established the Go authentication engine and opaque session model.

CoreGo
View git log

Added

  • Released the initial Go authentication core.
  • Established opaque, database-backed sessions as the foundation.