Skip to content

v2.12.0

Choose a tag to compare

@CharlesWithC CharlesWithC released this 05 Apr 23:31
· 7 commits to main since this release
v2.12.0
e24f99e
  1. Renamed release file main to drivershub; Removed launcher
  2. Optimized app startup
    • Moved database initialization logic to main setup init-db command
    • This avoids unnecessary database queries on each startup
  3. Added timeout_worker_healthcheck=120 in uvicorn.run config
    • This should prevent "child process died" issue on low-spec servers
  4. Replaced parent with master in command line arguments
    • master refers to the main controller in multihub
    • This ensures consistency with master-db related arguments
    • This also removes the confusion with "parent server process"
  5. Migrated master-db related command line arguments to environment variables
    • MASTER_DB_HOST, MASTER_DB_USER, MASTER_DB_PASSWORD, MASTER_DB_POOLSIZE
    • This would prevent leaking credentials through process list
  6. Refactored prefixed redis implementation for more elegant approach
  7. Refactored tracker data handling to use a centralized function
  8. Fixed wrong string table key in PATCH /user/profile response
  9. Fixed naive datetime that depends on system timezone
    • Added explicit utc timezone
  10. Removed protection on config.trackers secrets in GET|PATCH /config for admin
    • This allows original secrets to be viewed and reused
    • This allows empty values to be written even without unsafe=True
    • The risk is deemed to be minimal and the benefit on convenience is justified