Towncrier build

This commit is contained in:
Alex Root Junior 2023-02-19 18:10:11 +02:00
parent 7efec4a5df
commit 46218b8696
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
4 changed files with 60 additions and 19 deletions

View file

@ -19,6 +19,35 @@ Changelog
3.0.0b7 (2023-02-18)
=====================
.. warning::
Note that this version has incompatibility with Python 3.8-3.10 in case when you create an instance of Dispatcher outside of the any coroutine.
Sorry for the inconvenience, it will be fixed in the next version.
This code will not work:
.. code-block:: python
dp = Dispatcher()
def main():
dp.run_polling()
main()
But if you change it like this it should works as well:
.. code-block:: python
router = Router()
async def main():
dp = Dispatcher()
dp.include_router(router)
asyncio.run(main())
Features
--------