Commit graph

1787 commits

Author SHA1 Message Date
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
Daria
b93b75804c
UA translation of index.po, download_file.po & upload_file.po from Bot API (#1080) 2022-12-15 21:34:46 +02:00
Daria
49f4c9d3bd
UA translation of class based handlers docs (#1076) 2022-12-15 21:34:36 +02:00
Daria
a0dbbcfd5d
UA translation of router & dispatcher docs 2022-12-10 21:13:28 +02:00
Alex Root Junior
4497b62910
Added lost files 2022-12-10 21:10:16 +02:00
Alex Root Junior
3ea73fbbbd
Add missing shortcuts, new enums, reworked old stuff (#1070)
* Render shortcuts

* Render docs

* Added enumerations

* Added docs

* Use enums, removed Helper

* Bump butcher

* Added InputMediaType enum

* Added MaskPositionPoint, InlineQueryResultType enums

* Update texts

* Added StickerType enum

* Cover tests

* Update docs

* Fixed imports

* Re-enabled all pre-commit hooks
2022-12-04 03:05:49 +02:00
Alex Root Junior
3438d2446d
Bump butcher 2022-11-21 01:12:50 +02:00
Alex Root Junior
d034c1ba9f
Adding new code-generator (Butcher) (#1069)
* Re-generate types

* Re-generate methods (only attributes)

* Added enums

* Base init generator

* Added butcher configs

* Fixed tests, bump butcher

* Added changelog

* Added enum docs

* Added templates for docs index

* Re-generate bot class, remove deprecated methods
2022-11-21 01:06:55 +02:00
Alex Root Junior
c7779abc50
Bump version 2022-11-19 20:32:36 +02:00