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:
Alex Root Junior 2021-09-22 00:52:38 +03:00 committed by GitHub
parent 5bd1162f57
commit e4046095d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
223 changed files with 1909 additions and 1121 deletions

3
CHANGES/698.feature Normal file
View 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
View file

@ -0,0 +1 @@
Covered by tests and docs KeyboardBuilder util

4
CHANGES/700.misc Normal file
View 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
View file

@ -0,0 +1 @@
Implemented I18n & L10n support

1
CHANGES/702.misc Normal file
View file

@ -0,0 +1 @@
Replaced all :code:`pragma: no cover` marks via global :code:`.coveragerc` config

4
CHANGES/703.misc Normal file
View 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`