TimekeeperV2 API v2.0.0: Flask to FastAPI Major Update
TimekeeperV2 API v2.0.0 - MAJOR UPDATE
๐ Complete Flask โ FastAPI Migration with Threading Model
Release Date: 2025-01-18
Type: MAJOR BREAKING CHANGES
Migration Required: YES - API endpoints changed from /api/v1/ to /api/v2/
โ ๏ธ BREAKING CHANGES
API Endpoint Changes
- All endpoints moved from
/api/v1/*to/api/v2/* - Clients must update their API base URLs
- WebSocket endpoint remains at
/ws(no change) - GraphQL now available at
/api/v2/graphql
Architecture Changes
- Flask completely removed - Now 100% FastAPI
- Threading model: API runs in separate thread (not asyncio.create_task)
- No more Flask dependencies: Removed Flask, flask-cors, Werkzeug, waitress
Removed Routes
/api/v1/analytics- Functionality merged into insights/api/v1/categories- Functionality merged into core routes/api/v1/config- Server-side config only/api/v1/export- Planned for future release/api/v1/permissions- Merged into admin routes/api/v1/status- Replaced by/healthand/health/detailed/api/v1/tier_management- Merged into auth routes