From 8cd58627038bec346dd1902c03d3866535e59f03 Mon Sep 17 00:00:00 2001 From: kievzenit Date: Mon, 21 Jul 2025 19:21:49 +0300 Subject: [PATCH] updated changelog to have information about how to migrate from MongoStorage to PyMongoStorage --- CHANGES/1705.misc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES/1705.misc.rst b/CHANGES/1705.misc.rst index 60fe341b..0173044e 100644 --- a/CHANGES/1705.misc.rst +++ b/CHANGES/1705.misc.rst @@ -1 +1 @@ -Migrated MongoStorage from relying on deprecated motor package to using new async PyMongo. Added BaseStorage, MemoryStorage, MongoStorage, RedisStorage to __init__.py file in aiogram/storage/fsm to improve developer experience. +Migrated `MongoStorage` from relying on deprecated `motor` package to using new async `PyMongo`. To use mongo storage with new async `PyMongo`, you need to install the `PyMongo` package instead of `motor` and just substitute deprecated `MongoStorage` with `PyMongoStorage` class, no other action needed.