* Update magic_data Allowed handlers
* Fix ChatMemberUpdated example
* Fix examples with `.in_(...)` and delete with `@`
* Fix commands in examples
* Change List to Set
* 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
* Correct grammar errors
* Return punctuation and line break to the original
* Update docs/dispatcher/router.rst
Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
* Re-generate API
* Added new modules
* Added handling new event type and approve/decline aliases for ChatJoinRequest
* Fixed code-coverage
* Bump API version
* Added patch-notes
* bound filters resolving rework, filters with default argument
* bound filters resolving rework, filters with default argument
* Update 727.misc
* clarification of the comment about skipping filter
* fix data transfer from parent to included routers filters
* fix checking containing value in generator
* Update docs/dispatcher/filters/index.rst
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Update 727.misc
* reformat
* better iterable types
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Regenerate API
* Update code
* Fixed command filter for photos
* Fix tests so they are able to run
* Test new and renamed API methods
* Reformat files
* Fix outer_middleware resolution (#637) (#640)
* Fix outer_middleware resolution (#637)
* Reformat files
* Reorder routers when resolve middlewares
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Added possibility to use empty callback data factory filter
* Rename KeyboardConstructor to KeyboardBuilder
* Fixed type
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
* Regenerate corresponding to Bot API 5.1
* Added base of FSM. Markup constructor and small refactoring
* Fix dependencies
* Fix mypy windows error
* Move StatesGroup.get_root() from meta to class
* Fixed chat and user constraints
* Update pipeline
* Remove docs pipeline
* Added GLOBAL_USER FSM strategy
* Reformat code
* Fixed Dispatcher._process_update
* Bump Bot API 5.2. Added integration with MagicFilter
* Coverage
Upgrade architecture + 5.0 Bot API (#469)
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
* feat(proxy): proxy for aiohttp,base sessions
Add support for proxies in aiohttp session with aiohttp_socks library,
edit BaseSession class to support proxies for other sessions in future.
* fix(annotation): missing underscore before "private" typevar
* chore: remove redundant of proxy_url schema for socks version
* test: add missing test
Add missing test, remove BaseSession.cfg and switch to
implementing class' "private" traits, add aiohttp_socks in dependency list as
optional and extra.
* feat(session):
Implement asyncio session for requests [wip]
* feat(proxy chain): Chained proxy support in aiohttp session
Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.
* style(mypy): apply linter changes
* tests(mock): remove await for magic mock
* fix dangling dependency
* refactor(generic):
get rid of generic behaviour for base session