Skip to content

Releases: pavel-glukhov/Secret-Santa-Telegram-Bot

v 0.4.3

28 Dec 09:08

Choose a tag to compare

🔖 Release v0.4.3

What's new

  • Updated dialogues
  • Added 'invite friend' button in room's menu
  • Fixed some bugs

v 0.4.2

17 Dec 18:10

Choose a tag to compare

🔖 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_app

Graceful 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

03 Aug 08:19

Choose a tag to compare

  • Added the ability to join a room using a URL.
  • Dialogues updated.
  • Application logic fixed.