Pre-Release 0.4 - API Tokens
Pre-release
Pre-release
馃帀 What's New in 0.4 (Pre-release)
Token-Based Authentication & System Overhaul
Version 0.4 introduces a major overhaul to the authentication system, replacing traditional user accounts with a more robust API Token system.
Critical Changes
- Database Migration: You MUST set
MIGRATE_DATABASE=Truein your environment variables to upgrade your database schema. The application will not start without this if a migration is pending. (only applies for database created with version 0.3 and lower) - User System: "Standard Users" have been replaced by API Tokens.
Features & Improvements
- API Tokens: New endpoints to create, list, manage, and refresh API tokens with specific message limits.
- Unified Auth: Support for both
Authorization: Bearer <TOKEN>andX-API-Key: <TOKEN>. - Token Refresh: Ability to rotate a token's secret while keeping the same ID and history.
- Expanded Access: API Tokens can now access
/adb/list-devices. - Status Info:
GET /auth/@menow returns detailed quota information.