Bot API 5.7 and some new features (#834)

* Update API, added some new features

* Fixed unknown chat_action value

* Separate events from dispatcher messages

* Disabled cache for I18n LazyProxy

* Rework events isolation

* Added chat member status changed filter, update Bot API 5.7, other small changes

* Improve exceptions in chat member status filter

* Fixed tests, covered flags and events isolation modules

* Try to fix flake8 unused type ignore

* Fixed linter error

* Cover chat member updated filter

* Cover chat action sender

* Added docs for chat action util

* Try to fix tests for python <= 3.9

* Fixed headers

* Added docs for flags functionality

* Added docs for chat_member_updated filter

* Added change notes

* Update dependencies and fix mypy checks

* Bump version
This commit is contained in:
Alex Root Junior 2022-02-19 01:45:59 +02:00 committed by GitHub
parent ac7f2dc408
commit 7776cf9cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 2485 additions and 502 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "aiogram"
version = "3.0.0-beta.1"
version = "3.0.0-beta.2"
description = "Modern and fully asynchronous framework for Telegram Bot API"
authors = [
"Alex Root Junior <jroot.junior@gmail.com>",
@ -37,53 +37,55 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.8"
magic-filter = "^1.0.4"
aiohttp = "^3.8.0"
pydantic = "^1.8.2"
aiofiles = "^0.7.0"
magic-filter = "^1.0.5"
aiohttp = "^3.8.1"
pydantic = "^1.9.0"
aiofiles = "^0.8.0"
# Fast
uvloop = { version = "^0.16.0", markers = "sys_platform == 'darwin' or sys_platform == 'linux'", optional = true }
# i18n
Babel = { version = "^2.9.1", optional = true }
# Proxy
aiohttp-socks = { version = "^0.5.5", optional = true }
aiohttp-socks = {version = "^0.7.1", optional = true}
# Redis
aioredis = { version = "^2.0.0", optional = true }
aioredis = {version = "^2.0.1", optional = true}
# Docs
Sphinx = { version = "^4.2.0", optional = true }
sphinx-intl = { version = "^2.0.1", optional = true }
sphinx-autobuild = { version = "^2021.3.14", optional = true }
sphinx-copybutton = { version = "^0.4.0", optional = true }
furo = { version = "^2021.9.8", optional = true }
sphinx-copybutton = {version = "^0.5.0", optional = true}
furo = {version = "^2022.2.14", optional = true}
sphinx-prompt = { version = "^1.5.0", optional = true }
Sphinx-Substitution-Extensions = { version = "^2020.9.30", optional = true }
towncrier = { version = "^21.3.0", optional = true }
towncrier = {version = "^21.9.0", optional = true}
pygments = { version = "^2.4", optional = true }
pymdown-extensions = { version = "^8.0", optional = true }
pymdown-extensions = {version = "^9.2", optional = true}
markdown-include = { version = "^0.6", optional = true }
Pygments = {version = "^2.11.2", optional = true}
[tool.poetry.dev-dependencies]
ipython = "^7.22.0"
black = "^21.4b2"
isort = "^5.8.0"
flake8 = "^3.9.1"
ipython = "^8.0.1"
black = "^22.1.0"
isort = "^5.10.1"
flake8 = "^4.0.1"
flake8-html = "^0.4.1"
mypy = "^0.910"
pytest = "^6.2.3"
mypy = "^0.931"
pytest = "^7.0.1"
pytest-html = "^3.1.1"
pytest-asyncio = "^0.15.1"
pytest-asyncio = "^0.18.1"
pytest-lazy-fixture = "^0.6.3"
pytest-mock = "^3.6.0"
pytest-mypy = "^0.8.1"
pytest-cov = "^2.11.1"
pytest-aiohttp = "^0.3.0"
aresponses = "^2.1.4"
pytest-mock = "^3.7.0"
pytest-mypy = "^0.9.1"
pytest-cov = "^3.0.0"
pytest-aiohttp = "^1.0.4"
aresponses = "^2.1.5"
asynctest = "^0.13.0"
toml = "^0.10.2"
pre-commit = "^2.15.0"
packaging = "^20.3"
typing-extensions = "^3.7.4"
pre-commit = "^2.17.0"
packaging = "^21.3"
typing-extensions = "^4.1.1"
sentry-sdk = "^1.5.5"
[tool.poetry.extras]