Alex Root Junior
4729978c60
Add context manager support for bot client ( #1468 )
...
* Add context manager support for bot client
The bot client now supports the context manager protocol, providing automatic resource management. This enhancement helps to automatically close the session when leaving the context, which cleans up resources better. The documentation and tests have been updated accordingly to illustrate this new feature. Moreover, an example of usage without a dispatcher has been provided to clarify its use in simple cases.
* Added changelog
2024-04-22 23:42:47 +03:00
Alex Root Junior
56f0d9d220
Migration guide 2.x -> 3.0 ( #1143 )
...
* Initial commit for docs cleanup
* Update migration guide
* More docs
* Added changes description
* Small fixes
2023-07-29 22:36:12 +03: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
c3cdd75ede
Update README and docs main page
2021-10-11 01:29:06 +03:00
Alex Root Junior
e4046095d7
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
2021-09-22 00:52:38 +03:00
Alex Root Junior
9114abe919
towncrier integration (#647 )
...
* Added towncrier and clone changelog from GitHub Releases page
* Added record to changelog
* Extended makefile
* Fix typo
* Changed ref in changelog
* Auto-confirm towncrier question on build
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2021-08-01 19:08:03 +03:00
Alex Root Junior
e5a7c69e17
Bump version
2021-08-01 01:09:43 +03:00
Alex Root Junior
eee6589a2c
Change Python version in docs index
2021-06-19 02:56:04 +03:00
Alex Root Junior
9451a085d1
Added codecov badge
2021-05-13 22:23:49 +03:00
Alex Root Junior
e1cd7268a1
Remove MkDocs
2021-05-13 00:13:09 +03:00