evgfilim1
6a758f9817
Fix conditions
2022-08-22 12:58:33 +05:00
evgfilim1
1c5ce0eb77
Put environment info (IS_PYPY, IS_WINDOWS) into environment variables
2022-08-22 12:54:29 +05:00
evgfilim1
a69ae54bb0
Update README, add changelog
2022-08-22 11:46:32 +05:00
evgfilim1
352ae1febb
Fix condition
2022-08-20 19:05:06 +05:00
evgfilim1
b1e66a993e
Update tests.yml, revert changes in test files
...
Add and improve step names
Merge "Lint code" and "Check code-style" steps
Don't install uvloop on macos when running on pypy
Don't run tests with coverage on pypy
Remove test timeout adjustments
2022-08-20 18:32:54 +05:00
evgfilim1
9cdb5e8128
Try to fix uvloop build errors on macos-latest (3)
2022-08-20 17:18:23 +05:00
evgfilim1
393d9f6829
Increase timeout even more
2022-08-19 14:16:37 +05:00
evgfilim1
bf1abfcdc6
Adjust timeout when testing on pypy (2)
2022-08-19 13:59:45 +05:00
evgfilim1
f16ef5ab5a
Try to fix uvloop build errors on macos-latest (2)
2022-08-19 13:58:31 +05:00
evgfilim1
08f13262c0
Try to fix uvloop build errors on macos-latest
2022-08-19 13:29:49 +05:00
evgfilim1
3e0b292632
Adjust timeout when testing on pypy
...
Running the tests with coverage pytest plugin makes some tests run slower than expected
2022-08-19 13:29:49 +05:00
evgfilim1
0e0f8fe01b
Fix quoting in Poetry installation script
2022-08-19 13:29:49 +05:00
evgfilim1
14385a1e4f
Quote conditions in tests workflow file
2022-08-19 13:29:48 +05:00
evgfilim1
50aade8293
Workaround symlink() is not implemented for PyPy on Windows
2022-08-19 13:29:48 +05:00
evgfilim1
d061538471
Run tests on PyPy ( #984 )
...
Remove unnecessary `jobs.build.strategy.max_parallel` attribute
2022-08-19 13:29:48 +05:00
Alex Root Junior
3f57c69d4f
Fixed changelog // 2
2022-08-14 19:54:28 +03:00
Alex Root Junior
35533c57f1
Whitespace in changelog
2022-08-14 19:17:09 +03:00
Alex Root Junior
1b9e666557
Update docs
2022-08-14 18:54:43 +03:00
Alex Root Junior
0e0dbe7e59
Deprecate filters factory ( #976 )
...
* Deprecate filters factory
* Added changelog
* Update filters usage in docs and examples
2022-08-14 18:40:41 +03:00
Alex Root Junior
c1341ba2df
Added support of Bot API 6.2 ( #975 )
...
* Added support of Bot API 6.2
* Added changelog
* Update tests
* Update API version
* Update dependencies, pre-commit config
* Added pytest config
2022-08-14 16:32:29 +03:00
Alex Root Junior
4315ecf1a2
Dev 3.x flat package ( #961 )
...
* Move packages
* Added changelog
* Update examples/echo_bot.py
Co-authored-by: Oleg A. <t0rr@mail.ru>
* Rename `handler` -> `handlers`
* Update __init__.py
Co-authored-by: Oleg A. <t0rr@mail.ru>
2022-08-14 01:07:52 +03:00
Daniil Kovalenko
5e7932ca20
Fix default lock kwargs in RedisEventIsolation ( #972 )
...
* Fix default lock kwargs in RedisEventIsolation
* Add changelog
2022-08-09 19:48:37 +03:00
ShiroNoHaga
851f7a2a37
Add class helper ChatAction ( #803 )
...
* Add class helper ChatAction
* Change using helper to using enum.Enum
* Add test for class ChatAction
* Use black formatting
* Add pull request description to CHANGES
* Add test coverage
* Use AutoName class for enum values
* Move `AutoName` to separate file
* Move inheritance from `str`
* Fix failing mypy
* Delete old actions
Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
2022-07-09 23:47:11 +03:00
darksidecat
bc5b26de5f
Add __eq__ and __hash__ methods to State class ( #928 )
...
* Fix the ability to copy the state, now copying the state will return the same state.
* reformat
* full implement deepcopy with memo dict, add typehints
* Update aiogram/dispatcher/fsm/state.py
Co-authored-by: Oleg A. <t0rr@mail.ru>
* update tests
Co-authored-by: Oleg A. <t0rr@mail.ru>
* remove deepcopy in tests
Co-authored-by: Oleg A. <t0rr@mail.ru>
* remove deepcopy method
Co-authored-by: Oleg A. <t0rr@mail.ru>
* update changes description
Co-authored-by: Oleg A. <t0rr@mail.ru>
* update __eq__ method
Co-authored-by: Oleg A. <t0rr@mail.ru>
* add typehints, tests
* return False for not equal objects
creating FilterObject use getfullargspec that check State equality with `type` and `object` builtins, raising Error in `__eq__` method of State break this behavior
* return NotImplemented for other types
* use `!=` instead of 'not x == y' in tests
Co-authored-by: Oleg A. <t0rr@mail.ru>
2022-07-08 02:26:49 +03:00
Evgen Fil
416460e013
Skip running tests when there are no code or test changes ( #948 )
...
* Skip running tests when there are no code or test changes
* Allow config file changes to trigger tests
2022-06-26 19:16:17 +03:00
Evgen Fil
2cb0fd1c4b
Improve changelog check action ( #949 )
...
Make check faster when `skip news` label is present
Add `name:` root field
2022-06-26 16:22:32 +03:00
Oleg A
70088cdd65
Add full_name shortcut for Chat ( #929 )
...
Added full_name for Chat
2022-06-26 01:50:27 +03:00
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