diff --git a/README.md b/README.md index 4bea22bc..c54c2f50 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![PyPi status](https://img.shields.io/pypi/status/aiogram.svg?style=flat-square)](https://pypi.python.org/pypi/aiogram) [![Downloads](https://img.shields.io/pypi/dm/aiogram.svg?style=flat-square)](https://pypi.python.org/pypi/aiogram) [![Supported python versions](https://img.shields.io/pypi/pyversions/aiogram.svg?style=flat-square)](https://pypi.python.org/pypi/aiogram) -[![Telegram Bot API](https://img.shields.io/badge/Telegram%20Bot%20API-4.5-blue.svg?style=flat-square&logo=telegram)](https://core.telegram.org/bots/api) +[![Telegram Bot API](https://img.shields.io/badge/Telegram%20Bot%20API-4.6-blue.svg?style=flat-square&logo=telegram)](https://core.telegram.org/bots/api) [![Documentation Status](https://img.shields.io/readthedocs/aiogram?style=flat-square)](http://docs.aiogram.dev/en/latest/?badge=latest) [![Github issues](https://img.shields.io/github/issues/aiogram/aiogram.svg?style=flat-square)](https://github.com/aiogram/aiogram/issues) [![MIT License](https://img.shields.io/pypi/l/aiogram.svg?style=flat-square)](https://opensource.org/licenses/MIT) diff --git a/README.rst b/README.rst index da323e03..39c5ac25 100644 --- a/README.rst +++ b/README.rst @@ -21,7 +21,7 @@ AIOGramBot :target: https://pypi.python.org/pypi/aiogram :alt: Supported python versions -.. image:: https://img.shields.io/badge/Telegram%20Bot%20API-4.5-blue.svg?style=flat-square&logo=telegram +.. image:: https://img.shields.io/badge/Telegram%20Bot%20API-4.6-blue.svg?style=flat-square&logo=telegram :target: https://core.telegram.org/bots/api :alt: Telegram Bot API diff --git a/aiogram/__init__.py b/aiogram/__init__.py index ed995988..169eed5f 100644 --- a/aiogram/__init__.py +++ b/aiogram/__init__.py @@ -38,5 +38,5 @@ __all__ = [ 'utils' ] -__version__ = '2.5.1dev1' -__api_version__ = '4.5' +__version__ = '2.6.1' +__api_version__ = '4.6' diff --git a/aiogram/bot/api.py b/aiogram/bot/api.py index 5c6ce74d..a6dbd0ea 100644 --- a/aiogram/bot/api.py +++ b/aiogram/bot/api.py @@ -153,7 +153,7 @@ class Methods(Helper): """ Helper for Telegram API Methods listed on https://core.telegram.org/bots/api - List is updated to Bot API 4.5 + List is updated to Bot API 4.6 """ mode = HelperMode.lowerCamelCase diff --git a/aiogram/utils/text_decorations.py b/aiogram/utils/text_decorations.py index 5b2cf51c..ad52c9d7 100644 --- a/aiogram/utils/text_decorations.py +++ b/aiogram/utils/text_decorations.py @@ -114,7 +114,7 @@ html_decoration = TextDecoration( quote=html.escape, ) -MARKDOWN_QUOTE_PATTERN = re.compile(r"([_*\[\]()~`>#+\-|{}.!])") +MARKDOWN_QUOTE_PATTERN = re.compile(r"([_*\[\]()~`>#+\-=|{}.!])") markdown_decoration = TextDecoration( link="[{value}]({link})", diff --git a/docs/source/index.rst b/docs/source/index.rst index e81deb7f..71ed04d9 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -22,7 +22,7 @@ Welcome to aiogram's documentation! :target: https://pypi.python.org/pypi/aiogram :alt: Supported python versions - .. image:: https://img.shields.io/badge/Telegram%20Bot%20API-4.5-blue.svg?style=flat-square&logo=telegram + .. image:: https://img.shields.io/badge/Telegram%20Bot%20API-4.6-blue.svg?style=flat-square&logo=telegram :target: https://core.telegram.org/bots/api :alt: Telegram Bot API diff --git a/docs/source/install.rst b/docs/source/install.rst index 58c0f208..e4717a42 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -15,7 +15,7 @@ Using Pipenv Using AUR --------- -*aiogram* is also available in Arch User Repository, so you can install this framework on any Arch-based distribution like ArchLinux, Antergos, Manjaro, etc. To do this, use your favorite AUR-helper and install `python-aiogram `_ package. +*aiogram* is also available in Arch User Repository, so you can install this framework on any Arch-based distribution like ArchLinux, Antergos, Manjaro, etc. To do this, use your favorite AUR-helper and install the `python-aiogram `_ package. From sources ------------ @@ -52,7 +52,7 @@ You can speedup your bots by following next instructions: $ pip install uvloop -- Use `ujson `_ instead of default json module. +- Use `ujson `_ instead of the default json module. *UltraJSON* is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3. @@ -64,9 +64,9 @@ You can speedup your bots by following next instructions: - Use aiohttp speedups - - Use `cchardet `_ instead of chardet module. + - Use `cchardet `_ instead of the chardet module. - *cChardet* is high speed universal character encoding detector. + *cChardet* is a high speed universal character encoding detector. **Installation:** @@ -94,4 +94,4 @@ You can speedup your bots by following next instructions: $ pip install aiohttp[speedups] -In addition, you don't need do nothing, *aiogram* is automatically starts using that if is found in your environment. +In addition, you don't need do anything, *aiogram* automatically starts using that if it is found in your environment.