Commit graph

1795 commits

Author SHA1 Message Date
Alex Root Junior
2c756a1689
Update API docs 2023-04-08 18:31:38 +03:00
RootShinobi
dbaf6fabcb
storage cleanup (#1144)
* storage cleanup

* storage cleanup
2023-04-08 18:01:11 +03:00
Daniil
d8a977f357
fix(docs): fix wrong page link in docs (#1154) 2023-04-08 17:54:08 +03:00
Desiders
46a7beb668
Change InlineQueryResultType.MPEG to more correct (#1146)
* Change `InlineQueryResultType.MPEG` to `InlineQueryResultType.MPEG4GIF`

* Change regexp for parse entities

* Use code generator to fix types

* Add changelog
2023-04-08 17:41:00 +03:00
Andrey Tikhonov
268b7e759d
skip if current router does not have observer for custom event (#1147)
* skip if current router does not have observer for custom event

* Test custom event in router

* Feature changelog file

* fix style
2023-04-08 17:39:48 +03:00
Max Kotsiuruba
99cf7028ec
Update deep_linking basic examples (#1151) 2023-04-08 17:38:56 +03:00
Łukasz Tshipenchko
6efef7137c
Resolve #1155: Different signature of startup/shutdown events on polling and webhooks (#1156)
* Code refactor
- Use 'or' istead of 'A if A else B'
- Raise new error from catched error: raise Error from e

* Fixed signature of startup/shutdown events
- Include the **dispatcher.workflow_data as the handler arguments
2023-04-08 17:38:11 +03:00
Alex Root Junior
5a99b78292
Fixed aiogram/filters/magic_data.py:21:41: C416 Unnecessary dict comprehension (rewrite using dict()) 2023-04-08 17:31:15 +03:00
Alex Root Junior
fea1b7b0a3
Reworked request builder (#1142)
* Reworked request builder

* Added more default values

* Update tests

* Fixed timestamp

* Fixed Py3.8 support

* Describe changes
2023-03-11 20:46:36 +02:00
Alex Root Junior
924a83966d
Update butcher - Added deprecation mechanism to schema and codegen 2023-03-11 17:43:01 +02:00
Alex Root Junior
f6020476e6
Update schema 2023-03-11 17:43:01 +02:00
Alex Root Junior
6570d0bab1
Bot API 6.6 (#1139)
* Added basic support of Bot API 6.6

* Update descriptions

* Added StickerFormat enum

* Bump version

* Refresh from docs

* Fixed CommandStart

* Fixed files uploading

* Cover new functionality

* Added changelog

* Update texts
2023-03-11 02:17:47 +02:00
Evgenii Petrovich
5adaf7a567
Update upload_file.rst | tiny grammar typos (#1133)
* Update upload_file.rst

small grammar typos

* changelog
2023-02-25 17:51:54 +02:00
Alex Root Junior
1098ac547b
Prettify disclaimer 2023-02-19 19:13:30 +02:00
Alex Root Junior
eb7a9f5cc8
Change version number in disclaimer 2023-02-19 18:24:15 +02:00
Alex Root Junior
295fae6905
Reformat disclaimer in changelog 2023-02-19 18:20:10 +02:00
Alex Root Junior
46218b8696
Towncrier build 2023-02-19 18:10:11 +02:00
Alex Root Junior
7efec4a5df
Towncrier build 2023-02-18 15:54:31 +02:00
Alex Root Junior
753954adb0
Update changelog 2023-02-18 15:52:39 +02:00
Alex Root Junior
d0b7135ca6
Reworked graceful shutdown (#1124)
* Reworked graceful shutdown

* Remove special errors from polling process

* Update dependencies

* Coverage

* Added changelog
2023-02-18 15:46:28 +02:00
Alex Root Junior
a332e88bc3
Fixed lines in FSM example 2023-02-13 00:55:53 +02:00
imsLmaooo
dc7c99763e
update ua docs: patch api/enums/*.po (#1126) 2023-02-12 22:05:17 +02:00
imsLmaooo
157df969d3
UA translation of chat_action.po from Bot Api (#1123)
* Update Ukrainian docs localization

* Update Ukrainian docs localization
2023-02-12 14:02:40 +02:00
Alex Root Junior
dc88a8c903
Removeseparators in readme 2023-02-12 03:19:31 +02:00
Alex Root Junior
2bec079158
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2023-02-12 03:19:01 +02:00
Alex Root Junior
0cec389a32
Update badges 2023-02-12 03:18:53 +02:00
Dmitry Anfimov
184ee1fbf8
[3.x] Check status code when downloading file (#1079)
* Check status code when downloading file and raise an error if someting bad happends

* Style fixes

* Add doc

* Use "towncrier create <issue>.<type>" for creating file
2023-02-12 02:56:11 +02:00
Alex Root Junior
94e11ce8e9
Small typo fix 2023-02-12 02:02:42 +02:00
Alex Root Junior
58868ec627
Added possibility to reply into webhook with files (#1120) 2023-02-12 02:00:42 +02:00
Alex Root Junior
84bc0e347b
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2023-02-12 01:27:39 +02:00
sheldy
bac90c8fa7
add new method for Router (#1117)
* add new method for Router

* add type hint, tests, changes file

* update tests

* Update aiogram/dispatcher/router.py

* Update tests/test_dispatcher/test_router.py

* Update router.py

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2023-02-12 01:26:49 +02:00
Alex Root Junior
56097d6b53
Bump dependencies 2023-02-12 01:24:18 +02:00
Alex Root Junior
e8d279c8f2
Bump API version 2023-02-07 22:42:57 +02:00
Alex Root Junior
021ae5626f
Replaced error TypeError: TelegramEventObserver.__call__() got an unexpected keyword argument '<name>' with a more understandable (#1114)
* Explain why keyword filters is not supported

* Added changelog
2023-02-05 16:13:06 +02:00
Alex Root Junior
d07e8fc407
Extended logic filter arguments 2023-02-04 20:14:15 +02:00
Alex Root Junior
f704922fe2
Update changelog 2023-02-04 20:09:51 +02:00
Alex Root Junior
8a9cabb3df
Update codecov action 2023-02-04 19:57:48 +02:00
Alex Root Junior
e59d4652bf
Added full support of Bot API 6.5 (#1112)
* Added full support of Bot API 6.5

* Shut up, linters (Fixed errors)

* Oops. Added lost files.

* Fixed tests

* Added changes description

* Update description from docs

* Fixed anchors

* Update Butcher

* Added danger zone to changelog

* Type
2023-02-04 19:53:32 +02:00
Alex
3428924d63
ignore_case fix for aiogram.filters.command.Command() (#1107)
* ignore_case fix

* Create 1106.bugfix.rst

* better fix, added tests

* Update 1106.bugfix.rst

* fix, attempt to satisfy the linter

* not on purpose, single quotes in tests
2023-02-04 19:52:36 +02:00
Alex Root Junior
fad45c66aa
Update .readthedocs.yml
3.10 was missing at ReadTheDocs
2023-01-12 11:55:43 +02:00
Alex Root Junior
f4ce4431f9
Migrate to hatchling (#1095)
* Migrate to hatchling instead of poetry, ruff instead of flake8

* Migrate to hatchling instead of poetry, ruff instead of flake8

* Update tests suite

* venv?

* -m venv?

* Change dependencies

* Remove venv

* Change mypy config

* Added changelog

* Mark uvloop incompatible with pypy

* Update release script

* Use internal caching for dependencies

* Re-disable cov branches

* Added contributing guide
2023-01-12 02:49:58 +02:00
Alex Root Junior
04ccb390d5
Callback answer feature (#1091)
* Added callback answer feature

* Fixed typehints and tests

* Make context manager in tests compatible with Python 3.8
2023-01-08 16:49:34 +02:00
Alex Root Junior
2e59adefe6
Update docs 2023-01-07 23:52:33 +02:00
Alex Root Junior
d5f3e30215
Clean bot class & texts 2023-01-07 23:25:30 +02:00
Alex Root Junior
ea0987e7d9
Added lost text files 2023-01-07 22:42:01 +02:00
Alex Root Junior
c5f3569471
Update from API docs 2023-01-07 22:41:36 +02:00
Alex Root Junior
d8e943424a
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2023-01-07 22:36:09 +02:00
Alex Root Junior
730485e43a
Added full support of Bot API 6.4 (#1088)
* Remove warnings about pytest asyncio mode

* Update Bot API to 6.4

* Bump version

* Added changelog

* Update translations
2022-12-30 22:44:25 +02:00
Alex Root Junior
da0fb50e39
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2022-12-30 22:07:19 +02:00
Alex Root Junior
655b3a2d48
Remove warnings about pytest asyncio mode 2022-12-30 16:10:06 +02:00