Skip to content

PyMilvus 2.4.11 Release Notes

Compare
Choose a tag to compare
@XuanYang-cn XuanYang-cn released this 20 Dec 11:27
· 9 commits to 2.4 since this release
cca72b5

New Features

Support AsyncIO (EXPERIMENTAL)

Introducing the native asyncio client in PyMilvus: AsyncMilvusClient. While only a subset of APIs is currently supported, this marks a significant step forward for PyMilvus. Enjoy exploring it!

import asyncio

from pymilvus import MilvusClient, AsyncMilvusClient, DataType


async def main():
    URI = "./milvus.db"
    async_client = AsyncMilvusClient(uri=URI)
    await async_client.create_collection("async_example", dimension=768)
    await async_client.drop_collection("async_example")


if __name__ == "__main__":
    asyncio.run(main())

Other new features

Enhancements

Bug fixes

  • fix: Unify logger and correct logging settings (#2397) by @XuanYang-cn in #2402
  • fix: fix list aliases rpc call and grant/revoke v2 by @shaoting-huang in #2404
  • fix: Add is_clustering params for get_compaction_plans in orm by @xiaocai2333 in #2429
  • fix: fix describe database return type by @JsDove in #2453
  • fix: resolve conflicts and update connections.py by @brcarry in #2462
  • fix: add authorization_interceptor and db_interceptor to async channel by @brcarry in #2472
  • fix: ensure create_index and load_collection are fully completed by @brcarry in #2477

Full Changelog: v2.4.10...v2.4.11