diff --git a/.apiversion b/.apiversion index 760606e1..e0ea36fe 100644 --- a/.apiversion +++ b/.apiversion @@ -1 +1 @@ -5.7 +6.0 diff --git a/CHANGES.rst b/CHANGES.rst index 9216b305..66602c32 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,45 @@ Changelog .. towncrier release notes start +3.0.0b3 (2022-04-19) +===================== + +Features +-------- + +- Added possibility to get command magic result as handler argument + `#889 `_ +- Added full support of `Telegram Bot API 6.0 `_ + `#890 `_ + + +Bugfixes +-------- + +- Added parsing of spoiler message entity + `#865 `_ +- Fixed default `parse_mode` for `Message.copy_to()` method. + `#876 `_ +- Fixed CallbackData factory parsing IntEnum's + `#885 `_ + + +Misc +---- + +- Added automated check that pull-request adds a changes description to **CHANGES** directory + `#873 `_ +- Changed :code:`Message.html_text` and :code:`Message.md_text` attributes behaviour when message has no text. + The empty string will be used instead of raising error. + `#874 `_ +- Used `redis-py` instead of `aioredis` package in due to this packages was merged into single one + `#882 `_ +- Solved common naming problem with middlewares that confusing too much developers + - now you can't see the `middleware` and `middlewares` attributes at the same point + because this functionality encapsulated to special interface. + `#883 `_ + + 3.0.0b2 (2022-02-19) ===================== diff --git a/CHANGES/865.bugfix.rst b/CHANGES/865.bugfix.rst deleted file mode 100644 index bab93962..00000000 --- a/CHANGES/865.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Added parsing of spoiler message entity diff --git a/CHANGES/873.misc.rst b/CHANGES/873.misc.rst deleted file mode 100644 index 170dca4d..00000000 --- a/CHANGES/873.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Added automated check that pull-request adds a changes description to **CHANGES** directory diff --git a/CHANGES/874.misc.rst b/CHANGES/874.misc.rst deleted file mode 100644 index d167c1d8..00000000 --- a/CHANGES/874.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Changed :code:`Message.html_text` and :code:`Message.md_text` attributes behaviour when message has no text. -The empty string will be used instead of raising error. diff --git a/CHANGES/876.bugfix b/CHANGES/876.bugfix deleted file mode 100644 index b4fded2e..00000000 --- a/CHANGES/876.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed default `parse_mode` for `Message.copy_to()` method. diff --git a/CHANGES/882.misc.rst b/CHANGES/882.misc.rst deleted file mode 100644 index ca8b0ba4..00000000 --- a/CHANGES/882.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Used `redis-py` instead of `aioredis` package in due to this packages was merged into single one diff --git a/CHANGES/883.misc.rst b/CHANGES/883.misc.rst deleted file mode 100644 index 8496c902..00000000 --- a/CHANGES/883.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Solved common naming problem with middlewares that confusing too much developers -- now you can't see the `middleware` and `middlewares` attributes at the same point -because this functionality encapsulated to special interface. diff --git a/CHANGES/885.bugfix.rst b/CHANGES/885.bugfix.rst deleted file mode 100644 index 6d1bb095..00000000 --- a/CHANGES/885.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed CallbackData factory parsing IntEnum's diff --git a/CHANGES/889.feature.rst b/CHANGES/889.feature.rst deleted file mode 100644 index 8e58304c..00000000 --- a/CHANGES/889.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added possibility to get command magic result as handler argument diff --git a/CHANGES/890.feature.rst b/CHANGES/890.feature.rst deleted file mode 100644 index 10c60c05..00000000 --- a/CHANGES/890.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added full support of `Telegram Bot API 6.0 `_ diff --git a/Makefile b/Makefile index 8d9abab8..37a2b2b1 100644 --- a/Makefile +++ b/Makefile @@ -139,8 +139,10 @@ towncrier-draft-github: towncrier build --draft | pandoc - -o dist/release.md .PHONY: prepare-release -prepare-release: bump towncrier-draft-github towncrier-build +prepare-release: bump towncrier-build -.PHONY: tag-release -tag-release: - git tag v$(poetry version -s) +.PHONY: release +release: + git add . + git commit -m "Release $(shell poetry version -s)" + git tag v$(shell poetry version -s) diff --git a/README.rst b/README.rst index 99b88c07..df29b800 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,7 @@ aiogram |beta badge| :target: https://pypi.python.org/pypi/aiogram :alt: Supported python versions -.. image:: https://img.shields.io/badge/Telegram%20Bot%20API-5.7-blue.svg?logo=telegram +.. image:: https://img.shields.io/badge/Telegram%20Bot%20API-6.0-blue.svg?logo=telegram :target: https://core.telegram.org/bots/api :alt: Telegram Bot API @@ -71,8 +71,8 @@ Features .. warning:: - It is strongly advised that you have prior experience working - with `asyncio `_ + It is strongly advised that you have prior experience working + with `asyncio `_ before beginning to use **aiogram**. If you have any questions, you can visit our community chats on Telegram: diff --git a/aiogram/__init__.py b/aiogram/__init__.py index d734cb83..50973dd6 100644 --- a/aiogram/__init__.py +++ b/aiogram/__init__.py @@ -39,5 +39,5 @@ __all__ = ( "flags", ) -__version__ = "3.0.0b2" -__api_version__ = "5.7" +__version__ = "3.0.0b3" +__api_version__ = "6.0" diff --git a/pyproject.toml b/pyproject.toml index ba67b272..8e85e24d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aiogram" -version = "3.0.0-beta.2" +version = "3.0.0-beta.3" description = "Modern and fully asynchronous framework for Telegram Bot API" authors = [ "Alex Root Junior ",