Skip to content

v5.0.0

Choose a tag to compare

@EXG1O EXG1O released this 30 Jun 21:59

This repository has been renamed to Constructor-Telegram-Bots-Backend.

Additionally, this repository is no longer considered the main repository for the Constructor Telegram Bots project and now serves exclusively as the backend.

For self-hosting, please refer to the EXG1O/Constructor-Telegram-Bots repository.

Modules

Features

  • Create ContentTooLargeError exception by @EXG1O in #285
  • Create TriggerWebhook model in telegram_bots app by @EXG1O in #286 #289
  • Add new ServiceClient.send_trigger method in telegram_bots/hub app by @EXG1O in #287 #316
  • Create webhooks app by @EXG1O in #288
  • Add infrastructure for handling and forwarding Telegram webhooks to microservice in telegram_bots/hub app by @EXG1O in #296
  • Create hubs autoscaling system for telegram_bots/hub app by @EXG1O in #298
  • Create ensure_idle_telegram_bots_hubs task in telegram_bots/hub app by @EXG1O in #299
  • Add LimitOffsetPagination pagination to UserViewSet view in telegram_bots/hub app by @EXG1O in #300
  • Create BackgroundTaskFilter filter for BackgroundTaskViewSet view in telegram_bots/hub app by @EXG1O in #301
  • Add has_source_connections field to TriggerFilter filter of TriggerViewSet view in telegram_bots/hub app by @EXG1O in #302
  • Dockerize repo by @EXG1O in #303 #310
  • Create Chat model in telegram_bots app by @EXG1O in #306 #308 #309
  • Add DjangoFilterBackend filter to UserViewSet view in telegram_bots app by @EXG1O in #307
  • Create TriggerWebhookSerializer serializer in telegram_bots/hub app by @EXG1O in #313
  • Create ChatViewSet and UserViewSet view filters in telegram_bots/hub app by @EXG1O in #314
  • Create users action for ChatViewSet view in telegram_bots/hub app by @EXG1O in #315
  • Create ChatViewSet view in telegram_bots app by @EXG1O in #318
  • Migrate from legacy Telegram Login authentication to new one by @EXG1O in #320
  • Add cleanup of hubs on celery shutdown signal by @EXG1O in #321

Enhancements

  • Improve service client of telegram_bots/hub app by @EXG1O in #281 #282 #290
  • Increase max_length of api_token field in TelegramBot model of telegram_bots app by @EXG1O in #283
  • Improve API response status in views of users app by @EXG1O in #284
  • Improve validate_api_token validator in telegram_bots app by @EXG1O in #291
  • Update TelegramBotsHub model of telegram_bots/hub app by @EXG1O in #294
  • Import all tests by @EXG1O in #297
  • Update TriggerWebhookAPIView view in webhooks app by @EXG1O in #312
  • Update dependencies to latest backward-compatible versions by @EXG1O in #325

Fixes

  • Fix TelegramBot.update serializer method in telegram_bots app by @EXG1O in #305
  • Fix TriggerFilter.filter_has_field filter method in telegram_bots/hub app by @EXG1O in #317
  • Fix media cleanup on user deletion in users app by @EXG1O in #324

Refactors

  • Remove unnecessary prefetch from trigger queryset in DiagramTriggerViewSet view of telegram_bots app by @EXG1O in #280
  • Move utils package to constructor_telegram_bots app by @EXG1O in #292
  • Move assert_view_basic_protected util to constructor_telegram_bots app by @EXG1O in #293
  • Remove create_hub command from telegram_bots/hub app by @EXG1O in #295
  • Delete install.sh script by @EXG1O in #304
  • Remove unused filters of ChatViewSet and UserViewSet views in telegram_bots/hub app by @EXG1O in #311
  • Migrate from requests lib to httpcore lib by @EXG1O in #319
  • Create get_telegram_bot_file_names util in telegram_bots app by @EXG1O in #322
  • Refactor views and auth utils in users app by @EXG1O in #323

Full Changelog: v4.3.0...v5.0.0