WebAppUser Class Fields: Added missing is_premium, added_to_attachment_menu, and allows_write_to_pm fields to WebAppUser class to align with the Telegram API.
WebAppChat Class Implementation: Introduced the WebAppChat class with all its fields (id, type, title, username, and photo_url) as specified in the Telegram API, which was previously missing from the library.
WebAppInitData Class Fields: Included previously omitted fields in the WebAppInitData class: chat, chat_type, chat_instance, to match the official documentation for a complete Telegram Web Apps support.
A simple, but extensible Python implementation for the Telegram Bot API.
Both synchronous and asynchronous.
Supported Bot API version: 7.1!
В последнем обновлении были добавлены новые функции для администраторов супергрупп: возможность публикации, редактирования и удаления историй.
Также представлен новый класс ChatBoostAdded
и поле boost_added
для сервисных сообщений о пожертвованиях в чате.
Добавлены поля sender_boost_count
в класс Message
для отображения количества пожертвований пользователя, reply_to_story
для ответов на истории, а также chat
и id
в класс Story
для улучшенной интеграции историй.
В класс Chat
введено поле unrestrict_boost_count
, позволяющее учитывать пожертвования без ограничений, и custom_emoji_sticker_set_name
для персонализированных наборов стикеров эмодзи.
Эти обновления направлены на расширение возможностей управления контентом и интерактивности в чатах.
Группа глобального развития PostgreSQL выпустила обновление для всех поддерживаемых версий PostgreSQL, включая 16.2, 15.6, 14.11, 13.14 и 12.18. В этом выпуске исправлена одна уязвимость безопасности и более 65 ошибок, о которых сообщалось за последние несколько месяцев.
Если вы используете индексы GIN, вам может потребоваться переиндексация после обновления до этой версии. Дополнительную информацию см. в примечаниях к выпуску.
Полный список изменений можно найти в примечаниях к выпуску.
Django 5.0.2 fixes a security issue with severity “moderate” and several bugs in 5.0.1. Also, the latest string translations from Transifex are incorporated.
intcomma
template filter¶The intcomma
template filter was subject to a potential denial-of-service attack when used with very long strings.
In accordance with our security release policy, the Django team is issuing Django 5.0.2, Django 4.2.10, and Django 3.2.24. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
Reworked bot-wide globals like parse_mode
, disable_web_page_preview
, and others to be more flexible. #1392
A new enum KeyboardButtonPollTypeType
for KeyboardButtonPollTypeType.type
field has bed added. #1398
Update KeyboardBuilder utility, fixed type-hints for button method, adjusted limits of the different markup types to real world values. #1399