mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Dev 3.x i18n & improvements (#696)
* Added base code and make code improvements * Auto-exclude coverage for `if TYPE_CHECKING:` * Fixed current coverage * Cover I18n module * Update pipeline * Fixed annotations * Added docs * Move exceptions * Added tests for KeyboardBuilder and initial docs * Remove help generator (removed from sources tree, requires rewrite) * Added patch-notes #698, #699, #700, #701, #702, #703
This commit is contained in:
parent
5bd1162f57
commit
e4046095d7
223 changed files with 1909 additions and 1121 deletions
3
CHANGES/698.feature
Normal file
3
CHANGES/698.feature
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Added support of local Bot API server files downloading
|
||||
|
||||
When Local API is enabled files can be downloaded via `bot.download`/`bot.download_file` methods.
|
||||
1
CHANGES/699.misc
Normal file
1
CHANGES/699.misc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Covered by tests and docs KeyboardBuilder util
|
||||
4
CHANGES/700.misc
Normal file
4
CHANGES/700.misc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
**Breaking!!!**. Refactored and renamed exceptions.
|
||||
|
||||
- Exceptions module was moved from :code:`aiogram.utils.exceptions` to :code:`aiogram.exceptions`
|
||||
- Added prefix `Telegram` for all error classes
|
||||
1
CHANGES/701.feature
Normal file
1
CHANGES/701.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Implemented I18n & L10n support
|
||||
1
CHANGES/702.misc
Normal file
1
CHANGES/702.misc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Replaced all :code:`pragma: no cover` marks via global :code:`.coveragerc` config
|
||||
4
CHANGES/703.misc
Normal file
4
CHANGES/703.misc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Updated dependencies.
|
||||
|
||||
**Breaking for framework developers**
|
||||
Now all optional dependencies should be installed as extra: `poetry install -E fast -E redis -E proxy -E i18n -E docs`
|
||||
Loading…
Add table
Add a link
Reference in a new issue