New Features
Background Tasks
-
File Janitor
Add a daily background task to automatically clean up orphaned files and expired uploads, preventing leftover files from occupying storage space. -
Asynq Worker Initialization
Initialize Asynq in the main application and establish the foundation for asynchronous background task processing.
Configuration
- SMTP Configuration
Add SMTP configuration options toconfig.example.yamlin preparation for upcoming email notification features.
Bug Fixes
-
Redis Startup Retry
Fix backend crashes caused by Redis not being ready during container startup by introducing up to 10 retry attempts with an exponential backoff strategy (300ms → 810ms → 2.2s, capped at 15s). -
CI Release Workflow
Fix the conditional logic for publishing theedgetag in the GitHub Actions workflow.
Improvements
-
Request Logging
Enhance the logger middleware to include HTTP methods and client IP addresses for easier debugging and request tracing. -
Temporary File Handling
Refactor temporary file cleanup logic and unify the temporary file lifecycle management process.
Contributors
Welcome our new contributor @TrapStoner 🎉
- @TrapStoner — Implemented the Redis startup retry mechanism with exponential backoff.
What's Changed
- fix(redis): retry with exponential backoff on startup by @TrapStoner in #42
New Contributors
- @TrapStoner made their first contribution in #42
Full Changelog: 0.11.0...0.12.0