Commit graph

1767 commits

Author SHA1 Message Date
Alex Root Junior
4fb77a3a2a
Added possibility to combine filters or invert result (#895)
* Added possibility to combine filters or invert result
2022-04-24 04:19:19 +03:00
Alex Root Junior
7bfc941a1e
Fixed typy in WebApp docs page 2022-04-19 22:26:43 +03:00
Alex Root Junior
781e30c25b
Fixed changelog 2022-04-19 22:18:10 +03:00
Alex Root Junior
0d650fc38c
Release 3.0.0-beta.3 2022-04-19 22:16:35 +03:00
Alex Root Junior
497436595d
[3.x] Bot API 6.0 (#890)
* Base implementation

* Bump license

* Revert re-generated tests

* Fix tests, improved docs

* Remove TODO

* Removed unreachable code

* Changed type of `last_synchronization_error_date`

* Fixed wrongly cleaned code
2022-04-19 22:03:24 +03:00
Alex Root Junior
286cf39c8a
Beta 3 (#884)
* Rework middlewares, separate management to `MiddlewareManager` class

* Rework middlewares

* Added changes description for redis

* Added changes description for redis

* Fixed tests with Redis // aioredis replacement

* Changed msg.<html/md>_text attributes behaviour

* Added changelog for spoilers

* Added possibility to get command magic result as handler arguments
2022-04-16 19:07:32 +03:00
Michael
930bca0876
Fixed path of I18n Class (#879)
The I18n Class gets imported in 3.0.0b2 as follows:
from aiogram.utils.i18n import I18n

Whereas the documentation implies that it should be:
from aiogram.utils.i18n.code import I18n
2022-04-11 04:08:27 +03:00
Alex Root Junior
e8432d38f5
Add comment when PR is labeled 2022-04-11 04:06:39 +03:00
Alex Root Junior
7ae588d4b8
Delete comment when pull request is labeled 2022-04-11 03:59:09 +03:00
layerqa
370cd27471
Dispathcer to Dispatcher on docs (#881) 2022-04-11 03:34:24 +03:00
Alex Root Junior
1e5d231869
Update changelog action, try to fix PR from external repositories 2022-04-11 03:31:37 +03:00
Oleg A
ffe9506dc5
parse_mode should be UNSET instead of None (#877)
* fix: parse_mode should be UNSET instead of None

#876

* docs: add changelog

* docs: fixed changelog name

* fix: changelog typo fix
2022-04-06 04:19:31 +03:00
Alex Root Junior
b8aa03bc38
Added changelog changed validator (#873)
* Added changelog changed validator
2022-03-27 01:36:05 +02:00
Alexey
baf31a531a
Update aiohttp.rst (#872)
fix import
2022-03-26 17:55:08 +02:00
Gabben
a37bbba38c
Fix docs and examples (#864)
* Update magic_data Allowed handlers

* Fix ChatMemberUpdated example

* Fix examples with `.in_(...)` and delete with `@`

* Fix commands in examples

* Change List to Set
2022-03-26 17:30:46 +02:00
Oleg A
b50500e28d
fix: i18n User.language_code is optional (#871)
user.language_code is Optional and may raise an exception

#870
2022-03-26 17:22:11 +02:00
Gabben
79588b7c5d
Fix I18nMiddleware class (#859) 2022-03-05 02:33:45 +02:00
Alex Root Junior
880dd153d3
Build changelog 2022-02-19 02:01:23 +02:00
Alex Root Junior
7776cf9cf6
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
2022-02-19 01:45:59 +02:00
Jasur Yusupov
ac7f2dc408
Update README.rst (#840)
* Update README.rst

 - Correct spelling
 - Correct grammar mistakes
 - Improve sentences

* Update README.rst

Bring back the line "Breaking News"
2022-02-19 00:50:17 +02:00
darksidecat
1b8e22d90f
Fix: close #822 Fix exception filter (#827)
* fix exceptions filters

* Update CHANGES/827.bugfix

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2022-02-12 01:38:01 +02:00
Gabben
c705858421
Update index.rst (#808) 2022-01-26 23:26:07 +02:00
ksivaa
6567fefc4b
Correct grammar errors (#811)
* 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>
2022-01-26 20:30:27 +02:00
Daniil Kovalenko
6e39f9fada
Fix unexpected behavior of sequences in StateFilter (#791)
* Fix sequence check behavior in StateFilter

* Add sequence cases to StateFilter tests

* Add the changelog
2021-12-29 03:39:28 +02:00
Alex Root Junior
7c14a6b16b
#785: Added possibility to pass kwargs into webhook handler (#789) 2021-12-19 06:18:55 +02:00
Alex Root Junior
76ae5c4415 Bump classifiers 2021-12-12 19:06:29 +02:00
Alex Root Junior
1634dc1162 Bump version, small changes in docs 2021-12-12 18:59:57 +02:00
Alex Root Junior
2620a6547c Rework session DI and files path wrapper 2021-12-12 18:15:36 +02:00
Andrey Tikhonov
1357a7a91b
Check destiny in case of no with_destiny (#776)
* cehck if destiny is default

* Test testiny check

* reformat
2021-12-12 17:54:01 +02:00
Alex Root Junior
9ec689b562
[3.x] Bot API 5.5 (#777)
* Re-generate API, cover changes

* Added patchnotes
2021-12-12 17:21:01 +02:00
Gabben
92ec44d8d2
Typo fix (#774) 2021-12-11 01:00:42 +02:00
Koala Ilya
24a805d517
spelling error fixed (#749) 2021-12-01 02:43:57 +02:00
Daniil Kovalenko
a48a32ad16
Fix ChatMemberHandler import in __init__.py (#751)
* Fix ChatMemberHandler import in __init__.py
2021-11-24 18:20:55 +02:00
Alex Root Junior
812fb87d67 Bump version (Maybe can be bumped to beta stage before release) 2021-11-24 06:31:49 +02:00
Alex Root Junior
d7be55bc58
Extended MagicFilter with aiogram-specific operation (#759)
* Extend MagicFilter with aiogram-specific operation

* Added tests

* Added changes annotation and update docs
2021-11-24 06:00:37 +02:00
Alex Root Junior
092b3f06f2 Fixed changelog formatting 2021-11-11 00:39:25 +02:00
Alex Root Junior
dee274c0f5 Bump changelog. 2021-11-10 23:58:50 +02:00
darksidecat
19aa498682
Fix resolve filters chain (#736)
* filter resolving don`t need children routers filters

* add patchnote

* Rename 735.bugfix to 736.bugfix

* add tests for routers chains

* delete unused Router.chain property
2021-11-08 23:27:20 +02:00
Alex Root Junior
1c2c7fd88c
Webhook integration in 3.0 (#737)
* Added base webhook implementation and example
* Added example
* Enable on_startup callback
* Correctly handle response into webhook (silent call)
* Fixed State filter
2021-11-08 23:20:12 +02:00
Alex Root Junior
e0ab7d8bd3 Use datetime type for date fields, update aiohttp version 2021-11-08 03:48:34 +02:00
Alex Root Junior
9b43a33b7f
Dev 3.x api 5.4 (#744)
* 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
2021-11-08 02:37:37 +02:00
Alex Root Junior
3ad16be507
Implemented handler flags feature (#728)
* Implemented handler flag feature

* Cover tests
2021-10-25 23:37:14 +03:00
darksidecat
5f07cb3d06
Close bots sessions after emit_shutdown (#734)
* Close bots sessions after emit_shutdown

* avoid unclosed connections if get exception in emit_shutdown

* add patchnote
2021-10-23 01:04:54 +03:00
darksidecat
42cba8976f
Bound filters resolving rework, filters with default argument (#727)
* 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>
2021-10-12 22:29:57 +03:00
Alex Root Junior
f97367b3ee More docs 2021-10-12 01:11:53 +03:00
Alex Root Junior
3931253a88 Added changelog for recent changes 2021-10-11 01:44:55 +03:00
Alex Root Junior
7c6cf3c122 Rework FSM storage key 2021-10-11 01:30:19 +03:00
Alex Root Junior
8c4d4ef30a Fix I18n context for error handlers 2021-10-11 01:29:53 +03:00
Alex Root Junior
c3cdd75ede Update README and docs main page 2021-10-11 01:29:06 +03:00
Alex Root Junior
3f2bcbd8d1 Added MagicData filter 2021-10-11 01:27:07 +03:00