aiogram/docs
kievzenit 99fa2460da
Migrate motor to pymongo (#1705)
* migrated mongo storage from using deprecated motor to PyMongo

* added storages to __init__.py file to improve DX

* changelog file created

* Revert "added storages to __init__.py file to improve DX"

This reverts commit 5d0f6a9dfb.

* added optional dependency to pymongo to pyproject.toml

* Revert "migrated mongo storage from using deprecated motor to PyMongo"

This reverts commit 1c0207e1d1.

* added deprecation warning to mongo storage

* created pymongo storage

* added entry for PyMongoStorage to documentation in fsm.storages

* updated changelog to have information about how to migrate from MongoStorage to PyMongoStorage

* added test for pymongo storage (copied from mongo storage test)

* fixed formatting using black and isort

* fixed bug in close method of PyMongoStorage (client close method was not awaited)

* added test for PyMongoStorage that checks if storage could be properly closed

* pymongo package changed to be lower case in PyMongoStorage

* added fixture registration for pymongo storage

* test for pymongo is now using proper test fixtures

* removed redundant call to get_data, because we have checked this condition in the previous line

* added more tests to pymongo test, to check for all possible cases of using update_data method

* fixed PyMongoStorage update_data method implementation

* added pymongo tests to test_storages

* fixed pymongo tests, update_data method should not delete document when {} was passed

* Revert "fixed PyMongoStorage update_data method implementation"

This reverts commit 86170e1cb9.

* fixed linting issues in PyMongoStorage

* changed allowed versions of pymongo, to be compatible with motor

* pinned the upper version of pymongo to <4.11
2025-08-17 19:16:47 +03:00
..
_static More docs 2021-10-12 01:11:53 +03:00
api Added full support for the Bot API 9.2 (#1720) 2025-08-17 19:07:58 +03:00
dispatcher Migrate motor to pymongo (#1705) 2025-08-17 19:16:47 +03:00
locale/uk_UA/LC_MESSAGES Update Ukrainian translation files to match latest API changes (#1650) 2025-03-08 03:02:33 +02:00
utils Update deep linking documentation and bump version to 3.19.0 2025-03-19 21:04:48 +02:00
changelog.rst towncrier integration (#647) 2021-08-01 19:08:03 +03:00
conf.py Added full support of Bot API 8.1 (#1617) 2024-12-14 19:30:12 +02:00
contributing.rst Added MongoStorage for FSM (#1434) 2024-05-07 22:42:31 +03:00
index.rst Add context manager support for bot client (#1468) 2024-04-22 23:42:47 +03:00
install.rst #1568 Update warning about Arch Linux package in installation docs 2024-09-18 21:21:06 +03:00
make.bat Remove MkDocs 2021-05-13 00:13:09 +03:00
Makefile Remove MkDocs 2021-05-13 00:13:09 +03:00
migration_2_to_3.rst Add chat member tools (#1527) 2024-07-06 20:34:07 +03:00