Changes
Patch Release - API key user association and dependency updates
Overview
Bug fix release addressing API key user association for audit tracking. Fixes issue where approval endpoints requiring user IDs for audit tracking would fail when accessed via API key authentication due to missing user context in session data.
Bug Fixes
- Fixed API key user association: API keys now properly associated with admin users for audit tracking
- Resolved session user context: API key authentication now populates session with user data for downstream operations
- Fixed approval endpoint failures: Approval routes requiring user IDs now work correctly with API key authentication
Technical Changes
- Migration 056: Added
user_id
column toapi_keys
table with automatic user assignment - Enhanced API key service: Improved cache management and error resilience during refresh operations
- Updated authentication flow: API key verification now provides full user session context
- Improved type safety: Added user_id to API key schemas and response types
Dependencies
- React: Updated to v19.1.11 for latest stability improvements
- Vite React Plugin: Updated to v5.0.2 for improved build performance
- p-limit: Updated to v7.1.1 for enhanced concurrency control
- Lock file maintenance: Updated package-lock.json for security and compatibility
Migration & Compatibility
No user action required - migration runs automatically on startup.
Database Migration: Migration 056 handles both fresh installations and existing systems. For existing installations, all API keys are automatically associated with the primary admin user.
API Compatibility: No breaking changes to existing API endpoints. All functionality remains the same with improved audit tracking support.
Full Changelog: v0.5.7...v0.5.8
Docker Image: ghcr.io/jamcalli/pulsarr:latest
Upgrade Path: Pull latest image and restart container - migration runs automatically
🔄 Dependencies
- chore(deps): lock file maintenance (#531) @renovate[bot]
- fix(deps): update dependency p-limit to v7.1.1 (#530) @renovate[bot]
- fix(deps): update dependency @vitejs/plugin-react to v5.0.2 (#529) @renovate[bot]
- fix(deps): update react (#528) @renovate[bot]
Docker
docker pull lakker/pulsarr:0.5.8
Contributors
@jamcalli, @renovate[bot] and renovate[bot]