Skip to content

Releases: nonebot/plugin-orm

🔖 Release 0.8.3

Choose a tag to compare

@ProgramRipper ProgramRipper released this 01 Jan 11:52
v0.8.3
8eae08b

What's Changed

单数据库模板 (generic)

--- a/migrations/env.py
+++ b/migrations/env.py
@@ -70,6 +70,8 @@ async def run_migrations_online() -> None:
     async with engine.connect() as connection:
         await connection.run_sync(do_run_migrations)

+    await engine.dispose()
+

 if context.is_offline_mode():
     run_migrations_offline()

多数据库模板 (multidb)

--- a/migrations/env.py
+++ b/migrations/env.py
@@ -113,6 +113,7 @@ async def run_migrations_online() -> None:
         raise
     finally:
         await asyncio.gather(*(conn.close() for conn in conns.values()))
+        await asyncio.gather(*(engine.dispose() for engine in engines.values()))


 if context.is_offline_mode():

Full Changelog: v0.8.2...v0.8.3

🔖 Release 0.8.2

Choose a tag to compare

@github-actions github-actions released this 12 Jul 17:13
v0.8.2
e25e449

🔖 Release 0.8.1

Choose a tag to compare

@github-actions github-actions released this 03 Jun 18:45
v0.8.1
317e401

🔖 Release 0.8.0

Choose a tag to compare

@github-actions github-actions released this 25 May 15:11
v0.8.0
3bf667f

Notable Changes

  • 💥 fix!: snake_case data directory
    插件默认数据目录由 $LOCALSTORE_DATA_DIR/nonebot-plugin-orm/ 更改为 $LOCALSTORE_DATA_DIR/nonebot_plugin_orm/. 如果检测到旧默认数据目录的存在, 插件会自动将其移动到新默认数据目录位置.

What's Changed

Full Changelog: v0.7.7...v0.8.0

🔖 Release 0.7.7

Choose a tag to compare

@github-actions github-actions released this 15 Mar 02:34
0b7f1ab

What's Changed

Full Changelog: v0.7.6...v0.7.7

🔖 Release 0.7.6

Choose a tag to compare

@github-actions github-actions released this 09 Aug 08:21
ea60f12

What's Changed

Full Changelog: v0.7.5...v0.7.6

🔖 Release 0.7.5

Choose a tag to compare

@github-actions github-actions released this 18 Jul 11:21
8468906

🔖 Release 0.7.4

Choose a tag to compare

@github-actions github-actions released this 28 Jun 10:28
a813bbd

🔖 Release 0.7.3

Choose a tag to compare

@github-actions github-actions released this 22 May 07:08
b282fc8

🔖 Release 0.7.2

Choose a tag to compare

@github-actions github-actions released this 28 Apr 09:59
d213e34