Commit graph

1876 commits

Author SHA1 Message Date
Alex Root Junior
b8893c0971
#944 Rename "extract()" to "extract_from()" for entities (#945)
* #944 Rename "extract()" to "extract_from()" for entities
2022-06-26 01:36:45 +03:00
Alex Root Junior
fadb11515e
Remove deprecated methods (#943)
* #941 Removed deprecated methods
2022-06-25 22:47:08 +03:00
Evgen Fil
2c6d8ed5cb
Automatically put 3.x label on new pull requests to dev-3.x (#940) 2022-06-25 22:31:19 +03:00
Alex Root Junior
247ffbef69
3.x Bot API 6.1 (#937)
Added support of Bot API 6.1
2022-06-25 18:14:29 +03:00
Andrew
adfc89f125
Fix type hints for redis TTL params (#922)
* Allow to use `int` and `datetime.timedelta`

* Fix imports

* Added changelog

* Update CHANGES
2022-06-16 21:43:32 +03:00
Kostiantyn Kriuchkov
b3b320c106
Small typo fix (#920)
* Small typo fix

Changed CommandPatterType to CommandPatternType
Supposedly, the implied word is patterN

* Added to CHANGELOG
2022-06-10 11:48:19 +03:00
Alex Root Junior
824b43c436
#901 Fixed false-positive coercing of Union types in API methods (#912)
* #901 Fixed false-positive coercing of Union types in API methods

* Added default value for force_reply
2022-05-14 17:27:36 +03:00
Aleksandr
6ad242399b
#905 Added 3 missing content types (#906)
* Added 3 missing content types

* Added tests for 3 missing content types

* More tests

* Added changelog
2022-05-13 23:52:13 +03:00
Alex Root Junior
f2e02e2a7c
#896 Restrict including routers with strings (#897)
* #896 Restrict including routers with strings
* Remove imports util, bump dependencies
2022-04-25 21:24:58 +03:00
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