v0.2.0
Organizations, API keys, and public IDs
This release adds first-class multi-tenant organizations, scoped API keys, public identifiers, and expanded storage support across Limen and its TypeScript client.
Organizations
The new Organization plugin provides:
- Organization creation and management
- Active organizations per session
- Members and invitations
- Built-in and custom roles
- Role-based permissions
- Configurable membership and organization limits
- Organization-scoped API keys
The TypeScript client includes reactive organization and membership state, plus can and canAny helpers for permission-aware interfaces.
API keys
The new API Key plugin lets users and organizations issue credentials for scripts, services, and integrations.
Keys support:
- Scoped permissions
- Profiles for different credential types
- Expiration and rotation
- Temporary disabling and permanent revocation
- Per-key rate limits
- Custom metadata
- User, organization, and custom ownership models
Limen stores only key hashes. Plaintext credentials are returned once when created or rotated.
Public IDs
Expose application-friendly public identifiers while retaining your existing internal primary keys.
Redis cache adapter
Limen now includes an official Redis cache adapter for shared sessions, rate limits, API-key verification, and other cache-backed features.
go get github.com/thecodearcher/limen/adapters/redisOther improvements
- Email addresses are normalized consistently across authentication flows.
- Session handling is more reliable when switching organizations or refreshing tokens.
- Schema customization now extends to plugin-owned tables.
- Validation, error reporting, and query handling have been improved.
- The TypeScript client has expanded reactive stores and plugin APIs.
See the documentation for setup guides, configuration, and more