mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bump version
This commit is contained in:
parent
dfc88fc907
commit
754535a2aa
3 changed files with 35 additions and 26 deletions
34
CHANGES.rst
34
CHANGES.rst
|
|
@ -16,6 +16,40 @@ Changelog
|
||||||
|
|
||||||
.. towncrier release notes start
|
.. towncrier release notes start
|
||||||
|
|
||||||
|
3.15.0 (2024-11-17)
|
||||||
|
====================
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Added full support for `Bot API 8.0 <https://core.telegram.org/bots/api-changelog#november-17-2024>`_
|
||||||
|
|
||||||
|
- Added the parameter :code:`subscription_period` to the method
|
||||||
|
:class:`aiogram.methods.create_invoice_link.CreateInvoiceLink`
|
||||||
|
to support the creation of links that are billed periodically.
|
||||||
|
- Added the parameter :code:`business_connection_id` to the method
|
||||||
|
:class:`aiogram.methods.create_invoice_link.CreateInvoiceLink`
|
||||||
|
to support the creation of invoice links on behalf of business accounts.
|
||||||
|
- Added the fields :code:`subscription_expiration_date`,
|
||||||
|
:code:`is_recurring` and :code:`is_first_recurring` to the class
|
||||||
|
:class:`aiogram.types.successful_payment.SuccessfulPayment`.
|
||||||
|
- Added the method :class:`aiogram.methods.edit_user_star_subscription.EditUserStarSubscription`.
|
||||||
|
- Added the field :code:`subscription_period` to the class
|
||||||
|
:class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`.
|
||||||
|
- Added the method :class:`aiogram.methods.set_user_emoji_status.SetUserEmojiStatus`.
|
||||||
|
The user must allow the bot to manage their emoji status.
|
||||||
|
- Added the class :class:`aiogram.types.prepared_inline_message.PreparedInlineMessage`
|
||||||
|
and the method :class:`aiogram.methods.save_prepared_inline_message.SavePreparedInlineMessage`,
|
||||||
|
allowing bots to suggest users send a specific message from a Mini App via the method
|
||||||
|
:class:`aiogram.methods.share_message.ShareMessage`.
|
||||||
|
- Added the classes :class:`aiogram.types.gift.Gift` and :class:`aiogram.types.gifts.Gifts`
|
||||||
|
and the method :class:`aiogram.methods.get_available_gifts.GetAvailableGifts`,
|
||||||
|
allowing bots to get all gifts available for sending.
|
||||||
|
- Added the field :code:`gift` to the class
|
||||||
|
:class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`.
|
||||||
|
`#1606 <https://github.com/aiogram/aiogram/issues/1606>`_
|
||||||
|
|
||||||
|
|
||||||
3.14.0 (2024-11-02)
|
3.14.0 (2024-11-02)
|
||||||
====================
|
====================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
Added full support for `Bot API 8.0 <https://core.telegram.org/bots/api-changelog#november-17-2024>`_
|
|
||||||
|
|
||||||
- Added the parameter :code:`subscription_period` to the method
|
|
||||||
:class:`aiogram.methods.create_invoice_link.CreateInvoiceLink`
|
|
||||||
to support the creation of links that are billed periodically.
|
|
||||||
- Added the parameter :code:`business_connection_id` to the method
|
|
||||||
:class:`aiogram.methods.create_invoice_link.CreateInvoiceLink`
|
|
||||||
to support the creation of invoice links on behalf of business accounts.
|
|
||||||
- Added the fields :code:`subscription_expiration_date`,
|
|
||||||
:code:`is_recurring` and :code:`is_first_recurring` to the class
|
|
||||||
:class:`aiogram.types.successful_payment.SuccessfulPayment`.
|
|
||||||
- Added the method :class:`aiogram.methods.edit_user_star_subscription.EditUserStarSubscription`.
|
|
||||||
- Added the field :code:`subscription_period` to the class
|
|
||||||
:class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`.
|
|
||||||
- Added the method :class:`aiogram.methods.set_user_emoji_status.SetUserEmojiStatus`.
|
|
||||||
The user must allow the bot to manage their emoji status.
|
|
||||||
- Added the class :class:`aiogram.types.prepared_inline_message.PreparedInlineMessage`
|
|
||||||
and the method :class:`aiogram.methods.save_prepared_inline_message.SavePreparedInlineMessage`,
|
|
||||||
allowing bots to suggest users send a specific message from a Mini App via the method
|
|
||||||
:class:`aiogram.methods.share_message.ShareMessage`.
|
|
||||||
- Added the classes :class:`aiogram.types.gift.Gift` and :class:`aiogram.types.gifts.Gifts`
|
|
||||||
and the method :class:`aiogram.methods.get_available_gifts.GetAvailableGifts`,
|
|
||||||
allowing bots to get all gifts available for sending.
|
|
||||||
- Added the field :code:`gift` to the class
|
|
||||||
:class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`.
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
__version__ = "3.14.0"
|
__version__ = "3.15.0"
|
||||||
__api_version__ = "8.0"
|
__api_version__ = "8.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue