Releases: pavel-glukhov/Secret-Santa-Telegram-Bot
Releases · pavel-glukhov/Secret-Santa-Telegram-Bot
v 0.4.3
v 0.4.2
🔖 Release v0.4.2
What's new
Application runtimes refactoring
- Application startup logic has been reworked and separated from runtime logic.
- Added independent runtimes for different deployment scenarios:
- Polling runtime — for local development, testing, and small bots
- Webhook runtime — for production environments with HTTPS
New run commands
- Polling mode:
python -m app.runtimes.polling- Webhook mode:
uvicorn app.runtimes.webhook:create_appGraceful shutdown for polling
- Correct handling of
SIGINT/SIGTERM - Proper shutdown of:
- polling loop
- scheduler
- Telegram bot session
- Prevents hanging tasks and unclean exits
Documentation update
- Fully updated README.md and README.ru.md
- Added detailed explanation of application runtimes
- Clarified when to use polling vs webhook
- Removed outdated startup instructions
Version
0.4.2
v 0.4.1
- Added the ability to join a room using a URL.
- Dialogues updated.
- Application logic fixed.